UNPKG

ts-content-based-recommender

Version:

A TypeScript-based content-based recommender with multilingual support (Japanese & English). Forked from content-based-recommender.

109 lines (108 loc) 2.92 kB
{ "name": "ts-content-based-recommender", "version": "1.6.2", "description": "A TypeScript-based content-based recommender with multilingual support (Japanese & English). Forked from content-based-recommender.", "type": "module", "homepage": "https://github.com/kensakurai/ts-content-based-recommender", "repository": { "type": "git", "url": "git://github.com/kensakurai/ts-content-based-recommender.git" }, "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js", "default": "./dist/index.js" } }, "scripts": { "build": "tsc", "prepublishOnly": "npm run build", "lint": "npx tsc --noEmit && eslint 'src/**/*.ts' 'test/**/*.ts'", "lint:fix": "eslint 'src/**/*.ts' 'test/**/*.ts' --fix", "tsc": "tsc --noEmit", "test": "npm run build && mocha dist/test/**/*.js", "test:ts": "cross-env NODE_OPTIONS='--loader=ts-node/esm' mocha test/**/*.ts", "example": "node --loader ts-node/esm example/example.ts", "dev": "node --loader ts-node/esm" }, "keywords": [ "content-based", "filtering", "recommender", "tfidf", "machine", "learning", "typescript", "multilingual", "japanese", "morphological-analysis", "kuromoji", "cosine-similarity" ], "author": "Ken Sakurai <monotalk.xyz@gmail.com>", "engines": { "node": ">=18.0.0", "npm": ">=9.0.0" }, "contributors": [ { "name": "Stanley Fok", "email": "stanleyfok@gmail.com", "url": "https://github.com/stanleyfok" }, { "url": "https://github.com/mklueh", "name": "Marian Klühspies" } ], "license": "MIT", "files": [ "dist/", "README.md", "LICENSE" ], "bugs": { "url": "https://github.com/kensakurai/ts-content-based-recommender/issues" }, "dependencies": { "@types/kuromoji": "^0.1.3", "kuromoji": "^0.1.2", "natural": "^8.1.0", "stopword": "^3.1.5", "striptags": "^3.2.0", "underscore": "^1.13.7", "vector-object": "^1.3.0" }, "devDependencies": { "@types/chai": "^5.2.2", "@types/mocha": "^10.0.10", "@types/node": "^24.0.7", "@types/stopword": "^2.0.3", "@types/underscore": "^1.13.0", "@types/vector-object": "^1.3.2", "@typescript-eslint/eslint-plugin": "^8.35.0", "@typescript-eslint/parser": "^8.35.0", "chai": "^4.5.0", "cross-env": "^7.0.3", "eslint": "^8.57.1", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-import": "^2.32.0", "mocha": "^11.7.1", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "ts-node": { "esm": true, "experimentalSpecifierResolution": "node", "transpileOnly": true, "files": true }, "peerDependencies": { "typescript": ">=4.5.0" } }