@usebruno/query
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

bruno-query

Bruno query with deep navigation, filter and map support

Easy array navigation

get(data, 'customer.orders.items.amount')

Deep navigation .. double dots

get(data, '..items.amount')

Array indexing

get(data, '..items[0].amount')

Array filtering [?] with corresponding filter function

get(data, '..items[?].amount', i => i.amount > 20) 

Array mapping [?] with corresponding mapper function

get(data, '..items[?].amount', i => i.amount + 10) 

Publish to Npm Registry

npm publish --access=public

Readme

Keywords

none

Package Sidebar

Install

npm i @usebruno/query

Weekly Downloads

17,901

Version

0.1.0

License

none

Unpacked Size

13 kB

Total Files

10

Last publish

Collaborators

  • anoopmd