Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

radiant-maxar/mapcss-parse

Repository files navigation

mapcss-parse 🌍🌎🌏

MapCSS parser for OpenStreetMap tagging validation

About

MapCSS is the file format JOSM uses to express custom tag validation rules. mapcss-parse makes this format and the rules it can express available to JavaScript and node applications.

See here and here for more info about JOSM's use of MapCSS for tag validation rules.

Development

the project was developed using node 10.7.0 as it makes use of JavaScript's awesome new Lookbehinds!

get nvm on linux/macOS!

get nvm on windows!

...on both operating systems

nvm install 10.7.0 && nvm use 10.7.0 
yarn install # or npm install

Test

yarn test # or npm test

Build the source

yarn build # or npm run build