Skip to content
A stricter URI encode adhering to RFC 3986
Branch: master
Clone or download
Latest commit 6dd351e Jul 8, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig Meta tweaks Jul 8, 2017
.gitattributes [BREAKING]: Support Node.js >=4 Oct 11, 2016
.gitignore
.travis.yml
index.js
license Meta tweaks Jul 8, 2017
package.json
readme.md
test.js

readme.md

strict-uri-encode Build Status

A stricter URI encode adhering to RFC 3986

Install

$ npm install strict-uri-encode

Usage

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.