sindresorhus / p-cancelable
Create a promise that can be canceled
☆441Updated 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
- Memoize promise-returning & async functions☆405Updated last year
- Find a file or directory by walking up parent directories☆604Updated last month
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆355Updated 10 months ago
- Clean up error stack traces☆339Updated 2 years ago
- Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called☆272Updated 5 months ago
- Get a random temporary file or directory path☆428Updated last year
- Delay a promise a specified amount of time☆614Updated last year
- Find the root directory of a Node.js project or npm package☆242Updated last year
- Get callsites from the V8 stack trace API☆266Updated 9 months ago
- Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical i…☆1,112Updated 2 months ago
- Simple “Least Recently Used” (LRU) cache☆692Updated 2 weeks ago
- Automatically bind methods to their class instance☆460Updated 2 years ago
- Timeout a promise after a specified amount of time☆288Updated 3 months ago
- Promisify an event by waiting for it to be emitted☆434Updated last year
- Make a directory and its parents if needed - Think `mkdir -p`☆478Updated 11 months ago
- An implementation of WHATWG AbortController interface.☆307Updated 4 years ago
- Quickly scan for CLI flags and arguments☆648Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆347Updated 5 months ago
- Read the closest package.json file☆267Updated last year
- Run promise-returning & async functions concurrently with optional limited concurrency☆329Updated 4 months ago
- Show a message to your users to upgrade Node instead of a stacktrace☆241Updated last year
- the mighty option parser used by yargs☆508Updated 3 months ago
- Create an error from multiple errors☆245Updated last year
- Compare, format, diff and serialize any JavaScript value☆209Updated last week
- Properly hijack require☆401Updated 3 weeks ago
- A tiny (394B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇♂️☆576Updated last year
- Import a module lazily☆248Updated 2 years ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- HTTP/1+2 Fetch API client for Node.js☆335Updated 2 years ago
- Copy files☆428Updated 8 months ago