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

atmosx-pulse-point

v1.0.36

Published

AtmosphericX PulsePoint - Built for standalone and Project AtmosphericX Integration.

Readme

Installation (NPM)

npm install atmosx-pulse-point

Example Usage

const { PulsePoint } = require(`atmosx-pulse-point`); // CJS
import { PulsePoint } from `atmosx-pulse-point`; // ESM

const pulse = new PulsePoint({
    key: `YOUR_PASSWORD_KEY_FOR_DECRYPTION`, // Not provided by PulsePoint, you must obtain this key yourself.
    interval: 30, // Polling interval in seconds (default: 60)
    jorunal: true, // Enable journaling for debug messages (default: true)
    filtering: {
        events: ["Mutual Aid", "Structure Fire"], // Leave empty to allow all event types
        agencies: ["FIRE5678", "EMS1234"], // This must be populated, leaving empty will NOT return any data.
    }
})

Decryption Key

By default, PulsePoint encrypts its data using client-side encryption. To decrypt the data, you need to provide a decryption key when initializing the module. This key is not provided by PulsePoint, and you must obtain it yourself. This module is really only to be used by those who already have access to the decryption key so they can integrate PulsePoint data into their own applications. Please ensure you comply with all relevant laws and regulations regarding the use of this data as I do not take any responsibility for how you use this module or the data it retrieves.

Events and Listeners

Event onIncidentUpdate

This event listener is triggered whenever there is an update or new event in the incident data. The callback function receives an array of the incident objects and can be used to process or display the data as needed.

pulse.on(`onIncidentUpdate`, (incident) => {
    console.log(incident);
});

Event onIncidentClosed

This event listener is triggered when an incident is closed. When received, you should dispose of the incident data to maintain an accurate live view of active events.

pulse.on(`onIncidentClosed`, (incidentID) => {
    console.log(incidentID);
});

Event Log

The log listener captures log messages generated during the module's operation. This can be useful for debugging or monitoring the module's activity. This is mostly used when journaling is disabled. Otherwise, log messages will be displayed in the console directly.

pulse.on(`log`, (message) => {
    console.log(`[Log]: ${message}`);
});

Callbacks and Functions

Function getAvailableAgencies()

This asynchronous function retrieves a list of available agencies from the PulsePoint data source. It returns an array of agency identifiers that can be used for filtering or other purposes.

pulse.getAvailableAgencies().then((agencies) => {
    console.log(agencies);
});

Function getAvailableEvents()

This function retrieves a list of available event types from the PulsePoint data source. It returns an array of event type strings that can be used for filtering or other purposes.

pulse.getAvailableEvents()

Function setSettings({})

This function allows you to update the module's settings dynamically. You can change parameters such as the polling interval, journaling preference, and filtering options.

pulse.setSettings({
    interval: 45, // Update polling interval to 45 seconds
    journaling: false, // Disable journaling
    filtering: {
        events: ["Medical Emergency"], // Update event filtering
        agencies: ["FIRE1234"], // Update agency filtering
    }
});

Function stop()

This function stops the polling process. It can be used when you want to temporarily halt data retrieval without destroying the module instance.

pulse.stop();

References

Acknowledgements

  • CJ Ziegler
    • For inspiring me to create this module for storm spotting and night crawling streams.
    • Storm Spotter @ AtmosphericX
  • k3yomi
    • Lead developer @ AtmosphericX and maintainer of this module.
  • StarflightWx
    • For testing and providing feedback (Co-Developer and Spotter @ AtmosphericX)