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 🙏

© 2025 – Pkg Stats / Ryan Hefner

open-waters

v1.0.4

Published

Open Waters allows simple integration of decentralized Hedera Hashgraph technology into existing projects using the Armada Platform

Readme

Open Waters

Open Waters is the simplest method to add Hedera Hashgraph to your supply chain or software. Using the Armada Platform, Open Waters offers straight forward interactions with Hedera Hashgraph including account creation, and sending data. Open Waters can also be used to access the benefits of the Armada Platform for data organization, conditional flows and managing supply chain interactions.

How to use

const ow = require('open-waters')

// Init an open water client without api key
let client = ow()

// The return client exports only one function "account.create"
const account = await client.account.create('username', '[email protected]','name', 'company')

// Re-init an open water client with api key created from account
client = ow(account.privateKey)

// Now you can access full functions

Functions:

Account

Account functions handle account creation and management on the Armada Platform and Hedera Hashgraph.

create

- Creates Armada account with associated Hedera Hashgraph account. The Armada ID is used as an identifier for functions and activities on the platform.   

get

- Calls account information by the Armada ID.

myAccount

- Returns information about the caller's account.

update

- Updates account information for Armada ID. 

Flow

Flows are data sets on the Armada Platform for supply chain processes. Each flow is represented as Hedera Consensus Topic on Hedera Hashgraph. A flow can consists of steps to create conditional logic in the supply chain.

create

- Creates a flow. A flow can be of two types: Track and Trace which includes the steps structure or Data Audit which serves as a transaction list. 

get

- Get returns flow information for Flow ID.

list

- Returns all flows associated with caller's ID.

update

- Update flow information for Flow ID.

Data

Data functions handle interactions with Armada Flows/Hedera Consensus Topics. To be used mainly with Data Audit Flows.

get

- Retrieves data from Armada Flow/Consensus Topic in list format

push

- Push data to Armada Flow/Consensus Topic. Option to encrypt data.

Step

Step functions handle creation and updates for steps in a track & trace flow.

create

- Create step for flow.

get

- Get flow. 

listByFlow

- Lists all steps 

remove

- Removes a specific step from flow.

update

- Updates step parameters in flow. 

validate

- Validate is called by validator in step to approve steps completion. Flow then proceeds to next step. 

Dataset

Data sets are data structures for a specific step in a flow. This can be for example x amount of goods manufactured, or y amount of goods received.

create

- Create a data set.

get

- Get information for data set by ID. 

list

- List all data sets. 

remove

- Remove a data set by ID.

update

- Update data set by ID.

Document

Document function allows user to upload a document to the Armada Platform which is then hashed and sent to Hedera Hashgraph.

upload

- Upload document.

Working with the Armada Platform

If interested in using the Armada Platform in your supply chain or company, contact us at [email protected].

License

See LICENSE for details. Armada Chain Inc 2020