Socket
Book a DemoInstallSign in
Socket

url-encode-decode

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

url-encode-decode

URL encoding & decoding

unpublished
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
884
51.63%
Maintainers
1
Weekly downloads
 
Created
Source

url-encode-decode

package version package downloads standard-readme compliant package license make a pull request

URL encoding & decoding

Table of Contents

About

Based on this snippet.

Install

This project uses node and npm.

$ npm install url-encode-decode
$ # OR
$ yarn add url-encode-decode

Usage

const { encode, decode } = require('url-encode-decode')

encode('foo bar baz') // 'foo+bar+baz'
encode(`Hi! How? & you person/\\`) // 'Hi%21+How%3F+%26+you+person%2F%5C'

decode('foo+bar+baz') // 'foo bar baz'
decode('Hi%21+How%3F+%26+you+person%2F%5C') // `Hi! How? & you person/\\`

Contribute

  • Fork it and create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am "Add some feature"
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

License

MIT

FAQs

Package last updated on 24 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts