0.0.2 • Published 7 years ago

araneo v0.0.2

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

Araneo

NPM

Helper for validation and getting value by path

How to use

CommonJs

import araneo from 'araneo';

const obj = araneo({foo: 'bar'});
obj.node().value;

RequireJs

const araneo = require('araneo');

const obj = araneo({foo: 'bar'});
obj.node().value;

API reference

node(path)

  • path: path string (for example 'toc.chapter')

Return araneo Node object.

Node reference

Pipe methodArgumentsDescription
isStringnonecheck is node object is string
isExistnonecheck is node object is exist
isNumbernonecheck is node object is number

© Alexander Pokhodyun (Karbunkul) 2017