2.0.1 • Published 7 years ago

acamani v2.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

Acamani

A minimal utility to describe & resolve paths within JSON objects.

npm version npm downloads build status coverage status

This package provides a single class, JSONPath, which extends the JavaScript Array class.

A JSONPath is an array of the properties that you have to successively access, in order to resolve the path.

To resolve the path within an object, call the asynchronous method jsonPath.resolve(object[, callback]). If an (asynchronous) callback is provided, it will receive the value matching the path and replace it, within the object, with its return value.

Copyright & license

Copyright 2018 Ludovic Cyril Michel. Licensed under MIT.

2.0.1

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago