sindresorhus / environment
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆160Updated 5 months ago
Alternatives and similar repositories for environment:
Users that are interested in environment are comparing it to the libraries listed below
- Remove circular references from objects☆95Updated 11 months ago
- Async mutex lock for managing access to a shared resource☆123Updated 5 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆208Updated 5 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆146Updated 2 months ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated 9 months ago
- Check if the system is in low power mode☆62Updated 6 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 5 months ago
- Tiny terminal spinner☆214Updated 3 weeks ago
- Useful utilities for working with Uint8Array (and Buffer)☆247Updated 3 weeks ago
- Serialize objects to JSON with handling for circular references☆154Updated 7 months ago
- Make a synchronous function have a timeout☆124Updated 5 months ago
- Useful utilities for working with Fetch☆77Updated last week
- Make a regular expression time out if it takes too long to execute☆209Updated 5 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- A more usable typed storage API for Web Extensions☆68Updated 2 weeks ago
- 📟 A tiny, higher level interface around child_process☆169Updated last month
- (Draft) Specifications for `__PURE__` compiler notation et al.☆143Updated last month
- Show the last read position of issues and pull requests in GitHub.☆45Updated 2 months ago
- A lightweight, no dependency, pluggable CLI spinner library.☆37Updated 2 months ago
- Lightweight tsconfig.json parser & paths resolver☆197Updated 3 weeks ago
- Show versions inline for PNPM catalog: field☆148Updated 2 months ago
- Display APIs compatibility across different JavaScript runtimes☆239Updated this week
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆311Updated last year
- A fast and minimal alternative to globby and fast-glob☆266Updated this week
- Rotate an array by a given number of steps☆29Updated 8 months ago
- A 45% faster alternative to node:querystring module☆258Updated 7 months ago
- a minimal npm-compatible package registry☆207Updated last month
- Check if a value is a Fetch network error☆131Updated 10 months ago
- ☆161Updated 3 months ago
- Covert Oniguruma-flavor Regexp to JavaScript native RegExp.☆61Updated 3 months ago