UNPKG

whichx

Version:

A text description classifier for classifying arbitrary strings into provided labels

57 lines (56 loc) 1.68 kB
{ "name": "whichx", "version": "3.0.1", "description": "A text description classifier for classifying arbitrary strings into provided labels", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "lint": "eslint src/*.js && eslint test/*.js && echo 'Linting complete.'", "test": "npm run lint && mocha test/ && echo 'Testing complete.'", "typescript": "tsc && echo 'Type definitions built.'", "minify": "uglifyjs src/index.js -o dist/index.js --source-map && echo 'Sources minified.'", "build": "npm ci && npm test && npm run typescript && npm run minify && echo 'Build success.'", "prepublish": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/rudikershaw/whichx.git" }, "files": [ "dist", "src", "README.md", "LICENSE" ], "keywords": [ "naive", "bayes", "text", "classifier", "machine-learning", "nlp", "natural-language-processing", "bayesian", "text-classifier", "bayes-classifier", "naive-bayes-classification", "natural-language" ], "author": "Rudi Kershaw <alexander_kershaw@hotmail.co.uk> (http://www.rudikershaw.com)", "license": "MIT", "bugs": { "url": "https://github.com/rudikershaw/whichx/issues" }, "homepage": "https://github.com/rudikershaw/whichx#readme", "devDependencies": { "eslint": "^8.15.0", "eslint-config-standard": "^17.0.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^6.3.0", "eslint-plugin-n": "^15.2.0", "eslint-plugin-promise": "^6.0.0", "mocha": "^10.0.0", "typescript": "^4.6.4", "uglify-js": "^3.15.4" } }