jippy
v1.0.2
Published
CLI tool for formatting plain-text lists into various formats (JSON array, JS array, etc.)
Downloads
1
Maintainers
Readme
Jippy
A simple command-line utility for converting a line-separated list of strings from your clipboard to a JSON array. Compatible with Windows, MacOS and Linux.
Uses Clipboardy behind the scenes.
Installation
npm i -g jippy
Usage
- Copy any line-separated list to your clipboard. E.g.
Array index #0
Array index #1
foo
bar
- Run
jippy
to read and parse your clipboard.
- Convert!
Result:
["Array index #0","Array index #1","foo","bar"]
Alternative usage
If you'd like to convert your clipboard directly, skipping the formatting wizard, supply --instant
or -i
.
jippy -i
License
This repository is licensed under the ISC license.
Copyright (c) 2021, Jørgen Vatle.