🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

strict-uri-encode

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strict-uri-encode

A stricter URI encode adhering to RFC 3986

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
16M
2.69%
Maintainers
1
Weekly downloads
 
Created
Source

strict-uri-encode Build Status

A stricter URI encode adhering to RFC 3986

Install

$ npm install --save strict-uri-encode

Usage

const strictUriEncode = require('strict-uri-encode');

strictUriEncode('unicorn!foobar');
//=> 'unicorn%21foobar'

strictUriEncode('unicorn*foobar');
//=> 'unicorn%2Afoobar'

API

strictUriEncode(string)

string

Type: string, number

String to URI encode.

License

MIT © Kevin Mårtensson

Keywords

component

FAQs

Package last updated on 11 Oct 2016

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