|
2 ani în urmă | |
---|---|---|
.. | ||
index.js | 2 ani în urmă | |
license | 2 ani în urmă | |
package.json | 2 ani în urmă | |
readme.md | 2 ani în urmă |
A stricter URI encode adhering to RFC 3986
$ npm install --save strict-uri-encode
const strictUriEncode = require('strict-uri-encode');
strictUriEncode('unicorn!foobar');
//=> 'unicorn%21foobar'
strictUriEncode('unicorn*foobar');
//=> 'unicorn%2Afoobar'
Type: string
, number
String to URI encode.
MIT © Kevin Mårtensson