Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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');
// => true

isWxml('');
// => true

isWxml('

HTML

');
// => false

isWxml('>+++++++>++++++++++>+++>+<<<<-');
// => 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)