peach a19a732be8 commit message 2 роки тому
..
index.js a19a732be8 commit message 2 роки тому
license a19a732be8 commit message 2 роки тому
package.json a19a732be8 commit message 2 роки тому
readme.md a19a732be8 commit message 2 роки тому

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