sindresorhus / to-rotated
Rotate an array by a given number of steps
☆44Updated 11 months ago
Alternatives and similar repositories for to-rotated:
Users that are interested in to-rotated are comparing it to the libraries listed below
- Check if the system is in low power mode☆64Updated 9 months ago
- Find a file or directory by walking up parent directories — Zero dependencies☆78Updated 2 months ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated last year
- Get a random temporary path☆32Updated last year
- Remove circular references from objects☆94Updated last year
- Check if the process is running in a Continuous Integration (CI) environment☆32Updated 9 months ago
- Convert a string to a valid JavaScript identifier☆40Updated 11 months ago
- Merge and normalize adjacent or overlapping integer ranges☆30Updated last year
- Change the file extension of a path☆38Updated 8 months ago
- Check if a string is a valid JavaScript identifier☆26Updated 9 months ago
- Check if a directory is empty☆28Updated 9 months ago
- Async mutex lock for managing access to a shared resource☆125Updated 8 months ago
- Get the operating system CPU architecture☆37Updated 8 months ago
- A more usable typed storage API for Web Extensions☆69Updated last month
- Convert a string index to its line and column position☆32Updated 3 weeks ago
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 8 months ago
- Useful utilities for working with Fetch☆85Updated 2 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆211Updated 8 months ago
- Merge multiple streams into a unified stream☆56Updated 6 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Capture screenshots programmatically. Cross-platform, with support for MacOS (Darwin), Windows, and Linux.☆28Updated 2 months ago
- A collection of common interactive command line user interfaces.☆17Updated 10 months ago
- Check if the operating system CPU architecture is 64-bit or 32-bit (Supports browsers)☆45Updated 11 months ago
- Provides a list of reserved identifiers for JavaScript☆19Updated last year
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆163Updated 7 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆154Updated last week
- Extracts the repo URL from a package.json object☆23Updated 3 weeks ago
- Socket.dev optimized 📦 overrides✨☆32Updated this week
- Encode and decode Unicode escapes in a string☆43Updated last year
- Create a transform stream using await instead of callbacks☆70Updated last year