sindresorhus / environmentLinks
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆164Updated 10 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☆215Updated 11 months ago
- Tiny terminal spinner☆247Updated last month
- Encode & decode strings, bytes, and integers to Base62☆87Updated last year
- Create a multicast stream that lets multiple consumers independently read the same data☆122Updated 3 weeks ago
- Check if the system is in low power mode☆65Updated last year
- Remove circular references from objects☆94Updated last year
- Async mutex lock for managing access to a shared resource☆128Updated 3 weeks ago
- Rotate an array by a given number of steps☆44Updated last year
- Useful utilities for working with Fetch☆88Updated 5 months ago
- Serialize objects to JSON with handling for circular references☆157Updated 2 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆260Updated 6 months ago
- A more usable typed storage API for Web Extensions☆70Updated 4 months ago
- Make a synchronous function have a timeout☆125Updated 10 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated last month
- Make a regular expression time out if it takes too long to execute☆216Updated 10 months ago
- A lightweight, no dependency, pluggable CLI spinner library.☆56Updated 3 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- TypeScript declaration (.d.ts) bundler☆138Updated 5 months ago
- Check if a value is a Fetch network error☆145Updated last year
- Make a synchronous function asynchronous by running it in a worker☆251Updated 10 months ago
- Lightweight tsconfig.json parser & paths resolver☆222Updated 2 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆325Updated 5 months ago
- Measure the size of your npm package distribution☆67Updated 3 years ago
- 🌈 a small library to print colourful messages☆61Updated 6 months ago
- ⚡ Extremely fast, smart & configurable DTS emitter.☆117Updated last week
- 📟 A tiny, higher level interface around child_process☆267Updated 2 months ago
- Node CLI or module to calculate folder size☆81Updated 3 months ago
- Promisify server.listen for your HTTP/HTTPS/TCP server.☆50Updated 5 months ago
- Check if the process is running in a Continuous Integration (CI) environment☆35Updated last year