gatsby-remark-related-posts
Version:
Calculate the similarity between posts by tf-idf and Cosine similarity.
38 lines (37 loc) • 898 B
JSON
{
"name": "gatsby-remark-related-posts",
"version": "2.0.3",
"description": "Calculate the similarity between posts by tf-idf and Cosine similarity.",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/sititou70/gatsby-remark-related-posts.git"
},
"main": "index.js",
"scripts": {
"build": "tsc && mv TEMP_dist/*.js . && rm -rf TEMP_dist",
"prepublishOnly": "npm run build"
},
"keywords": [
"gatsby",
"gatsby-plugin",
"remark",
"related",
"post",
"tf-idf"
],
"author": "sititou70",
"license": "MIT",
"dependencies": {
"compute-cosine-similarity": "^1.0.0",
"kuromoji": "^0.1.2",
"natural": "^5.2.3"
},
"devDependencies": {
"@types/kuromoji": "^0.1.1",
"@types/natural": "^5.1.1",
"typescript": "^4.8.4"
},
"peerDependencies": {
"gatsby": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"
}
}