PDFKit kitchen sink

var PDFDocument = require("../js/pdfkit"); var tiger = require("./tiger"); var fs = require("fs"); // Create a new PDFDocument var doc = new PDFDocument(); doc.pipe(fs.createWriteStream("kitchen-sink.pdf")); // Set some meta data doc.info["Title"] = "

Cytoscape.js chai ie

// chai 2.3.0 works with ie9+ ;(function(){ /** * Require the module at `name`. * * @param {String} name * @return {Object} exports * @api public */ function require(name) { var module = require.modules[name]; if (!module

BitcoinJS ecpair

{ "valid": [ { "d": "0000000000000000000000000000000000000000000000000000000000000001", "Q": "0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "compressed": true, "network": "bitcoin", "address": "1

BitcoinJS embed

{ "valid": [ { "description": "output from output", "arguments": { "output": "OP_RETURN a3b147dbe4a85579fc4b5a1811e76620560e07267e62b9a0d6858f9127735cadd82f67e06c24dbc4" }, "options": {}, "expected": {

BitcoinJS p2ms

{ "valid": [ { "description": "output from output", "arguments": { "output": "OP_2 030000000000000000000000000000000000000000000000000000000000000001 030000000000000000000000000000000000000000000000000000000000000002 OP_2 OP_CHE

BitcoinJS ecdsa

{ "valid": { "ecdsa": [ { "d": "01", "k": "ec633bd56a5774a0940cb97e27a9e4e51dc94af737596a0c5cbb3d30332d92a5", "message": "Everything should be made as simple as possible, but not simpler.", "signature": {

BitcoinJS crypto

{ "hashes": [ { "hex": "0000000000000001", "hash160": "cdb00698f02afd929ffabea308340fa99ac2afa8", "hash256": "3ae5c198d17634e79059c2cd735491553d22c4e09d1d9fea3ecf214565df2284", "ripemd160": "8d1a05d1bc08870968eb8a81ad4393fd3

BitcoinJS bufferutils

{ "valid": [ { "dec": 0, "hex": "0000000000000000" }, { "dec": 1, "hex": "0100000000000000" }, { "dec": 252, "hex": "fc00000000000000" }, { "dec": 253, "hex": "fd00000000000000

BitcoinJS address

{ "standard": [ { "network": "bitcoin", "version": 0, "hash": "751e76e8199196d454941c45d1b3a323f1433bd6", "base58check": "1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH", "script": "OP_DUP OP_HASH160 751e76e8199196d454941c45d1b3a3

BitcoinJS block

{ "targets": [ { "bits": "1d00ffff", "expected": "00000000ffff0000000000000000000000000000000000000000000000000000" }, { "bits": "1b80ffff", "expected": "000000000000ffff0000000000000000000000000000000000000000000000