sindresorhus / environmentLinks
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆166Updated 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☆224Updated 5 months ago
- Async mutex lock for managing access to a shared resource☆140Updated 7 months ago
- Tiny terminal spinner☆282Updated this week
- Encode & decode strings, bytes, and integers to Base62☆94Updated 4 months ago
- Check if the system is in low power mode☆69Updated last year
- Remove circular references from objects☆100Updated last year
- Useful utilities for working with Fetch☆97Updated 3 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆187Updated 7 months ago
- A more usable typed storage API for Web Extensions☆72Updated 3 weeks ago
- Serialize objects to JSON with handling for circular references☆162Updated last week
- Make a regular expression time out if it takes too long to execute☆220Updated 3 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆162Updated 3 months ago
- Make a synchronous function have a timeout☆127Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆272Updated 2 months ago
- Rotate an array by a given number of steps☆46Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated 2 years ago
- TypeScript declaration (.d.ts) bundler☆144Updated last week
- Check if a value is a Fetch network error☆154Updated 4 months ago
- 🌈 a small library to print colourful messages☆66Updated 5 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆337Updated 11 months ago
- A monorepo of tiny javascript libraries.☆74Updated this week
- Make a synchronous function asynchronous by running it in a worker☆253Updated last year
- Measure the size of your npm package distribution☆74Updated last month
- 🤖 privatenumber's code linter☆33Updated this week
- A lightweight, no dependency, pluggable CLI spinner library.☆62Updated last month
- Check if the process is running inside a container (Docker/Podman)☆78Updated 2 years ago
- ⛳️ Typed command-line arguments parser for Node.js☆209Updated this week
- Get a random temporary path☆35Updated 2 years ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆175Updated 2 years ago
- Covert Oniguruma-flavor Regexp to JavaScript native RegExp.☆61Updated last year