livi

0.0.3 • Public • Published

livi

Tool for working with bash file for json arrays

livi --json=test.json --each=test.sh

test.json

[
  {
    "lang": "TR"
  },
  {
    "lang": "EN"
  },
  {
    "lang": "FR"
  }
]

It is enough to write the keys #item and #item.name to access the array element

test.sh

echo #item.lang 

Readme

Keywords

Package Sidebar

Install

npm i livi

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • cond