AspectedRouting/javascript
2021-07-20 14:12:06 +02:00
..
.tagExamples Changes to executable from CLI & Adds some README info 2021-07-20 11:28:22 +02:00
__tests__ Last commit of week 2 2021-07-15 17:00:54 +02:00
.babelrc Last commit of week 2 2021-07-15 17:00:54 +02:00
.npmignore Adds npmignore 2021-07-20 12:31:47 +02:00
BuildingAProfile.md Changes to executable from CLI & Adds some README info 2021-07-20 11:28:22 +02:00
index.js Changes to executable from CLI & Adds some README info 2021-07-20 11:28:22 +02:00
interpret.js Refactoring 2021-07-20 14:12:06 +02:00
package-lock.json Last commit of week 2 2021-07-15 17:00:54 +02:00
package.json Changes to executable from CLI & Adds some README info 2021-07-20 11:28:22 +02:00
README.md Changes to executable from CLI & Adds some README info 2021-07-20 11:28:22 +02:00
RuleSet.js Refactoring 2021-07-20 14:12:06 +02:00

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)

Building a Profile