sindresorhus / environmentLinks
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆164Updated 11 months ago
Alternatives and similar repositories for environment
Users that are interested in environment are comparing it to the libraries listed below
Sorting:
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆216Updated last year
- Tiny terminal spinner☆259Updated 2 months ago
- Check if the system is in low power mode☆65Updated last year
- Encode & decode strings, bytes, and integers to Base62☆87Updated last year
- Async mutex lock for managing access to a shared resource☆131Updated last month
- Create a multicast stream that lets multiple consumers independently read the same data☆173Updated last month
- Remove circular references from objects☆94Updated last year
- Serialize objects to JSON with handling for circular references☆157Updated 2 months ago
- A more usable typed storage API for Web Extensions☆71Updated 5 months ago
- Useful utilities for working with Fetch☆90Updated 6 months ago
- Make a synchronous function have a timeout☆125Updated 11 months ago
- Make a regular expression time out if it takes too long to execute☆216Updated 11 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated 2 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆261Updated last week
- Rotate an array by a given number of steps☆45Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- Make a synchronous function asynchronous by running it in a worker☆251Updated 11 months ago
- Check if a value is a Fetch network error☆145Updated last year
- TypeScript declaration (.d.ts) bundler☆140Updated last week
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- 🌈 a small library to print colourful messages☆61Updated 7 months ago
- A lightweight, no dependency, pluggable CLI spinner library.☆57Updated 3 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆328Updated 6 months ago
- 🤖 privatenumber's code linter☆31Updated 3 weeks ago
- Lightweight tsconfig.json parser & paths resolver☆222Updated 3 months ago
- 📟 A tiny, higher level interface around child_process☆275Updated 3 months ago
- Get a random temporary path☆32Updated last year
- Node CLI or module to calculate folder size☆81Updated 3 months ago
- Find a file or directory by walking up parent directories — Zero dependencies☆80Updated 2 months ago
- ⚡ Extremely fast, smart & configurable DTS emitter.☆120Updated last week