has-chinese
v0.1.0
Published
Check if text contains a Chinese word.
Downloads
9
Readme
has-chinese
Check if text contains a Chinese word.
Install
$ npm install --save has-chinese
Usage
const hasChinese = require('has-chinese');
hasChinese('unicorns');
//=> 'unicorns & rainbows'
API
hasChinese(input, [options])
input
Type: string
Lorem ipsum.
options
foo
Type: boolean
Default: false
Lorem ipsum.
License
MIT © EGOIST