sindresorhus / to-rotatedLinks
Rotate an array by a given number of steps
☆45Updated last year
Alternatives and similar repositories for to-rotated
Users that are interested in to-rotated are comparing it to the libraries listed below
Sorting:
- Remove circular references from objects☆93Updated last year
- Check if the system is in low power mode☆66Updated last year
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆165Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated 3 months ago
- Get a random temporary path☆32Updated last year
- Useful utilities for working with Fetch☆91Updated 7 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆222Updated 3 weeks ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated 2 weeks ago
- Check if the process is running in a Continuous Integration (CI) environment☆36Updated last month
- Change the file extension of a path☆38Updated last year
- Merge multiple streams into a unified stream☆57Updated 11 months ago
- Find a file or directory by walking up parent directories — Zero dependencies☆81Updated 3 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆178Updated 2 months ago
- Async mutex lock for managing access to a shared resource☆133Updated 2 months ago
- Serialize objects to JSON with handling for circular references☆158Updated 4 months ago
- Make a regular expression time out if it takes too long to execute☆216Updated last year
- Check if a string is a valid JavaScript identifier☆26Updated last year
- Make a synchronous function have a timeout☆125Updated last year
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Create a transform stream using await instead of callbacks☆70Updated last year
- Check if a directory is empty☆29Updated last year
- A more usable typed storage API for Web Extensions☆71Updated 6 months ago
- Convert a string index to its line and column position☆33Updated last week
- Convert object keys from camel case☆56Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Resolve values based on a JSON schema. Supports conditionals and composition. Useful for configuration, preferences, LLM chat completions…☆13Updated 5 months ago
- Make presentable errors☆60Updated 2 years ago
- Capture screenshots programmatically. Cross-platform, with support for MacOS (Darwin), Windows, and Linux.☆43Updated 2 months ago
- Tiny terminal spinner☆265Updated last week
- Polyfill of `util.parseArgs()`☆124Updated 2 months ago