has-chinese
Check if text contains a Chinese word.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install has-chinese 
SYNC missed versions from official npm registry.

has-chinese NPM version NPM downloads Build Status

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

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

1 Versions

  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |