spmjs

spm@3.x

Brand new static package manager for browser.

Getting Started 󰅴 Packages

strict-uri-encode


A stricter URI encode adhering to RFC 3986

spm install strict-uri-encode
Versions 1.0.2
Updated 9 years ago
Keywords component, encode, RFC3986, uri
Homepage https://github.com/kevva/strict-uri-encode#readme
Repository git+https://github.com/kevva/strict-uri-encode.git
Main index.js
Owner

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%2afoobar'

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

API

strictUriEncode(string)

string

Required
Type: string, number

String to URI encode.

License

MIT © Kevin Mårtensson