pathetic
Get values by path-like keys
Install
npm install pathetic --save
Usage
var pathetic = ;var routes = ; var p = ; // OUTPUTS: {key: 'value'}var userPath = ; ;console;
API
pathetic(paths)
paths
- a key/value object containing the paths as the keys and anything for the values. This returns a method that lets you query against the table with a path. This uses Express-like paths and breaks out the parameters for your as well.
Run Tests
npm install
npm test