sindresorhus / is-html
Check if a string is HTML
☆95Updated 11 months ago
Alternatives and similar repositories for is-html:
Users that are interested in is-html are comparing it to the libraries listed below
- Conditional promise chains☆60Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Get a random temporary file path☆79Updated 2 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- A simple JavaScript implementation of `du -sb`☆28Updated 2 years ago
- Lazy number range generator☆81Updated last year
- url.parse() with support for protocol-less URLs & IPs☆52Updated 3 years ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Run promise-returning & async functions in series, each passing its result to the next☆74Updated 3 years ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 8 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Iterate over promises serially☆50Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 10 months ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated 2 years ago
- Get the extension of a given filename or path☆30Updated 6 years ago
- Turn an array into a list of comma-separated values, appropriate for use in an English sentence.☆25Updated 2 years ago
- Trim newlines from the start and/or end of a string☆48Updated last year
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago