Irina Glushko 2389e7160b HW1 done | il y a 3 ans | |
---|---|---|
.. | ||
index.js | il y a 3 ans | |
license | il y a 3 ans | |
package.json | il y a 3 ans | |
readme.md | il y a 3 ans |
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