sindresorhus / to-rotated
Rotate an array by a given number of steps
☆41Updated 10 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 a string is a valid JavaScript identifier☆27Updated 9 months ago
- Check if the system is in low power mode☆65Updated 8 months ago
- Convert a string to a valid JavaScript identifier☆41Updated 10 months ago
- Encode & decode strings, bytes, and integers to Base62☆89Updated 11 months ago
- Change the file extension of a path☆38Updated 7 months ago
- Check if the process is running in a Continuous Integration (CI) environment☆32Updated 8 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆154Updated 4 months ago
- Useful utilities for working with Fetch☆81Updated 2 months ago
- Remove circular references from objects☆95Updated last year
- Async mutex lock for managing access to a shared resource☆127Updated 7 months ago
- Get a random temporary path☆32Updated last year
- A more usable typed storage API for Web Extensions☆69Updated 3 weeks ago
- Find a file or directory by walking up parent directories — Zero dependencies☆78Updated last month
- Merge multiple streams into a unified stream☆56Updated 5 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆212Updated 7 months ago
- Merge and normalize adjacent or overlapping integer ranges☆30Updated last year
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 7 months ago
- Convert a string index to its line and column position☆33Updated last week
- Check if the operating system CPU architecture is 64-bit or 32-bit (Supports browsers)☆46Updated 10 months ago
- A collection of common interactive command line user interfaces.☆17Updated 9 months ago
- Check if a directory is empty☆27Updated 8 months ago
- Autosizing <input> and <textarea> elements, which expand and shrink to fit contents☆21Updated this week
- Create a transform stream using await instead of callbacks☆70Updated last year
- Socket.dev optimized 📦 overrides✨☆32Updated this week
- Capture screenshots programmatically. Cross-platform, with support for MacOS (Darwin), Windows, and Linux.☆27Updated last month
- Serialize objects to JSON with handling for circular references☆155Updated 9 months ago
- Get the operating system CPU architecture☆37Updated 7 months ago
- Use "cw" in the CLI. No instructions necessary, just hit <enter>. Can also be used as a library. Commit Whisperer is an AI genius for gen…☆19Updated 5 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆162Updated 7 months ago
- An absurdly small glob matcher that packs a punch.☆47Updated last month