UNPKG

n-gram

Version:
76 lines (75 loc) 1.81 kB
{ "name": "n-gram", "version": "2.0.2", "description": "Get n-grams from text", "license": "MIT", "keywords": [ "natural", "language", "n", "gram", "n-gram", "unigram", "bigram", "trigram" ], "repository": "words/n-gram", "bugs": "https://github.com/words/n-gram/issues", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" }, "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", "contributors": [ "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", "Matt Fletcher <mattflet@gmail.com>" ], "sideEffects": false, "type": "module", "main": "index.js", "types": "index.d.ts", "files": [ "index.d.ts", "index.js" ], "devDependencies": { "@types/tape": "^4.0.0", "c8": "^7.0.0", "prettier": "^2.0.0", "remark-cli": "^11.0.0", "remark-preset-wooorm": "^9.0.0", "tape": "^5.0.0", "type-coverage": "^2.0.0", "typescript": "^4.0.0", "xo": "^0.52.0" }, "scripts": { "prepack": "npm run build && npm run format", "build": "tsc --build --clean && tsc --build && type-coverage", "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix", "test-api": "node --conditions development test.js", "test-coverage": "c8 --check-coverage --100 --reporter lcov npm run test-api", "test": "npm run build && npm run format && npm run test-coverage" }, "prettier": { "tabWidth": 2, "useTabs": false, "singleQuote": true, "bracketSpacing": false, "semi": false, "trailingComma": "none" }, "xo": { "prettier": true }, "remarkConfig": { "plugins": [ "preset-wooorm" ] }, "typeCoverage": { "atLeast": 100, "detail": true, "strict": true } }