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

string-kit

Package Overview
Dependencies
Maintainers
1
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-kit - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

37

documentation.md

@@ -22,6 +22,21 @@

# Escape functions collection
# Reference
## .escape.shellArg( str )
* [.escape.shellArg()](#ref.escape.shellArg)
* [.escape.regExp()](#ref.escape.regExp)
* [.escape.regExpPattern()](#ref.escape.regExp)
* [.escape.regExpReplacement()](#ref.escape.regExpReplacement)
* [.escape.html()](#ref.escape.html)
* [.escape.htmlAttr()](#ref.escape.htmlAttr)
* [.escape.htmlSpecialChars()](#ref.escape.htmlSpecialChars)
* [.escape.control()](#ref.escape.control)
## Escape functions collection
<a name="ref.escape.shellArg"></a>
### .escape.shellArg( str )
* str `String` the string to filter

@@ -33,3 +48,4 @@

## .escape.regExp( str ) , .escape.regExpPattern( str )
<a name="ref.escape.regExp"></a>
### .escape.regExp( str ) , .escape.regExpPattern( str )

@@ -50,3 +66,4 @@ * str `String` the string to filter

## .escape.regExpReplacement( str )
<a name="ref.escape.regExpReplacement"></a>
### .escape.regExpReplacement( str )

@@ -59,3 +76,4 @@ * str `String` the string to filter

## .escape.html( str )
<a name="ref.escape.html"></a>
### .escape.html( str )

@@ -70,3 +88,4 @@ * str `String` the string to filter

## .escape.htmlAttr( str )
<a name="ref.escape.htmlAttr"></a>
### .escape.htmlAttr( str )

@@ -83,3 +102,4 @@ * str `String` the string to filter

## .escape.htmlSpecialChars( str )
<a name="ref.escape.htmlSpecialChars"></a>
### .escape.htmlSpecialChars( str )

@@ -92,3 +112,4 @@ * str `String` the string to filter

## .escape.control( str )
<a name="ref.escape.control"></a>
### .escape.control( str )

@@ -95,0 +116,0 @@ * str `String` the string to filter

{
"name": "string-kit",
"version": "0.0.7",
"version": "0.0.8",
"description": "A string manipulation toolbox, featuring a string formater (inspired by printf), a variable inspector (output featuring ANSI color and HTML) and various escape function (shell argument, regexp, html, etc).",

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

@@ -22,6 +22,21 @@

# Escape functions collection
# Reference
## .escape.shellArg( str )
* [.escape.shellArg()](#ref.escape.shellArg)
* [.escape.regExp()](#ref.escape.regExp)
* [.escape.regExpPattern()](#ref.escape.regExp)
* [.escape.regExpReplacement()](#ref.escape.regExpReplacement)
* [.escape.html()](#ref.escape.html)
* [.escape.htmlAttr()](#ref.escape.htmlAttr)
* [.escape.htmlSpecialChars()](#ref.escape.htmlSpecialChars)
* [.escape.control()](#ref.escape.control)
## Escape functions collection
<a name="ref.escape.shellArg"></a>
### .escape.shellArg( str )
* str `String` the string to filter

@@ -33,3 +48,4 @@

## .escape.regExp( str ) , .escape.regExpPattern( str )
<a name="ref.escape.regExp"></a>
### .escape.regExp( str ) , .escape.regExpPattern( str )

@@ -50,3 +66,4 @@ * str `String` the string to filter

## .escape.regExpReplacement( str )
<a name="ref.escape.regExpReplacement"></a>
### .escape.regExpReplacement( str )

@@ -59,3 +76,4 @@ * str `String` the string to filter

## .escape.html( str )
<a name="ref.escape.html"></a>
### .escape.html( str )

@@ -70,3 +88,4 @@ * str `String` the string to filter

## .escape.htmlAttr( str )
<a name="ref.escape.htmlAttr"></a>
### .escape.htmlAttr( str )

@@ -83,3 +102,4 @@ * str `String` the string to filter

## .escape.htmlSpecialChars( str )
<a name="ref.escape.htmlSpecialChars"></a>
### .escape.htmlSpecialChars( str )

@@ -92,3 +112,4 @@ * str `String` the string to filter

## .escape.control( str )
<a name="ref.escape.control"></a>
### .escape.control( str )

@@ -95,0 +116,0 @@ * str `String` the string to filter

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