Irina Glushko 2389e7160b HW1 done | 3 éve | |
---|---|---|
.. | ||
index.js | 3 éve | |
license | 3 éve | |
package.json | 3 éve | |
readme.md | 3 éve |
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