Unfortunately I'm not that great at bash scripting and I cannot even begin to comprehend how to do something simple like modifying package.json using it. It's way easier for me to do these sort of manipulations using Node.js as there's native support.
libtemplate.js - Library Template
I solved that version number problem earlier at libtemplate.js, a template library of sorts. It's a library on top of which you can write a library of your own. How meta.It didn't feel right to include the script in the project. On the other hand I didn't want to pollute my bash namespace with it by putting a yet another script to my path. And besides, I've always wanted to write a little package manager of my own.
mankees - mankee see, mankee do
Crow and crow by antiuser (CC BY-NC-SA) |
If you ever wanted to write a package manager, say for frontend JavaScript, having a look at the implementation might give you some idea. On a more serious note please avoid doing that. We have enough of those already.