sindresorhus / to-valid-identifierLinks
Convert a string to a valid JavaScript identifier
☆41Updated last year
Alternatives and similar repositories for to-valid-identifier
Users that are interested in to-valid-identifier are comparing it to the libraries listed below
Sorting:
- Check if a string is a valid JavaScript identifier☆26Updated last year
- Find a file or directory by walking up parent directories — Zero dependencies☆80Updated last month
- Encode & decode strings, bytes, and integers to Base62☆87Updated last year
- Rotate an array by a given number of steps☆44Updated last year
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆164Updated 10 months ago
- Extracts the repo URL from a package.json object☆26Updated 3 weeks ago
- Remark plugin for adding a custom ID attribute to Markdown headers☆39Updated last year
- Remove circular references from objects☆94Updated last year
- Check if a directory is empty☆29Updated last year
- Change the file extension of a path☆38Updated 11 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆122Updated 3 weeks ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆215Updated 11 months ago
- Check if the operating system CPU architecture is 64-bit or 32-bit (Supports browsers)☆46Updated last year
- Create a transform stream using await instead of callbacks☆70Updated last year
- Useful utilities for working with Fetch☆88Updated 5 months ago
- Make a regular expression time out if it takes too long to execute☆216Updated 10 months ago
- Async mutex lock for managing access to a shared resource☆128Updated 3 weeks ago
- Get a random temporary path☆32Updated last year
- Check whether a file can be executed☆44Updated 2 years ago
- Check if the system is in low power mode☆65Updated last year
- Provides a list of reserved identifiers for JavaScript☆20Updated last year
- Serialize objects to JSON with handling for circular references☆157Updated 2 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆260Updated 6 months ago
- Check if the process is running inside a container (Docker/Podman)☆74Updated last year
- Merge multiple streams into a unified stream☆57Updated 9 months ago
- Make a synchronous function have a timeout☆125Updated 10 months ago
- Convert object keys from camel case☆56Updated last year
- Merge and normalize adjacent or overlapping integer ranges☆30Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated last month
- Measure the size of your npm package distribution☆67Updated 3 years ago