🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

stream-json-clipboard

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-json-clipboard

Stream a key from a json stream into your clipboard

0.1.0
latest
Source
npm
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

Stream JSON Clipboard

This is a utility to stream a key from a json stream into your clipboard.

Install

$ npm install stream-json-clipboard -g

Usage

$ stream-json-clipboard -k <key> [ flags ]

Example Usage

Right now this tool way built for a specific reason which was to automate the process of writting update emails. So in tandum with this module I built node-git-activity which makes streaming json data from commits very easy. Now I can do things like.

$ git-activity --me --json | stream-json-clipboard --humanize --prefix '- ' --key message

This will give me a nice, days worth, of comit messages explaining what I have done for that day. Now I just paste that information into my gmail.

Avaliable Flags

-k, --key       The key to copy to clipboard
-h, --humanize  Flag to change output to human readable ( removes dashs, slashs, etc )
-p, --prefix    Prefix each line with given input.

Keywords

text

FAQs

Package last updated on 07 Sep 2014

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