flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
34
BACK_BACK/node_modules/is-html/readme.md
generated
vendored
Executable file
34
BACK_BACK/node_modules/is-html/readme.md
generated
vendored
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
# is-html [](https://travis-ci.org/sindresorhus/is-html)
|
||||
|
||||
> Check if a string is HTML
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save is-html
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const isHtml = require('is-html');
|
||||
|
||||
isHtml('<p>I am HTML</p>');
|
||||
//=> true
|
||||
|
||||
isHtml('<!doctype><html><body><h1>I ❤ unicorns</h1></body></html>');
|
||||
//=> true
|
||||
|
||||
isHtml('<cake>I am XML</cake>');
|
||||
//=> false
|
||||
|
||||
isHtml('>+++++++>++++++++++>+++>+<<<<-');
|
||||
//=> false
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
||||
Loading…
Add table
Add a link
Reference in a new issue