0.1.1 • Published 6 years ago

electrum-host-parse v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

node-electrum-host-parse

NPM
Build Status Coverage Status

electrum peer string parser

spec

install

npm i electrum-host-parse

usage

  • jscode
const parse = require('electrum-host-parse')
const hostobject = parse.parsePeerString("electrum-mona.bitbank.cc s50002 t50001")
console.log(hostobject)
  • typescript
import * as parse from 'electrum-host-parse'
const hostobject = parse.parsePeerString("electrum-mona.bitbank.cc s50002 t50001")
console.log(hostobject)
  • result
{ host: 'electrum-mona.bitbank.cc',
  ssl: 50002,
  tcp: 50001,
  pruning: null,
  http: null,
  https: null }
0.1.1

6 years ago

0.1.0

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

7 years ago

0.0.1

7 years ago