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

mockba

v0.3.7

Published

<a href=https://рантайм.москва> <img src="https://рантайм.москва/img/MOCKBA-npm.jpg"> </a>

Readme

MOCKBA

Aims to provide access to Moscow services via unified city runtime https://рантайм.москва.

yarn add mockba
yarn MOCKBA # use global binary

Capabilities

Weather

Currently displays data from Hydrometcenter for Moscow.

Weather in Moscow on Jan 30 2026, 9 PM

⬇️  Atm. pressure        752 mm
🧊 Temperature          -15.9°C
💧 Humidity             75%
🧭 Wind                 N
🌬️ Wind speed            1 m/s
👀 Visibility           20km

┬ 📈 Long term observations:
├─ ⛄️   -35.7°C in 1956, 70 years ago
├─ 🥵       3°C in 2016, 10 years ago
└─ 🌧️      +10mm in 1983, 43 years ago
┬ 📊 Monthly averages since 1981-2010:
├─🌡️     Temperature     -6.5°C
└─ 🌧️    Precipitation   52mm

API

The package can be imported directly and run with configuration:

var МОСКВА=require('MOCKBA')

var москва = new MOCKBA({
 translate: 'ru',
 skip: ['страна','регион','местоположение'],
})
москва()

CLI

By default, the package' binary MOCKBA outputs the relevant meteorological information about the city in the local human-readable format which is equivalent to invoking the API example above.

Погода в Москве на 30 янв. 2026 г. 21:00

⬇️  Атм. давление        752 мм рт.ст.
🧊 Температура          -15.9°C
💧 Влажность            75%
🧭 Ветер                северный
🌬️ Скорость ветра        1 м/с
👀 Видимость            20км

┬ 📈 Долгосрочныеы наблюдения:
├─ ⛄️   -35.7°C в 1956, 70 лет назад
├─ 🥵       3°C в 2016, 10 лет назад
└─ 🌧️       10мм в 1983, 43 лет назад
┬ 📊 Среднемесячные показатели с 1981-2010:
├─🌡️     Температура     -6.5°C
└─ 🌧️    Осадки          52мм

The package can work in either json/js mode or in human-readable mode (default). To support printing in a translation, pass target language like -ru.

{
 "country": "RUSSIA",
 "region": "RUSSIA",
 "location": "RUSSIA",
 "observation_time": "January, 30 21:00",
 "atmospheric_pressure_mm": 752,
 "temperature_C": -15.8,
 "relative_humidity_percent": 76.4,
 "wind_direction": "N",
 "wind_speed_m_s": 1,
 "horizontal_visibility_km": 20,
 "long_term_obs": {
  "min_temperature": -35.7,
  "min_temp_year": "1956",
  "max_temperature": 3,
  "max_temp_year": "2016",
  "max_precipitation_mm": 10,
  "max_precip_year": "1983"
 },
 "monthly_averages": {
  "temperature_C": -6.5,
  "precipitation_mm": 52,
  "averaging_period": "1981-2010"
 }
}
{
 "страна": "RUSSIA",
 "регион": "RUSSIA",
 "местоположение": "RUSSIA",
 "время_наблюдения": "January, 30 21:00",
 "атмосферное_давление_мм_рт_ст": 752,
 "температура_°C": -15.9,
 "относительная_влажность_процент": 75,
 "направление_ветра": "N",
 "средняя_скорость_ветра_м_с": 1,
 "горизонтальная_видимость_км": 20,
 "долгосрочные_наблюдения": {
  "мин_температура_°C": -35.7,
  "год_мин_температуры": "1956",
  "макс_температура_°C": 3,
  "год_макс_температуры": "2016",
  "макс_осадки_мм": 10,
  "год_макс_осадков": "1983"
 },
 "среднемесячные_показатели": {
  "средняя_температура_°C": -6.5,
  "осадки_мм": 52,
  "период_осреднения": "1981-2010"
 }
}
{
  country: 'RUSSIA',
  region: 'RUSSIA',
  location: 'RUSSIA',
  observation_time: 'January, 30 21:00',
  atmospheric_pressure_mm: 752,
  temperature_C: -15.9,
  relative_humidity_percent: 75,
  wind_direction: 'N',
  wind_speed_m_s: 1,
  horizontal_visibility_km: 20,
  long_term_obs: {
    min_temperature: -35.7,
    min_temp_year: '1956',
    max_temperature: 3,
    max_temp_year: '2016',
    max_precipitation_mm: 10,
    max_precip_year: '1983'
  },
  monthly_averages: {
    temperature_C: -6.5,
    precipitation_mm: 52,
    averaging_period: '1981-2010'
  }
}
{
  'страна': 'RUSSIA',
  'регион': 'RUSSIA',
  'местоположение': 'RUSSIA',
  'время_наблюдения': 'January, 30 21:00',
  'атмосферное_давление_мм_рт_ст': 752,
  'температура_°C': -15.8,
  'относительная_влажность_процент': 76.4,
  'направление_ветра': 'N',
  'средняя_скорость_ветра_м_с': 1,
  'горизонтальная_видимость_км': 20,
  'долгосрочные_наблюдения': {
    'мин_температура_°C': -35.7,
    'год_мин_температуры': '1956',
    'макс_температура_°C': 3,
    'год_макс_температуры': '2016',
    'макс_осадки_мм': 10,
    'год_макс_осадков': '1983'
  },
  'среднемесячные_показатели': {
    'средняя_температура_°C': -6.5,
    'осадки_мм': 52,
    'период_осреднения': '1981-2010'
  }
}