lhl 6ff0e96ad3 8-4-1 1 rok pred
..
index.js 6ff0e96ad3 8-4-1 1 rok pred
license 6ff0e96ad3 8-4-1 1 rok pred
package.json 6ff0e96ad3 8-4-1 1 rok pred
readme.md 6ff0e96ad3 8-4-1 1 rok pred

readme.md

strict-uri-encode Build Status

A stricter URI encode adhering to RFC 3986

Install

$ npm install --save strict-uri-encode

Usage

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

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

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

API

strictUriEncode(string)

string

Required
Type: string, number

String to URI encode.

License

MIT © Kevin Mårtensson