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

Metadata

  • MIT
  • Whatever
  • 闲耘
  • released 4/11/2021

Downloads

Maintainers