joql

0.0.2 • Public • Published

Build Status

(J)SON (O)bject (Q)uery (L)anguage

Fetch data from your JSON files with SQL queries.

joql "SELECT u.name, u.phone AS contacts.phone, c.name AS country.name
        FROM './users.json' AS u
        JOIN './countries.json' AS c ON (u.countryId = c.id)
       WHERE u.active = TRUE;" > ./joined.json

Readme

Keywords

Package Sidebar

Install

npm i joql

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • asdf404