A stricter URI encode adhering to RFC 3986
- ESM
- CJS
- License
- MIT
- Deps
- 0
- Install Size
- -(-)
- Vulns
- 0
- Published
$
npm install strict-uri-encode$
pnpm add strict-uri-encode$
yarn add strict-uri-encode$
bun add strict-uri-encode$
deno add npm:strict-uri-encode$
vlt install strict-uri-encode$
vp add strict-uri-encodestrict-uri-encode 
A stricter URI encode adhering to RFC 3986
Install
$ npm install --save 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