Skip to content

dinoshauer/json-to-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-to-js

Got JSON but want JS?

Installation:

npm i -g json-to-js

Options:

--help/-h       Display this message
--spaces=2      Provide the indentation in spaces

Usefulnesses

Ever copied JSON just to reindent and format it to JS? Add this command as an alias to your .bashrc/whatever you use for that stuff:

pbpaste | json-to-js | pbcopy

About

Got JSON but want JS?

Resources

License

Stars

Watchers

Forks

Packages

No packages published