Skip to content
Myr

noop-verbose.js

This file

Path

test/fixtures/noop-verbose.js

12 lines · 220 bytes · JavaScript

Last changed by

Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348

History of this file

Take it

Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348

lines 1–12why, one step back
1#!/usr/bin/env node
2import process from 'node:process';3import {sendMessage} from '../../index.js';45const bytes = process.argv[2];6console.log(bytes);78try {9 await sendMessage(bytes);10} catch {}1112process.exitCode = 2;