sindresorhus / base62
Encode & decode strings, bytes, and integers to Base62
☆84Updated 4 months ago
Related projects: ⓘ
- Rotate an array by a given number of steps☆28Updated 3 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆154Updated last week
- Create a multicast stream that lets multiple consumers independently read the same data☆104Updated 3 weeks ago
- Check if the system is in low power mode☆54Updated last month
- Useful utilities for working with Fetch☆69Updated last month
- A more usable typed storage API for Web Extensions☆61Updated 8 months ago
- Remove circular references from objects☆93Updated 6 months ago
- Get a random temporary path☆31Updated 10 months ago
- Change the file extension of a path☆33Updated last month
- Find a file or directory by walking up parent directories — Zero dependencies☆69Updated 9 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆138Updated 2 months ago
- Tiny process execution for humans — a better child_process☆122Updated this week
- Check if the process is running in a Continuous Integration (CI) environment☆30Updated last month
- A collection of common interactive command line user interfaces.☆17Updated 2 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆205Updated last month
- Merge multiple streams into a unified stream☆52Updated 4 months ago
- Check if a directory is empty☆23Updated last month
- Async mutex lock for managing access to a shared resource☆116Updated last month
- Check if a string is a valid JavaScript identifier☆24Updated 2 months ago
- Convert a string to a valid JavaScript identifier☆39Updated 3 months ago
- Serialize objects to JSON with handling for circular references☆149Updated 2 months ago
- Merge and normalize adjacent or overlapping integer ranges☆30Updated 9 months ago
- Tiny terminal spinner☆148Updated 3 weeks ago
- Polyfill Node.js built-ins for Rolldown☆20Updated last month
- Run TwoSlash on the browsers or web workers, with Auto-Type-Acquisition from CDN.☆32Updated 8 months ago
- Convert a string index to its line and column position☆30Updated 6 months ago
- Remark plugin for adding a custom ID attribute to Markdown headers☆28Updated 3 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆169Updated 8 months ago
- Get the operating system CPU architecture☆35Updated last month
- Bookmarking made simple (WIP)☆21Updated last month