|
|
||||
|---|---|---|---|---|
| .. | ||||
| index.js | 11e3a9652a | 7 anni fa | ||
| license | 11e3a9652a | 7 anni fa | ||
| package.json | 11e3a9652a | 7 anni fa | ||
| readme.md | 11e3a9652a | 7 anni fa | ||
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