1.1.0 • Published 3 years ago

isthischinese v1.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
3 years ago

ischinese

ischinese is an npm package for you to know if a string (a series of words) is Chinese.

Setup

1. Run in your terminal after . 2. Put this at the top in your javascript file, var chinese = require("isthischinese");

Usage

You can test if a string contains Chinese like this:

var chinese = require("isthischinese");
var string = "你好,世界";
console.log(chinese.isChinese("is it Chinese??"));
//console prints "nah"
console.log(chinese.isChinese("string"));
//console prints "yes it is chinese.これは中国語です。"

contact

made by Kenny Ng, who knows Chinese. if you have any question(only coding ones please), contact me at contact@kennyng.dev.

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago