is-wxml
v1.0.0
Published
Check whether the content is wxml
Readme
is-wxml
Check whether content is wxml
Install
npm install --save is-wxmlUsage
const isWxml = require('is-wxml');
isWxml('<view>I am WXML</view>');
// => true
isWxml('<image />');
// => true
isWxml('<p>HTML</p>');
// => false
isWxml('>+++++++>++++++++++>+++>+<<<<-');
// => false
Local Dev
git clone [email protected]:kimochg/is-wxml.git
cd is-wxml
npm install
npm run testLICENSE
MIT © Cheng Liu
highly inspired by is-html
