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

@sanur/australian-camping-data

v1.0.0

Published

Australian public holidays, school holidays, postcode geocoding, and camping checklist data — as JSON files and a typed npm package.

Readme

Australian Camping Data

Australian public holidays, school holidays, postcode geocoding, and camping checklist data — as JSON files and a typed npm package.

License: MIT

What's included

| Dataset | Format | Records | Source | |---------|--------|---------|--------| | Public holidays (all states) | JSON | 2026–2027 | State government gazettes | | School holiday periods | JSON | 2026, 8 states/territories | State education departments | | Postcode geocoding | JSON, CSV | 3,174 postcodes | matthewproctor/australianpostcodes (CC0) | | Camping checklist | JSON | 9 categories, 50+ items | CampWatch team | | Haversine distance | TypeScript | — | — | | Long weekend detection | TypeScript | — | — |

Interactive tools

Try the data live at sanur16.github.io/australian-camping-data:

Install

npm install australian-camping-data

Usage

import {
  getPublicHolidays,
  isSchoolHoliday,
  lookupPostcode,
  resolveChecklist,
  haversineDistance,
  getLongWeekends,
} from 'australian-camping-data';

// Get NSW public holidays for 2026
const holidays = getPublicHolidays(2026, 'NSW');
// => [{ date: "2026-01-01", name: "New Year's Day", states: [] }, ...]

// Check if a date falls in school holidays
isSchoolHoliday('2026-07-05', 'NSW'); // true (winter holidays)

// Postcode geocoding
lookupPostcode('2000'); // { lat: -33.8688, lng: 151.2093 }

// Smart camping checklist (adapts to missing facilities)
const checklist = resolveChecklist(
  ['toilets', 'drinking water'],  // facilities available
  ['car'],                         // site types
  ['hiking']                       // activities
);

// Distance between two points
haversineDistance(-33.8688, 151.2093, -34.4248, 150.8931); // ~68.9 km

// Find long weekends
getLongWeekends(2026, 'NSW');
// => [{ startDate: "2026-04-03", endDate: "2026-04-06", nights: 3, holidays: ["Good Friday", ...] }, ...]

Using raw JSON

You can import the JSON data directly without using the TypeScript helpers:

import holidays from 'australian-camping-data/data/holidays/2026.json';
import schoolHolidays from 'australian-camping-data/data/school-holidays/2026.json';
import postcodes from 'australian-camping-data/data/postcodes/au-postcodes.json';
import checklist from 'australian-camping-data/data/camping/checklist.json';

CSV format is also available for postcodes: data/postcodes/au-postcodes.csv

Data accuracy

  • Public holidays: Sourced from state government gazettes. Covers national and state-specific holidays for all 8 states/territories.
  • School holidays: Sourced from state education department term date publications. Dates may shift slightly — check official sources for final confirmation.
  • Postcodes: Derived from matthewproctor/australianpostcodes (CC0). Coordinates rounded to 4 decimal places (~11m precision).
  • Camping checklist: Curated by the CampWatch team based on experience across 1,000+ Australian campgrounds.

Contributing

We welcome contributions:

  • Public holiday or school holiday data for future years
  • Additional state-specific holidays we may have missed
  • Corrections to postcode coordinates
  • Camping checklist improvements

Please open an issue or PR.

About

This data is maintained by the team behind CampWatch — a free campsite availability alert service for Australia. CampWatch monitors national park campgrounds and texts you when booked-out sites open up.

License

MIT