0.1.1 • Published 6 years ago

zero-width-encoding-cli v0.1.1

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

zero-width-encoding-cli

A Node.js command-line application to encode and decode messages encoded with zero-width characters. Built off of umpox/zero-width-detection

Installation

# Install with npm
npm install -g zero-width-encoding-cli

# Install with yarn
yarn global add zero-width-encoding-cli

Usage

Use the -e flag to encode a message.

# Linux
zwe -e "hello world" | xclip -selection c

# macOS
zwe -e "hello world" | pbcopy

Use the -d flag to decode a message.

zwe -d "‌​​‌​‌‌‌‍‌​​‌‌​‌​‍‌​​‌​​‌‌‍‌​​‌​​‌‌‍‌​​‌​​​​‍‌‌​‌‌‌‌‌‍‌​​​‌​​​‍‌​​‌​​​​‍‌​​​‌‌​‌‍‌​​‌​​‌‌‍‌​​‌‌​‌‌"
# => hello world