lnsocket

A minimal C library for connecting to the lightning network
git clone git://jb55.com/lnsocket
Log | Files | Refs | Submodules | README | LICENSE

commit 8fe8229efb265b6e5ded28a78735a25a2d664fbb
parent ba8047b8fa01bb60e2609dbc7c7855224445be6a
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 16 Mar 2022 16:17:16 -0700

nodejs example

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
M.gitignore | 3++-
Aexamples/README.md | 7+++++++
Aexamples/package.json | 18++++++++++++++++++
Mpackage.json | 2+-
4 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -11,6 +11,7 @@ /target TODO.bak *.a -/node_modules +node_modules +package-lock.json /libsodium*.tar.gz /deps diff --git a/examples/README.md b/examples/README.md @@ -0,0 +1,7 @@ + +# Examples + +## nodejs + + $ npm install + $ node node.js diff --git a/examples/package.json b/examples/package.json @@ -0,0 +1,18 @@ +{ + "name": "examples", + "description": "lnsocket examples", + "version": "0.1.0", + "repository": { + "url": "https://github.com/jb55/examples" + }, + "main": "node.js", + "scripts": { + "test": "tap test/*.js" + }, + "dependencies": { + "lnsocket": "^0.2.0" + }, + "devDependencies": { + "tap": "~0.2.5" + } +} diff --git a/package.json b/package.json @@ -1,7 +1,7 @@ { "name": "lnsocket", "description": "Connect to the lightning network", - "version": "0.1.0", + "version": "0.2.0", "repository": { "url": "https://github.com/jb55/lnsocket" },