has-chinese

0.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i has-chinese

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • kchan