TransFlow/node_modules/strict-uri-encode
何嘉峣 d0b8157bbe 代码提交 2022-12-15 10:56:04 +08:00
..
index.js 代码提交 2022-12-15 10:56:04 +08:00
license 代码提交 2022-12-15 10:56:04 +08:00
package.json 代码提交 2022-12-15 10:56:04 +08:00
readme.md 代码提交 2022-12-15 10:56:04 +08:00

readme.md

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