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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Warning: this is a prototype far from being ready!
This selector actually implements multiple strategies
:
glob
regex
See the examples for better introduction
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' ]
MIT