sindresorhus / environment
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆159Updated 4 months ago
Alternatives and similar repositories for environment:
Users that are interested in environment are comparing it to the libraries listed below
- Async mutex lock for managing access to a shared resource☆122Updated 5 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆207Updated 5 months ago
- Remove circular references from objects☆95Updated 10 months ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated 8 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆146Updated 2 months ago
- Check if the system is in low power mode☆64Updated 6 months ago
- Useful utilities for working with Fetch☆73Updated 6 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆120Updated 5 months ago
- Tiny terminal spinner☆209Updated last week
- A more usable typed storage API for Web Extensions☆68Updated last month
- Make a synchronous function have a timeout☆124Updated 4 months ago
- Serialize objects to JSON with handling for circular references☆153Updated 7 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆241Updated this week
- Make a regular expression time out if it takes too long to execute☆208Updated 4 months ago
- Get the stack trace of the creation of objects.☆68Updated 8 months ago
- 📟 A tiny, higher level interface around child_process☆164Updated last month
- Check if a directory is empty☆25Updated 6 months ago
- Tiny process execution for humans — a better child_process☆466Updated 3 months ago
- Automatic documentation generator for ESLint plugins and rules.☆95Updated this week
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Check if a value is a Fetch network error☆130Updated 9 months ago
- Are we fully ESM yet?☆316Updated 2 weeks ago
- A collection of common interactive command line user interfaces.☆17Updated 6 months ago
- Lightweight tsconfig.json parser & paths resolver☆195Updated last week
- Promisify server.listen for your HTTP/HTTPS/TCP server.☆48Updated last year
- Simple and fast git helper functions.☆162Updated last week
- Package manager detector☆44Updated last month
- 🌈 a small library to print colourful messages☆53Updated 2 weeks ago
- Rotate an array by a given number of steps☆29Updated 8 months ago