Skip to content
/ jsstd Public

A tool for running js code from concatenated stdin and parameters

Notifications You must be signed in to change notification settings

beothorn/jsstd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jsstd

A tool for running js code from concatenated stdin and parameters.

If you want to process a json from the command-line you can use vanilla javascript.

#Picachu moves starting with s
curl -s 'https://pokeapi.co/api/v2/pokemon/pikachu/' | \
  jsstd -e ".moves.map(m=>m.move.name).filter(n=>n.startsWith('s'))"

To install clone this repo and execute

npm install -g

About

A tool for running js code from concatenated stdin and parameters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published