node.js - Change/ rewrite value in the package.json via the terminal -
i using 'cat package.json' view json file in terminal. because testing different modules, want replace main value can try different files entry point. : "main": "index.js", above rather change index.js via command line.
you can use vim (https://github.com/vim/vim) or nano (https://www.nano-editor.org/).
Comments
Post a Comment