9 lines
177 B
JavaScript
9 lines
177 B
JavaScript
'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')
|
|
}
|