Use JavaScript data in the bash
JavaScript Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
test
LICENSE
README
index.js
package.json

README

Use JavaScript data in the bash

This is useful to reuse config data in bash scripts.



Data types

JavaScript data types that are currently supported are number, string and boolean, since they can be easily converted to a bash compatible representation.
No recursive objects or arrays are supported.



Installation

npm install js2bash