UNPKG
txho
Version:
latest (3.1.0)
3.1.0
3.0.5
3.0.3
3.0.2
3.0.1
3.0.0
2.0.2
2.0.1
2.0.0
1.0.1
Get a Bitcoin transaction as JSON for CLI and node
github.com/bicomedia/txho
bicomedia/txho
txho
/
dist
/
index.js
14 lines
(13 loc)
•
298 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict"
;
exports
.
__esModule
=
true
;
var
txid =
require
(
"./fromTxid"
);
var
rawtx =
require
(
"./fromRawtx"
);
exports
[
"default"
] = {
from
: {
txid
: txid,
rawtx
: rawtx } };
if
(
require
&&
require
.
main
===
module
) {
console
.
error
(
'Please use "cli" instead of "index"'
); }