ipld/js-ipld-selector

Name: js-ipld-selector

Owner: IPLD

Description: null

Created: 2017-02-03 13:18:56.0

Updated: 2018-05-09 19:25:49.0

Pushed: 2017-12-22 13:37:53.0

Homepage: null

Size: 10

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

IPLD Selectors

Warning: this is a prototype far from being ready!

Usage

This selector actually implements multiple strategies:

See the examples for better introduction

.which(strategy, cid, selector, callback)

Which returns which subsets of the graphs have been matched.

..
me: "Jeromy", nick: "whyrusleeping"}


me: "Juan", nick: "jdag"}



me: "Nicola",
iends: [
{'/': "Qml1.."},
{'/': "Qml2.."}



ch('regex', cid3, '.*/name', callback)
'friends/0/name', 'friends/1/name' ]
ch('glob', cid3, '**/name', callback)
'friends/0/name', 'friends/1/name' ]
License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.