0.0.4 • Published 6 years ago

wco v0.0.4

Weekly downloads
2
License
Unlicense
Repository
github
Last release
6 years ago

Wikitext Coordinates

wco extract coordinates from MediaWiki Templates. It knows the {{coord}} and {{coordinate}} markup variants.

Usage

wco( article[, strict, title]);

  • article – mediawiki markup text
  • strict – if true, only coordinates relating to the article itself are returned (display=title or article=/)
  • title – shown in debug output

Example

var wco = require("wco");

var coords = wco('{{Coord|13.24|52.31|display=t}}', true);
0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago