diff options
Diffstat (limited to 'deps/npm/node_modules/strict-uri-encode/readme.md')
-rw-r--r-- | deps/npm/node_modules/strict-uri-encode/readme.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/deps/npm/node_modules/strict-uri-encode/readme.md b/deps/npm/node_modules/strict-uri-encode/readme.md new file mode 100644 index 0000000000..05e3fee251 --- /dev/null +++ b/deps/npm/node_modules/strict-uri-encode/readme.md @@ -0,0 +1,39 @@ +# strict-uri-encode [![Build Status](https://travis-ci.org/kevva/strict-uri-encode.svg?branch=master)](https://travis-ci.org/kevva/strict-uri-encode) + +> A stricter URI encode adhering to [RFC 3986](http://tools.ietf.org/html/rfc3986) + + +## Install + +``` +$ npm install --save strict-uri-encode +``` + + +## Usage + +```js +const strictUriEncode = require('strict-uri-encode'); + +strictUriEncode('unicorn!foobar'); +//=> 'unicorn%21foobar' + +strictUriEncode('unicorn*foobar'); +//=> 'unicorn%2Afoobar' +``` + + +## API + +### strictUriEncode(string) + +#### string + +Type: `string`, `number` + +String to URI encode. + + +## License + +MIT © [Kevin Mårtensson](http://github.com/kevva) |