|
|
5 år sedan | |
|---|---|---|
| .. | ||
| index.js | 5 år sedan | |
| license | 5 år sedan | |
| package.json | 5 år sedan | |
| readme.md | 5 år sedan | |
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