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

string-wks

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-wks - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

2

package.json
{
"name": "string-wks",
"version": "1.0.0",
"version": "1.0.1",
"description": "Some string manipulation functions that I need to use commonly",

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

@@ -1,2 +0,2 @@

//Capitalize first letter
//Capitalize first letter: HellO USER => Hello user
exports.capitalize = function (string) {

@@ -13,3 +13,3 @@ //crop fist letter

//simplify
//simplify: HELLo user30,c => hellouser30c
exports.simplify = function(string) {

@@ -25,1 +25,2 @@ //regular expression to replaces all non-alphanumeric characters.

}
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