pinyin
v2.10.0 拼音 汉语 汉字 中文 Pinyin
lint
eslint ./lib/ ./bin/ ./tests/
test
npm run lint && npm run test-cli && npm run test-npm && npm run benchmark
test-cli
mocha -R spec --timeout 5000 tests/cli.test.js
test-npm
istanbul cover _mocha -- --harmony --reporter spec --timeout 2000 --inline-diffs ./tests/test.js
benchmark
node tests/benchmark.test.js