root 3bf41bf355 update 2 tahun lalu
..
index.js 3bf41bf355 update 2 tahun lalu
license 3bf41bf355 update 2 tahun lalu
package.json 3bf41bf355 update 2 tahun lalu
readme.md 3bf41bf355 update 2 tahun lalu

readme.md

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