wtemplatetreeresolver

0.4.302 • Public • Published

module::TemplateTreeResolver status experimental

Class to resolve tree-like data structures with links or paths in the structure. Use the module to resolve template or path to value.

Sample

var tree =
{
  b : [ 1, 2, 3 ],
};

var templateTree = new _.TemplateTreeResolver();
templateTree.tree = tree;
var b1 = templateTree.select( 'b/#1' );
console.log( 'b/#1 :', b1 );

Source code

Try out from the repository

git clone https://github.com/Wandalen/wTemplateTreeResolver
cd wTemplateTreeResolver
will .npm.install
node sample/trivial/Sample.s

Make sure you have utility willbe installed. To install willbe: npm i -g willbe@stable. Willbe is required to build of the module.

To add to your project

npm add 'wtemplatetreeresolver@stable'

Willbe is not required to use the module in your project as submodule.

Package Sidebar

Install

npm i wtemplatetreeresolver

Weekly Downloads

13

Version

0.4.302

License

MIT

Unpacked Size

62 kB

Total Files

7

Last publish

Collaborators

  • wandalen