{"library":"tag2link","type":"library","category":null,"description":"tag2link provides formatter URLs for OpenStreetMap keys, enabling conversion of OSM tags into hyperlinks. Version 2026.5.21 is current, updated periodically from Wikidata and OSM Wiki via automated scripts (Python + npm). It replaces `$1` in URL templates with the tag value. Ships TypeScript types. Key differentiator: centralized, community-maintained mapping from OSM keys to authoritative external resources (e.g., Wikidata, OSM Wiki).","language":"javascript","status":"active","version":"2026.5.21","tags":["javascript","openstreetmap","tagging","tag2link","hyperlink","url-template","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install tag2link","imports":["import tag2link from 'tag2link'","import type { Tag2LinkData } from 'tag2link'","import { entries } from 'tag2link'"]},{"cmd":"yarn add tag2link","imports":[]},{"cmd":"pnpm add tag2link","imports":[]}],"homepage":"https://github.com/JOSM/tag2link","github":"https://github.com/JOSM/tag2link","docs":null,"changelog":null,"pypi":null,"npm":"tag2link","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}