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 🙏

© 2024 – Pkg Stats / Ryan Hefner

gatewayd-4

v4.0.0-alpha

Published

![Travis CI Build Status](https://api.travis-ci.org/gatewayd/gatewayd.svg?branch=develop) [![Coverage Status](https://coveralls.io/repos/gatewayd/gatewayd/badge.png?branch=develop)](https://coveralls.io/r/gatewayd/gatewayd?branch=develop)

Downloads

8

Readme

Travis CI Build Status Coverage Status

Gatewayd

Gatewayd (pronounced "gateway-dee") connects payments between Ripple and other Ledgers according to pre-set and dynamic rules, and maintains a historical database of payments through the gateway.

Installation

npm install -g gatewayd

gatewayd --help

Dependencies

  1. Node.js
  • The express web module is used to serve HTTP/JSON endpoints
  • A Basic Auth strategy is used for authentication of users, admin.
  • Several NPM modules must be globally installed: db-migrate, pg, forever, and mocha
  1. Postgres
  • The easiest way to get started with Postgres is by launching a free database hosted by Heroku
  • For local development on Mac the simplest installation is via the Postgres App by Heroku.
  • On Linux, you can generally install Postgres from your distro's package manager
  1. Ripple REST API
  • The Ripple REST API provides a simplified HTTP/JSON interface to all the Ripple protocol network operations, such as payments and other transactions.

Installation

Updating

The update process for gatewayd may change in the future, but for now, updating to a new version follows this process:

  1. Install any new npm modules needed by the new version npm install -g gatewayd
  2. Disable the current gateway processes. (This starts downtime) gatewayd stop
  3. Apply schema changes to the database, if the new version includes any. gatewayd migrate
  4. Restart the gatewayd processes. (This ends downtime) gatewayd start

Configuration

Gatewayd uses the $HOME/.gatewayd directory for configuration.

To specify a different directory, use the $GATEWAYD_PATH environment variable

Initializers

Initializers are functions that configure Gatewayd once each upon startup. Initializers are loaded from the directory at ~/.gatewayd/initializers

Running gatewayd

gatewayd --help

After installation, start the gateway processes by running the command:

gatewayd start

To run Gatewayd as a background daemon use the d or --daemonize flag, which will start the pm2 process manager to run gatewayd in the background....

gatewayd start -d

Stop Gatewayd in daemon mode, which kills all pm2 managed processes::::

gatewayd stop