peach a19a732be8 commit message | 2 лет назад | |
---|---|---|
.. | ||
index.js | 2 лет назад | |
license | 2 лет назад | |
package.json | 2 лет назад | |
readme.md | 2 лет назад |
A stricter URI encode adhering to RFC 3986
$ npm install --save strict-uri-encode
var strictUriEncode = require('strict-uri-encode');
strictUriEncode('unicorn!foobar')
//=> 'unicorn%21foobar'
strictUriEncode('unicorn*foobar')
//=> 'unicorn%2Afoobar'
Required
Type: string
, number
String to URI encode.
MIT © Kevin Mårtensson