Moldova (MD)
The @road-signs/md package contains Moldova road signs from the Vienna Convention.
Signs are sourced from Wikimedia Commons and are in the public domain.
Installation
Section titled “Installation”npm install @road-signs/mdSign categories
Section titled “Sign categories”| Category | Series | Description |
|---|---|---|
warning |
Warning | Hazard and warning signs |
priority |
Priority | Priority and right-of-way signs |
prohibitory |
Prohibitory | Prohibition and restriction signs |
mandatory |
Mandatory | Mandatory instruction signs |
information |
Information / Service / Tourist / Additional | Information, service, tourist, and additional plate signs |
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/md';
// Example below uses the real MD sign "M3" — adjust to taste.
// All signssigns.length;
// By slug IDconst sign = getSign("m3-moldova-roadsign");
// By sign codeconst s = getSignByCode("M3");
// All information signsconst filtered = getSignsByCategory("information");import { getSignsByCategory } from '@road-signs/md';import { RoadSign } from '@road-signs/react';
const informationSigns = getSignsByCategory("information");
export default function MDGrid() { return ( <div style={{ display: 'flex', gap: 8, flexWrap: 'wrap' }}> {informationSigns.map((sign) => ( <RoadSign key={sign.id} sign={sign} size={64} /> ))} </div> );}<script setup>import { getSignsByCategory } from '@road-signs/md';import { RoadSign } from '@road-signs/vue';
const informationSigns = getSignsByCategory("information");</script>
<template> <div style="display:flex;gap:8px;flex-wrap:wrap"> <RoadSign v-for="sign in informationSigns" :key="sign.id" :sign="sign" :size="64" /> </div></template>Coverage
Section titled “Coverage”| Metric | Value |
|---|---|
| Signs scraped | 296 |
| Signs with SVG | 294 |
| Missing SVG | 2 |
| Overall | 99% |
| Category | Scraped | With SVG | Missing | % |
|---|---|---|---|---|
warning |
51 | 49 | 2 | 96% |
priority |
7 | 7 | 0 | 100% |
prohibitory |
39 | 39 | 0 | 100% |
mandatory |
25 | 25 | 0 | 100% |
information |
174 | 174 | 0 | 100% |
Standard: Vienna Convention
SVG sources:
Coverage data is also published in the @road-signs/docs package.
TypeScript types
Section titled “TypeScript types”import type { MDSign, MDCategory } from '@road-signs/md';