You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Augustin AFFOGNON 85fc9bd6d8
View
2 years ago
..
index.js View 2 years ago
license View 2 years ago
package.json View 2 years ago
readme.md View 2 years ago

readme.md

strict-uri-encode Build Status

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