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

words.js

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

words.js - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

package.json
{
"name": "words.js",
"version": "0.3.0",
"version": "0.3.1",
"description": "A flexible, robust and powerful Javascript word-string manipulation library.",

@@ -30,5 +30,5 @@ "main": "words.min.js",

"dependencies": {
"strings.js" : "1.2.1"
"strings.js" : "1.2.2"
},
"devDependencies": {}
}
words.js
========
Only 5.7Kb minified (depends on strings.js), words.js is a toolbox for words from a space seperated string.
Only 5.7Kb minified (depends on strings.js), words.js is a toolbox for manipulating words from a space seperated string.
Great for text input or command-line parsing, educational tools, word-games, text filters, password generators, etc..

@@ -177,11 +177,2 @@ <br/>

// of more than 4 will be
var words= new Words('or mark words in a string');
words.xs( function(word, index){
if( word === 'mark' )
return '*marked*';
return true;
});
console.log( words.$ );
// or *marked* words in a string
```

@@ -257,3 +248,3 @@

```javascript
// pseudo random, it should be extremely rare to see the same results on any run!
// pseudo random

@@ -260,0 +251,0 @@ var words= new Words('let\'s mess up this sentence');

Sorry, the diff of this file is not supported yet

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