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

sa-parks

v1.0.2

Published

south australian parks - features and facilities

Readme

SA Parks

Public methods to public parks. A list of parks in South Australia, their features and facilities.

Getting Started

Installing

sa-parks is available on npm. Simply npm install it.

$ npm install --save sa-parks

To use in a browser add the following to your <head> tag

<script src="https://unpkg.com/[email protected]/dist/index.umd.js"></script>

Using

In node:

import parks from ('sa-parks')

On the web:

const parks = window.parks

all property

Contains all info on every park.

console.log(parks.all)
/*
[
    {
        name: "Fort Glanville Conservation Park",
        link: "http://www.environment.sa.gov.au/parks/Find_a_Park/Browse_by_region/Adelaide/Fort_Glanville_Conservation_Park",
        description: "Fort Glanville Conservation Park represents a significant period in South Australia's European colonial history. The fort was built in 1880 and has remained largely unaltered. The fort can be hired for a variety of uses including concerts and community activities. The parade ground and visitor centre (which has kitchen facilities) are also available for hire. On the third Sunday afternoon of every month, between September and May, witness the spectacle of a full historical re-enactment by Fort Glanville Association members. In full military costume they recreate the past with military drill demonstrations, including cannon firing.",
        location: {
            description: "Fort Glanville Conservation Park is located 12km north west of Adelaide. Access is via Military Road. Public transport to this park from Adelaide CBD is available. ",
            latitude: -34.851804,
            longitude: 138.478072
        },
        openingHours: "Every third Sunday of the month, from 1pm to 5pm between September and May.",
        nrmRegion: [
            "Adelaide and Mt Lofty Ranges"
        ],
        satcRegion: [
            "Adelaide"
        ],
        fireBanDistrict: [
            "Adelaide Metropolitan"
        ],
        facilities: [
            "Toilets",
            "Guided Tours",
            "Public Transport"
        ],
        experiences: [ ]
    },

...
]

names property

Returns a list of every park's name

console.log(parks.names)
/*
    [
        "Morialta Conservation Park",
        ...
    ]
*/

random method

Returns one park at random.

console.log(parks.random())
/*
    [
        "Morialta Conservation Park",
        ...
    ]
*/

Contributing

This is a toy library for my own personal learning experiences. I'm not expecting or accepting any contributions at this time.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

The data upon which this project is sourced is licensed under the CC BY 4.0 license.

Acknowledgments

  • Data sourced from data.sa.gov.au January 22nd 2017.
  • Thanks to @kentcdodds for his [egghead.io] video series How to Write an Open Source JavaScript Library(https://egghead.io/courses/how-to-write-an-open-source-javascript-library) upon which most of the code and configuration in this repository is based.