sindresorhus / environmentLinks
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆163Updated 9 months ago
Alternatives and similar repositories for environment
Users that are interested in environment are comparing it to the libraries listed below
Sorting:
- Async mutex lock for managing access to a shared resource☆127Updated 10 months ago
- Remove circular references from objects☆94Updated last year
- Check if the system is in low power mode☆64Updated 10 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆215Updated 10 months ago
- Tiny terminal spinner☆245Updated 2 weeks ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated last year
- A more usable typed storage API for Web Extensions☆70Updated 3 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆119Updated 9 months ago
- Serialize objects to JSON with handling for circular references☆157Updated 3 weeks ago
- Make a synchronous function have a timeout☆125Updated 9 months ago
- Useful utilities for working with Fetch☆86Updated 4 months ago
- Tiny process execution for humans — a better child_process☆533Updated last month
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated this week
- 📟 A tiny, higher level interface around child_process☆262Updated last month
- Rotate an array by a given number of steps☆44Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆258Updated 4 months ago
- TypeScript declaration (.d.ts) bundler☆137Updated 3 months ago
- Make a regular expression time out if it takes too long to execute☆213Updated 9 months ago
- Lightweight tsconfig.json parser & paths resolver☆217Updated last month
- Check if a directory is empty☆29Updated 10 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Check if a value is a Fetch network error☆141Updated last year
- Get the stack trace of the creation of objects.☆69Updated last year
- 🖖🏻 Clerc: The full-featured cli library.☆138Updated last week
- Node CLI or module to calculate folder size☆75Updated last month
- 🌈 a small library to print colourful messages☆59Updated 5 months ago
- A set of small Node.js utilities to understand your pathing needs.☆299Updated this week
- ⚡ Extremely fast, smart & configurable DTS emitter.☆115Updated this week
- A regular expression to match all emoji-only symbols☆72Updated last month
- A lightweight, no dependency, pluggable CLI spinner library.☆56Updated last month