strict-uri-encode

A stricter URI encode adhering to RFC 3986

MIT License

Downloads
44.1M
Stars
60
Committers
2

strict-uri-encode Build Status

A stricter URI encode adhering to RFC 3986

Install

$ npm install 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.


Package Rankings
Top 1.85% on Npmjs.org
Top 16.27% on Bower.io
Top 31.07% on Repo1.maven.org
Badges
Extracted from project README
Build Status