Skip to content

Tonga (TO)

The @road-signs/to package contains Tonga road signs.

Terminal window
npm install @road-signs/to
import { signs, getSign, getSignByCode, getSignsByCategory } from '@road-signs/to';
// Example below uses the real TO sign "STOP" — adjust to taste.
// All signs
signs.length;
// By slug ID
const sign = getSign("stop-stop");
// By sign code
const s = getSignByCode("STOP");
// All priority signs
const filtered = getSignsByCategory("priority");
Metric Value
Signs scraped 2
Signs with SVG 2
Missing SVG 0
Overall 100%
Category Scraped With SVG Missing %
priority 2 2 0 100%

Standard: British-derived (Traffic Act)

SVG sources:

Coverage data is also published in the @road-signs/docs package.

import type { TOSign, TOCategory } from '@road-signs/to';