digger-bundle
A bundle of digger modules that make up the standard container API.
- digger-container - wrapper for model data
- digger-find - searches local models
- digger-selector - parses selectors into query objects
- digger-contracts - create HTTP request objects from containers
- digger-radio - PUB/SUB client for a container namespace
- digger-xml - XML parser and stringify for container data
- digger-utils - general shared util functions
install
$ npm install digger-bundle
usage
The module exports a digger-container but with the prototype augmented with find, selector and contract modules.
var Container = ; // make containers as normalvar container = // the prototype has the find api so we can searchvar results = container;resultsshould; // it also has contracts so we can selectvar contract = ; contracturlshould;contractmethodshould; // and XML so we can parse XML stringsvar xmlcontainer = ; container; var folderresult = container; folderresultshould; // radio is there so we can pub/subvar radio = container; radio radio;
licence
MIT