sindresorhus / environmentLinks
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆163Updated 8 months ago
Alternatives and similar repositories for environment
Users that are interested in environment are comparing it to the libraries listed below
Sorting:
- Create a multicast stream that lets multiple consumers independently read the same data☆119Updated 9 months ago
- Remove circular references from objects☆94Updated last year
- Async mutex lock for managing access to a shared resource☆126Updated 9 months ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated last year
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆214Updated 9 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆154Updated last month
- Make a synchronous function have a timeout☆125Updated 8 months ago
- Serialize objects to JSON with handling for circular references☆156Updated 11 months ago
- Tiny terminal spinner☆240Updated last week
- Check if the system is in low power mode☆64Updated 10 months ago
- Rotate an array by a given number of steps☆44Updated last year
- A more usable typed storage API for Web Extensions☆69Updated 2 months ago
- Useful utilities for working with Fetch☆86Updated 3 months ago
- Check if the process is running inside a container (Docker/Podman)☆74Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆257Updated 4 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- TypeScript declaration (.d.ts) bundler☆127Updated 3 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- (Draft) Specifications for `__PURE__` compiler notation et al.☆148Updated 5 months ago
- A set of small Node.js utilities to understand your pathing needs.☆296Updated last month
- Are we fully ESM yet?☆339Updated 3 months ago
- Package manager detector☆117Updated 3 weeks ago
- Tiny process execution for humans — a better child_process☆522Updated last week
- Automatic documentation generator for ESLint plugins and rules.☆97Updated this week
- 📟 A tiny, higher level interface around child_process☆250Updated 2 weeks ago
- Check if a value is a Fetch network error☆140Updated last year
- Get the stack trace of the creation of objects.☆69Updated last year
- Lightweight tsconfig.json parser & paths resolver☆207Updated last week
- A cli tool to make installing packages form jsr.io in node easy☆114Updated 3 months ago
- Make a regular expression time out if it takes too long to execute☆213Updated 8 months ago