1.0.0 • Published 7 years ago

encode-3986 v1.0.0

Weekly downloads
37,563
License
CC0-1.0
Repository
github
Last release
7 years ago

encode-3986

Like encodeURIComponent, but RFC 3986 compliant.

install

$ npm install encode-3986

example

const encode = require('encode-3986')

encode('I am a T-Rex!') // => 'I%20am%20a%20T-Rex%21'