.. | ||
.tagExamples | ||
__tests__ | ||
.babelrc | ||
.npmignore | ||
BuildingAProfile.md | ||
index.js | ||
interpret.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
RuleSet.js |
StressMap interpreter
CLI program that generates a stress score based on a RuleSet JSON file and a tag object.
Installation
npm i mapcomplete-stressmap
How to use
This program can be used from the command line interface:
node mapcomplete-stressmap [ruleset.json] [tags object]
Example tags:
{
"cyclestreet": "yes",
"highway": "residential", // Expect "yes"
"maxspeed": "30",
"surface": "asphalt"
}
Guidelines on JSON Ruleset (from AspectedRouting)