retext-keywords
Advanced tools
Comparing version 3.1.0 to 4.0.0
@@ -11,7 +11,9 @@ 'use strict'; | ||
function keywords(retext, options) { | ||
function keywords(options) { | ||
this.use(pos).use(gatherKeywords, options); | ||
} | ||
function gatherKeywords(options) { | ||
var maximum = (options || {}).maximum || 5; | ||
retext.use(pos); | ||
return transformer; | ||
@@ -18,0 +20,0 @@ |
{ | ||
"name": "retext-keywords", | ||
"version": "3.1.0", | ||
"version": "4.0.0", | ||
"description": "Keyword extraction with Retext", | ||
@@ -32,8 +32,8 @@ "license": "MIT", | ||
"devDependencies": { | ||
"browserify": "^13.0.1", | ||
"browserify": "^14.1.0", | ||
"esmangle": "^1.0.1", | ||
"nyc": "^10.0.0", | ||
"remark-cli": "^2.0.0", | ||
"remark-preset-wooorm": "^1.0.0", | ||
"retext": "^4.0.0", | ||
"remark-cli": "^3.0.0", | ||
"remark-preset-wooorm": "^2.0.0", | ||
"retext": "^5.0.0", | ||
"tape": "^4.0.0", | ||
@@ -71,5 +71,6 @@ "xo": "^0.17.1" | ||
"remarkConfig": { | ||
"output": true, | ||
"presets": "wooorm" | ||
"plugins": [ | ||
"preset-wooorm" | ||
] | ||
} | ||
} |
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
14178
247