Convert a string to a valid JavaScript identifier
MIT License
Bot releases are hidden (Show)
Published by sindresorhus 6 months ago
🦄
Convert a URL to a valid filename
Regular expression for matching issue references
Check if a string is a valid filename
Check if something is a generator function
Regular expression for matching JavaScript identifiers
ES2015 Number.isInteger() ponyfill
Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar ...
Slugify a string
Convert a string to a valid safe filename
Provides a list of reserved identifiers for JavaScript
Rename a function
Global identifiers from different JavaScript environments
Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev
Check if a string is a valid JavaScript identifier
Generate a unique random string