npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rmg-palette

v1.0.9

Published

This repository contains

Readme

RMG Palette

This repository contains

  • city-config.json, a list of cities sorted by their English name in alphabetical order; and
  • [city].json, a list of colours used in the city's public transportation system.

Please follow the rules below to

  • Add colour standards for more cities;
  • Update colours; or
  • Add translations for cities or lines.

A typical example of an entry of city-config.json:

{
  "id": "sanfrancisco",
  // Same as the filename of colour list file
  "country": "US",
  // ISO 3166-1 alpha-2 code (for cities in Britain, append BS 6879 code)
  "name": {
    "en": "San Francisco",
    "zh-Hans": "旧金山",
    "zh-Hant": "三藩市"
    // Merge country variants if applicable
  }
}

A typical example of an entry of guangzhou.json:

{
  "id": "gz3",
  "name": {
    "en": "Line 3",
    "zh-Hans": "3号线",
    "zh-Hant": "3號線"
  },
  "colour": "#ECA154",
  "fg": "#000"
  // Optional if foreground colour is white
}

Reference

| City | Reference | |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Baku | Wikipedia, Official website | | Barcelona | All colours, except R8 | | Budapest | Wikipedia, Official website | | Bucharest | Wikipedia, Official website | | Cairo | Wikipedia, Official website | | Changsha | 【持续更新】【小玩具】铁路线路图生成器综合讨论帖-站前广场-地铁族 | | Chengdu | 2018.01.05 《成都市城市轨道交通线网导向系统设计导则》(报批稿) - 百度文库 | | Daegu | Wikipedia, Official website | | Dalian | Wikipedia, Official website | | Delhi | Wikipedia, Official website | | Dortmund | Wikipedia, Official website | | Edinburgh | Lothian City Buses - Lothian Buses | | Eskişehir | Wikipedia, Official website | | Foshan | Template:佛山地铁颜色 - 维基百科,自由的百科全书 | | Guangzhou | 不知道有没有火星。。-广 州 区-地铁族, Wikipedia | | Hangzhou | 【持续更新】【小玩具】铁路线路图生成器综合讨论帖-站前广场-地铁族 | | Harbin | Wikipedia, Official website, Data Source | | Istanbul | Wikipedia, Official website | | Kansai | JR West (Kansai area) | | Klang Valley | Wikipedia, Official website | | Lisbon | Wikipedia, Official website | | London | Colour standards - Transport for London | | Madrid | Metro and Light Rail except ML4, Cercanías and ML4 | | Nanjing | Template:南京地铁颜色 - 维基百科,自由的百科全书 | | Osaka | Osaka Metro | | Oslo | Ruter | | Paris | Map of the metro, RER, bus and tramway lines RATP | | Qingdao | 青岛地铁 - 维基百科,自由的百科全书 | | Saint Petersburg | Wikipedia, Official website | | Santiago | Wikipedia, Official website | | SaoPaulo | 申请提交圣保罗颜色, 圣保罗地铁官方网址, 圣保罗都市圈铁道官方网址, 圣保罗地铁6号线(工程官方网址) | | Shanghai | 《上海轨道交通网络近期规划建设线路标志色方案》征求市民意见公告 - 上海地铁, 模块:RailSystems/SHMetro - 维基百科,自由的百科全书 | | Shenzhen | 道路交通管理设施设置技术标准 第 5 部分: 交通枢纽客运服务标志(征求意见稿) Template:深圳地铁颜色 - 维基百科,自由的百科全书 | | Singapore | LTA | | Stockholm | SL | | Suzhou | Wikipedia, Official website | | Tehran | Wikipedia, Official website | | Tianjin | Template:天津轨道交通颜色 - 维基百科,自由的百科全书 | | Toronto | Signage Manual and Standards - Toronto Transit Commission | | Tyne and Wear | Nexus | | Vienna | Wikipedia, Official website | | Wuxi | Wikipedia, Official website | | Xiamen | Wikipedia, Official website | | Xian | Line 1-6, 9, Line 14, Line 8, 11 | | Zhengzhou | Wikipedia, Official website | | Shenyang | Wikipedia, Official website |

Notes

  • Hexachrome Green C for Line 4 of Chengdu not found.
  • 267C for Line 3 of Changsha is incorrect.