New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

numeronym

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

numeronym - npm Package Compare versions

Comparing version
0.0.0
to
0.0.1
+10
-5
index.js

@@ -100,2 +100,4 @@ module.exports = numeronym

// options object may be in the alias argument
var options = (typeof alias === 'object') ? alias : {}
// maybe they know whats best and they

@@ -114,4 +116,5 @@ // can set their own value, save us from working

// everything done in lowercase
word = word.toLowerCase();
// everything done in lowercase unless other wise stated
if (!options.preserve)
word = word.toLowerCase();

@@ -138,5 +141,2 @@ // fix white space

});
// options object may be in the alias argument
var options = (typeof alias === 'object') ? alias : {}

@@ -304,2 +304,7 @@ // iterate over each

word = word.replace(/\s+/g, '');
// add space to space identifiers
word = word.replace(/%s/g, ' ');
word = word.replace(/%n/g, '\n');
word = word.replace(/%t/g, '\t');
word = word.replace(/%r/g, '\r');

@@ -306,0 +311,0 @@ // to upper case?

{
"name": "numeronym",
"version": "0.0.0",
"version": "0.0.1",
"description": "Convert and/or define numeronyms from a words",

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

numeronym
======
Convert and/or define numeronyms from a words
Convert and/or define numeronyms from words

@@ -29,3 +29,3 @@

```js
var n = require('numeronym')l
var n = require('numeronym');

@@ -76,2 +76,2 @@ console.log( n('canine') ); // k9

## license
MIT
MIT