sindresorhus / p-cancelable
Create a promise that can be canceled
☆440Updated 2 years ago
Alternatives and similar repositories for p-cancelable:
Users that are interested in p-cancelable are comparing it to the libraries listed below
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆352Updated 7 months ago
- Simple “Least Recently Used” (LRU) cache☆686Updated last year
- Find a file or directory by walking up parent directories☆587Updated 6 months ago
- Delay a promise a specified amount of time☆608Updated last year
- Clean up error stack traces☆338Updated last year
- Memoize promise-returning & async functions☆400Updated last year
- An implementation of WHATWG AbortController interface.☆305Updated 3 years ago
- Read the closest package.json file☆264Updated last year
- Find the root directory of a Node.js project or npm package☆239Updated last year
- Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called☆271Updated 3 months ago
- Extends minimatch.match() with support for multiple patterns☆299Updated last year
- Make a directory and its parents if needed - Think `mkdir -p`☆477Updated 8 months ago
- Promisify an event by waiting for it to be emitted☆432Updated 10 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆344Updated 3 months ago
- Properly hijack require☆402Updated this week
- Quickly scan for CLI flags and arguments☆635Updated 10 months ago
- Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream☆206Updated last year
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Import a module while bypassing the cache☆283Updated 7 months ago
- Automatically bind methods to their class instance☆459Updated 2 years ago
- Finds the common standard cache directory☆158Updated 11 months ago
- Get callsites from the V8 stack trace API☆262Updated 7 months ago
- Find the closest package.json file