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

base64-url-cli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base64-url-cli

Simple command line wrapper for the base64-url module.

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

base64-url-cli Build Status

This is a thin command line wrapper for the awesome base64-url module.

Install

npm install -g base64-url-cli

Use It

Run it from the command line:

base64url [encode|decode|escape|unescape|binarydecode] [input]

Encode strings to base64url:

$ base64url encode "Node.js is awesome."
Tm9kZS5qcyBpcyBhd2Vzb21lLg

Decode base64url strings:

$ base64url decode "Tm9kZS5qcyBpcyBhd2Vzb21lLg"
Node.js is awesome.

Escape strings:

$ base64url escape "This+is/goingto+escape=="
This-is_goingto-escape

Unescape strings:

$ base64url unescape "This-is_goingto-escape"
This+is/goingto+escape==

Decode base64url to a binary stream:

$ base64url binarydecode "8wUUjd0b"
???
$ base64url binarydecode "8wUUjd0b" | od -t x1
0000000    f3  05  14  8d  dd  1b                                        
0000006

License

VOL

Keywords

FAQs

Package last updated on 19 Oct 2018

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