Comparing version 0.0.8 to 0.0.9
@@ -5,9 +5,7 @@ var Rake = require('./index.js') | ||
module.exports = { | ||
generate: function(content){ | ||
instance = new Rake(content,stopwords_path) | ||
let instance = new Rake(content,stopwords_path) | ||
return instance.generate() | ||
} | ||
} |
@@ -53,3 +53,3 @@ var fs = require('fs'); | ||
if(phr != ' ' && phr != '') { | ||
phrase_list.push(phr) | ||
phrase_list.push(phr.trim()) | ||
} | ||
@@ -56,0 +56,0 @@ } |
{ | ||
"name": "node-rake", | ||
"version": "0.0.8", | ||
"description": "A NodeJS implementation of the Rapid Automatic Keyword Extraction algorithm. [In development]", | ||
"version": "0.0.9", | ||
"description": "A NodeJS implementation of the Rapid Automatic Keyword Extraction algorithm.", | ||
"main": "app.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "jest" | ||
}, | ||
@@ -21,3 +21,9 @@ "repository": { | ||
}, | ||
"homepage": "https://github.com/waseem18/node-rake#readme" | ||
"homepage": "https://github.com/waseem18/node-rake#readme", | ||
"devDependencies": { | ||
"babel-jest": "^18.0.0", | ||
"babel-polyfill": "^6.23.0", | ||
"babel-preset-es2015": "^6.22.0", | ||
"jest": "^18.1.0" | ||
} | ||
} |
@@ -5,3 +5,2 @@ # node-rake | ||
[ In development ] | ||
A NodeJS implementation of the Rapid Automatic Keyword Extraction algorithm. | ||
@@ -8,0 +7,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
11490
9
132
1
4
33