UNPKG

pinyin-split

Version:

Split up any kind of Pinyin into an array of syllables.

41 lines (40 loc) 1.08 kB
{ "name": "pinyin-split", "version": "1.170.0", "description": "Split up any kind of Pinyin into an array of syllables.", "keywords": [ "chinese", "mandarin", "pinyin", "split" ], "homepage": "https://github.com/pepebecker/pinyin-split#readme", "bugs": { "url": "https://github.com/pepebecker/pinyin-split/issues" }, "repository": { "type": "git", "url": "https://github.com/pepebecker/pinyin-split.git" }, "license": "ISC", "author": "Pepe Becker <mail@pepebecker.com> (https://pepe.asia)", "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "types": "./lib/types/index.d.ts", "files": [ "lib/" ], "scripts": { "prepublish": "npm run tsc", "test": "env TS_NODE_PROJECT=tsconfig-testing.json mocha -r ts-node/register tests/**/*.spec.ts", "tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json" }, "devDependencies": { "@types/chai": "^4.2.14", "@types/mocha": "^8.0.4", "chai": "^4.2.0", "mocha": "^8.2.1", "ts-node": "^9.0.0", "typescript": "^4.1.2" } }