htc 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 bulan lalu
..
index.js 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 bulan lalu
license 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 bulan lalu
package.json 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 bulan lalu
readme.md 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 bulan lalu

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