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

sanitize-it

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sanitize-it

Sanitize client submitted values so that they are handled correctly by the server side javascript.

latest
Source
npmnpm
Version
0.0.8
Version published
Weekly downloads
12
1100%
Maintainers
1
Weekly downloads
 
Created
Source

Sanitize-It:
These methods are used clean up user or client side values so that they are handled correctly by server side javascript.

For example:
Client side javascript may send a string value of "undefined" when really it wanted to send the value undefined. Using the sanitize string method we can detect this and set the value to the appropriate undefined value.

FAQs

Package last updated on 26 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts