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

remove-words

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remove-words - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "remove-words",
"version": "0.1.0",
"version": "0.1.1",
"description": "A node module that returns all words from a string not that were not in a specified list. By default will remove all pronouns and conjunctions",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -33,3 +33,3 @@

var names = ['jack', 'john', 'joe', 'james', 'jim']
removeWords("The winners are: Jack, John and Jim!!!")
removeWords("The winners are: Jack, John and Jim!!!", names)
// Will remove just all names

@@ -36,0 +36,0 @@ ```

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