lihai 8d6c751f49 feat: push | лет назад: 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