yanyiwu/nodejieba

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "nodejieba",
  "description": "chinese word segmentation for node",
  "version": "3.4.3",
  "author": "Yanyi Wu <wuyanyi09@foxmail.com>",
  "maintainers": [
    "Yanyi Wu <wuyanyi09@foxmail.com>"
  ],
  "main": "./index.js",
  "typings": "types/index.d.ts",
  "engines": {
    "node": ">= 10.20.0"
  },
  "repository": {
    "type": "git",
    "url": "http://github.com/yanyiwu/nodejieba.git"
  },
  "keywords": [
    "chinese",
    "segment",
    "cppjieba",
    "jieba",
    "中文分词",
    "结巴分词"
  ],
  "dependencies": {
    "@mapbox/node-pre-gyp": "^1.0.9",
    "node-addon-api": "^3.0.2"
  },
  "devDependencies": {
    "mocha": "~10.7.3",
    "node-pre-gyp-github": "^1.4.3",
    "should": "~8.3.1",
    "typescript": "^3.0.1"
  },
  "scripts": {
    "test": "mocha --timeout 10s -R spec test/test.js && mocha --timeout 10s -R spec test/load_dict_test.js",
    "install": "node-pre-gyp install --fallback-to-build",
    "rebuild": "node-pre-gyp rebuild"
  },
  "binary": {
    "module_name": "nodejieba",
    "module_path": "./build/Release/",
    "host": "https://github.com/yanyiwu/nodejieba/releases/download/",
    "remote_path": "v{version}",
    "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz"
  },
  "license": "MIT"
}