JSPM

encode-3986

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5239
  • Score
    100M100P100Q134042F
  • License CC0-1.0

Like `encodeURIComponent`, but RFC 3986 compliant.

Package Exports

  • encode-3986

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (encode-3986) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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'