test-action-debian-package/node_modules/sonic-boom/example.js

9 lines
177 B
JavaScript
Raw Normal View History

2020-03-26 14:37:35 +00:00
'use strict'
const SonicBoom = require('.')
const sonic = new SonicBoom(process.stdout.fd) // or 'destination'
for (var i = 0; i < 10; i++) {
sonic.write('hello sonic\n')
}