Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chengcyber/is-wxml
check whether the content is wxml
https://github.com/chengcyber/is-wxml
wechat wxml
Last synced: 27 days ago
JSON representation
check whether the content is wxml
- Host: GitHub
- URL: https://github.com/chengcyber/is-wxml
- Owner: chengcyber
- License: mit
- Created: 2018-02-02T07:24:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T07:53:14.000Z (almost 7 years ago)
- Last Synced: 2024-10-04T07:37:46.704Z (about 1 month ago)
- Topics: wechat, wxml
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# is-wxml
> Check whether content is wxml
## Install
```
npm install --save is-wxml
```## Usage
```
const isWxml = require('is-wxml');isWxml('I am WXML');
// => trueisWxml('');
// => trueisWxml('
HTML
');
// => falseisWxml('>+++++++>++++++++++>+++>+<<<<-');
// => false```
## Local Dev
```
git clone [email protected]:kimochg/is-wxml.git
cd is-wxml
npm install
npm run test
```## LICENSE
MIT © [Cheng Liu](https://github.com/kimochg)
highly inspired by [is-html](https://github.com/sindresorhus/is-html)