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

ilp-connector-config

v1.0.2

Published

Tools for managing and configuring ilp-connector

Downloads

10

Readme

ilp-connector-config

A skeleton config for an ILP connector and some tools for mamnaging the config.

Installation

$ npm install -g ilp-connector-config

The content of ./etc/ilp-connector can be copied to /etc/ilp-connector on the connector server then modified as required. The content of ./home can be copied to the homedir of the user that will run ILP connector.

This can be automated by calling ilp-connector-config create.

ilp-connector

Supports 6 commands, create, test, restart, enable, disable and clean-channels

The following will copy the config skeleton into /etc/ilp-connector:

$ ilp-connector create

The following will enable the peer peer1:

$ ilp-connector enable peer1

The following will disable it:

$ ilp-connector disable peer1

The connector must still be restarted after changes. This can be done with:

$ ilp-connector restart

The config can also be tested first with:

$ ilp-connector test

The following will connect to the XRP ledger and look for all out going payment channels for this connector. For each of these it will look for incoming payment channels from the same account. If no incoming channels exist it will close the outgoing channels.

The first run will request that the channels are closed (which starts the expiry timer), the second run will finally close channels that have expired:

$ ilp-connector clean-channels

WARNING: This command asks no questions, it will close the outgoing channels it needs to without prompts.

More details on this project are available in the accompanying blog post: https://medium.com/interledger-blog/connector-operations-a1aa4cc6137a