sindresorhus / is-html
Check if a string is HTML
☆96Updated 6 months ago
Related projects: ⓘ
- Filter object keys and values into a new object☆100Updated 3 months ago
- Check if a URL is absolute☆77Updated 3 years ago
- Get the path of the caller module☆64Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated 11 months ago
- Check if your code is running as an npm or yarn script☆64Updated 2 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆52Updated last year
- Conditional promise chains☆59Updated 3 years ago
- Check if a value is a plain object☆101Updated 4 months ago
- Check if argv has a specific flag☆90Updated 3 years ago
- Get a random temporary file path☆79Updated last year
- Write data to a random temporary file☆103Updated last month
- Iterate over promises serially☆49Updated 2 years ago
- Read user name, email and URL from .npmrc or .gitconfig☆14Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Define a lazily evaluated property on an object☆62Updated last year
- A better `Promise.race()`☆45Updated last year
- This repository has been archived, use Enquirer instead.☆22Updated last year
- Turn an object into a string of HTML attributes☆49Updated last year
- Replace all substring matches in a string☆88Updated 3 years ago
- Lazy number range generator☆82Updated 8 months ago
- Run promise-returning & async functions repeatedly until you end it☆43Updated 3 years ago
- Get the path of the parent module☆77Updated 10 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆67Updated 3 years ago
- Sort the keys of an object☆101Updated last week
- capitalize a string, or all words in a string☆39Updated 2 years ago
- Run promise-returning & async functions in series, each passing its result to the next☆73Updated 3 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago