Skip to content

Samoa (WS)

The @road-signs/ws package contains Samoa road signs.

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

Standard: New Zealand-derived (Land Transport Authority)

SVG sources:

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

import type { WSSign, WSCategory } from '@road-signs/ws';