sindresorhus / environmentLinks
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆164Updated last year
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☆222Updated 2 months ago
- Remove circular references from objects☆98Updated last year
- Async mutex lock for managing access to a shared resource☆137Updated 4 months ago
- Encode & decode strings, bytes, and integers to Base62☆91Updated last month
- Check if the system is in low power mode☆68Updated last year
- Create a multicast stream that lets multiple consumers independently read the same data☆182Updated 4 months ago
- Useful utilities for working with Fetch☆94Updated last week
- Tiny terminal spinner☆275Updated last month
- Serialize objects to JSON with handling for circular references☆160Updated 5 months ago
- Make a synchronous function have a timeout☆125Updated last year
- A more usable typed storage API for Web Extensions☆72Updated 7 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆265Updated 2 months ago
- Make a regular expression time out if it takes too long to execute☆218Updated last week
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆156Updated 3 weeks ago
- Rotate an array by a given number of steps☆46Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Check if a value is a Fetch network error☆150Updated last month
- Find a file or directory by walking up parent directories — Zero dependencies☆80Updated 5 months ago
- TypeScript declaration (.d.ts) bundler☆140Updated 3 weeks ago
- Make a synchronous function asynchronous by running it in a worker☆252Updated last year
- 🌈 a small library to print colourful messages☆62Updated 2 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- A lightweight, no dependency, pluggable CLI spinner library.☆57Updated 6 months ago
- 🤖 privatenumber's code linter☆32Updated last week
- Node CLI or module to calculate folder size☆82Updated 3 weeks ago
- Lightweight tsconfig.json parser & paths resolver☆227Updated 2 weeks ago
- Measure the size of your npm package distribution☆68Updated 3 years ago
- Automatic documentation generator for ESLint plugins and rules.☆106Updated 2 weeks ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆333Updated 8 months ago
- A tiny (414B) and fast utility to convert milliseconds to and from strings.☆241Updated last year