ghaction-upx/node_modules/strict-uri-encode
2020-01-17 09:39:25 +01:00
..
index.js Update node_modules 2020-01-17 09:39:25 +01:00
license Update node_modules 2020-01-17 09:39:25 +01:00
package.json Update node_modules 2020-01-17 09:39:25 +01:00
readme.md Update node_modules 2020-01-17 09:39:25 +01:00

strict-uri-encode Build Status

A stricter URI encode adhering to RFC 3986

Install

$ npm install --save strict-uri-encode

Usage

var strictUriEncode = require('strict-uri-encode');

strictUriEncode('unicorn!foobar')
//=> 'unicorn%21foobar'

strictUriEncode('unicorn*foobar')
//=> 'unicorn%2Afoobar'

API

strictUriEncode(string)

string

Required
Type: string, number

String to URI encode.

License

MIT © Kevin Mårtensson