npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

base-ex-cli

v0.4.1

Published

Command Line Interface for BaseEx

Downloads

15

Readme

BaseEx Command Line Interface

License npm

This is a CLI for BaseEx. BaseEx is designed as a library for base conversions for node.js or the browser. There are already a lot of individual CLIs available for, lets say Base32, Base64, etc.
Those clients are very good and also fast, while this one is certainly not fast. But it has all the important base converters available, the converter is only one argument away and not whole program to search for, installing it, and getting used to it. So, if speed is not an issue, this might be interesting for you. On top of that, it contains different encoding standards and some more exotic converters (see the list below).


:warning: This program still has to stand the test of time. Be extra attentive when using this in production.


Converters/Converter Arguments

  • base1
  • base16
  • base32_crockford
  • base32_rfc3548
  • base32_rfc4648
  • base32_zbase32
  • base58
  • base58_bitcoin
  • base58_flickr
  • base64
  • base64_urlsafe
  • uuencode
  • uuencode_original
  • xxencode
  • base85_adobe
  • base85_ascii
  • base85_z85
  • base91
  • leb128
  • ecoji_v1
  • ecoji_v2
  • base2048
  • basephi
  • simplebase2
  • simplebase3
  • simplebase4
  • simplebase5
  • simplebase6
  • simplebase7
  • simplebase8
  • simplebase9
  • simplebase10
  • simplebase11
  • simplebase12
  • simplebase13
  • simplebase14
  • simplebase15
  • simplebase16
  • simplebase17
  • simplebase18
  • simplebase19
  • simplebase20
  • simplebase21
  • simplebase22
  • simplebase23
  • simplebase24
  • simplebase25
  • simplebase26
  • simplebase27
  • simplebase28
  • simplebase29
  • simplebase30
  • simplebase31
  • simplebase32
  • simplebase33
  • simplebase34
  • simplebase35
  • simplebase36
  • simplebase37
  • simplebase38
  • simplebase39
  • simplebase40
  • simplebase41
  • simplebase42
  • simplebase43
  • simplebase44
  • simplebase45
  • simplebase46
  • simplebase47
  • simplebase48
  • simplebase49
  • simplebase50
  • simplebase51
  • simplebase52
  • simplebase53
  • simplebase54
  • simplebase55
  • simplebase56
  • simplebase57
  • simplebase58
  • simplebase59
  • simplebase60
  • simplebase61
  • simplebase62

Install

npm install --global base-ex-cli

AUR

base-ex-cli can be installed from the Arch User Repository: base-ex-cli

Usage

The executable is reachable by calling bex. Pick a converter of your choice from above and enjoy your data in your favorite way!

Examples:

// encoding from stdin
cat plain.txt | bex base64
printf "Hello World!" | bex ecoji_v2

// encoding from file
bex base32_rfc3548 plain.txt

// decoding from stdin
cat encoded.txt | bex base91 -d
echo 3432210a | bex base16 -d

// decoding from file
bex base16 encoded.txt -d

License

MIT

Copyright (c) 2023, UmamiAppearance