Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bzarras/uriencode

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

@bzarras/uriencode

A command line tool that calls encodeURIComponent on your string

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

uriencode

A simple command line tool for calling encodeURIComponent on a string.

Install

$ npm i @bzarras/uriencode -g

Usage examples

Simplest usage is to pass your string as an argument:

$ uriencode "a string with spaces"
a%20string%20with%20spaces 

$ uriencode some/path/name
some%2Fpath%2Fname

$ uriencode email@addres.s
email%40addres.s

You can also read from STDIN:

$ echo "a string with spaces" | uriencode
a%20string%20with%20spaces

Pipes, redirects, and TTY input are accepted.

Keywords

FAQs

Package last updated on 27 Jan 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc