sindresorhus / environmentLinks
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆165Updated last year
Alternatives and similar repositories for environment
Users that are interested in environment are comparing it to the libraries listed below
Sorting:
- Tiny terminal spinner☆265Updated last week
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆222Updated 3 weeks ago
- Remove circular references from objects☆93Updated last year
- Encode & decode strings, bytes, and integers to Base62☆87Updated 2 weeks ago
- Async mutex lock for managing access to a shared resource☆133Updated 2 months ago
- Check if the system is in low power mode☆66Updated last year
- Create a multicast stream that lets multiple consumers independently read the same data☆178Updated 2 months ago
- A more usable typed storage API for Web Extensions☆71Updated 6 months ago
- Useful utilities for working with Fetch☆91Updated 7 months ago
- Make a regular expression time out if it takes too long to execute☆216Updated last year
- Make a synchronous function have a timeout☆125Updated last year
- Serialize objects to JSON with handling for circular references☆158Updated 4 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆264Updated last month
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated 3 months ago
- Rotate an array by a given number of steps☆45Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Check if a value is a Fetch network error☆149Updated last week
- Make a synchronous function asynchronous by running it in a worker☆251Updated last year
- TypeScript declaration (.d.ts) bundler☆140Updated last month
- Get a random temporary path☆32Updated last year
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Lightweight tsconfig.json parser & paths resolver☆225Updated 4 months ago
- Find a file or directory by walking up parent directories — Zero dependencies☆81Updated 3 months ago
- 🌌 Tiniest body parser in the universe. Built for modern Node.js☆200Updated 2 weeks ago
- ☆96Updated 3 weeks ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆328Updated 7 months ago
- Measure the size of your npm package distribution☆68Updated 3 years ago
- 🌈 a small library to print colourful messages☆62Updated 3 weeks ago
- A lightweight, no dependency, pluggable CLI spinner library.☆57Updated 5 months ago
- Automatic documentation generator for ESLint plugins and rules.☆103Updated last week