UNPKG

stopword

Version:

A module for node.js and the browser that takes in text and returns text that is stripped of stopwords. Has pre-defined stopword lists for 62 languages and also takes lists with custom stopwords as input.

43 lines (42 loc) 1.25 kB
{ "name": "stopword", "version": "3.1.4", "description": "A module for node.js and the browser that takes in text and returns text that is stripped of stopwords. Has pre-defined stopword lists for 62 languages and also takes lists with custom stopwords as input.", "main": "./dist/stopword.cjs.js", "module": "./src/stopword.js", "browser": "./src/stopword.js", "jsdelivr": "./dist/stopword.umd.min.js", "files": [ "./dist", "./src", "./rollup.config.js" ], "scripts": { "build": "rollup --config", "lint": "standard --fix ./*.js src/*.js test/*.js", "test": "npm run lint && npm run build && npx ava ./test/test.cjs.js && npx ava ./test/test.esm.mjs && npx ava ./test/ui-test.js" }, "repository": { "type": "git", "url": "https://github.com/fergiemcdowall/stopword" }, "keywords": [ "stopword", "stopwords", "document-processing", "search", "search-index", "nlp" ], "devDependencies": { "batr": "^2.1.10", "standard": "^17.1.2", "words-n-numbers": "^9.1.2" }, "author": "Fergus McDowall", "license": "MIT", "bugs": { "url": "https://github.com/fergiemcdowall/stopword/issues" }, "homepage": "https://github.com/fergiemcdowall/stopword" }