sindresorhus / environment
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆162Updated 6 months ago
Alternatives and similar repositories for environment:
Users that are interested in environment are comparing it to the libraries listed below
- Remove circular references from objects☆94Updated last year
- Encode & decode strings, bytes, and integers to Base62☆88Updated 10 months ago
- Async mutex lock for managing access to a shared resource☆124Updated 7 months ago
- Check if the system is in low power mode☆63Updated 7 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 6 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆209Updated 7 months ago
- Tiny terminal spinner☆220Updated 3 weeks ago
- Make a synchronous function have a timeout☆125Updated 6 months ago
- A more usable typed storage API for Web Extensions☆69Updated this week
- Tiny process execution for humans — a better child_process☆481Updated 4 months ago
- Serialize objects to JSON with handling for circular references☆154Updated 8 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆146Updated 4 months ago
- Useful utilities for working with Fetch☆80Updated last month
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆251Updated last month
- Check if a directory is empty☆24Updated 7 months ago
- Find a file or directory by walking up parent directories — Zero dependencies☆78Updated 3 weeks ago
- Make a regular expression time out if it takes too long to execute☆210Updated 6 months ago
- TypeScript declaration (.d.ts) bundler☆120Updated 3 weeks ago
- 📟 A tiny, higher level interface around child_process☆181Updated this week
- Rotate an array by a given number of steps☆29Updated 10 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Get a random temporary path☆32Updated last year
- Are we fully ESM yet?☆339Updated last month
- A 45% faster alternative to node:querystring module☆262Updated 8 months ago
- A collection of common interactive command line user interfaces.☆17Updated 8 months ago
- Lightweight tsconfig.json parser & paths resolver☆202Updated 2 months ago
- A fast and minimal alternative to globby and fast-glob☆307Updated this week
- a minimal npm-compatible package registry☆221Updated 2 months ago
- Promisify server.listen for your HTTP/HTTPS/TCP server.☆49Updated last month