Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stopword

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stopword - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

4

lib/stopword.js

@@ -8,3 +8,5 @@ const defaultStopwords = require('./stopwords_en.js').words

}
return tokens.filter(value => stopwords.indexOf(value.toLowerCase()) === -1);
return tokens.filter(function (value) {
return stopwords.indexOf(value.toLowerCase()) === -1
})
}

@@ -11,0 +13,0 @@

{
"name": "stopword",
"version": "0.1.4",
"version": "0.1.5",
"description": "A module for node.js that takes in text and returns text that is stripped of stopwords",

@@ -5,0 +5,0 @@ "main": "lib/stopword.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc