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 11 months ago
- Find a file or directory by walking up parent directories — Zero dependencies☆80Updated last month
- Extracts the repo URL from a package.json object☆25Updated this week
- Rotate an array by a given number of steps☆44Updated last year
- Remark plugin for adding a custom ID attribute to Markdown headers☆39Updated last year
- Check if a directory is empty☆29Updated 11 months ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated last year
- Check if the operating system CPU architecture is 64-bit or 32-bit (Supports browsers)☆46Updated last year
- Provides a list of reserved identifiers for JavaScript☆20Updated last year
- Change the file extension of a path☆38Updated 10 months ago
- Check if the system is in low power mode☆65Updated 11 months ago
- Useful utilities for working with Fetch☆87Updated 5 months ago
- Convert object keys from camel case☆55Updated last year
- Remove circular references from objects☆94Updated last year
- Merge and normalize adjacent or overlapping integer ranges☆30Updated last year
- Get a random temporary path☆32Updated last year
- Encode and decode Unicode escapes in a string☆43Updated last year
- Check if the process is running inside a container (Docker/Podman)☆74Updated last year
- Some useful utilities I often need☆35Updated 11 months ago
- Merge multiple streams into a unified stream☆57Updated 8 months ago
- Async mutex lock for managing access to a shared resource☆126Updated this week
- Partial JSON parser extracted from OpenAI's vendored version.☆13Updated 8 months ago
- Check if the process is running in a Continuous Integration (CI) environment☆34Updated 11 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆164Updated 9 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆215Updated 10 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆121Updated this week
- Socket SDK for JavaScript / TypeScript☆35Updated this week
- Capture screenshots programmatically. Cross-platform, with support for MacOS (Darwin), Windows, and Linux.☆36Updated 4 months ago
- ☆13Updated last year
- A more usable typed storage API for Web Extensions☆69Updated 3 months ago