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

normall

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normall - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

6

index.js

@@ -25,4 +25,4 @@ var latenize = require('latenize');

// Normalize name
function name(str) {
return base(str);
function username(str) {
return base(str).replace(/\s+/g, '');
}

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

module.exports.ascii = ascii;
module.exports.name = name ;
module.exports.username = username;
module.exports.filename = filename;

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

{
"name": "normall",
"version": "0.0.2",
"version": "0.1.0",
"description": "Normalize ALL things! Useful normalization functions",

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

@@ -34,4 +34,4 @@ NormALL - Normalize all things !

### normall.name(str)
### normall.username(str)
Normalizes `str` to be used as a username (strips accents, ...)
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