spmjs

spm@3.x

Brand new static package manager for browser.

Getting Started 󰅴 Packages

strict-uri-encode @1.0.2


A stricter URI encode adhering to RFC 3986

spm install strict-uri-encode@1.0.2

Version: 1.0.2 ~ stable

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