• File: example.js
  • Full Path: /var/www/nodejs/simo_meps_file_script/node_modules/sonic-boom/example.js
  • Date Modified: 02/28/2025 8:55 PM
  • File size: 185 bytes
  • MIME-type: text/plain
  • Charset: utf-8
'use strict'

const SonicBoom = require('.')
const sonic = new SonicBoom({ fd: process.stdout.fd }) // or 'destination'

for (let i = 0; i < 10; i++) {
  sonic.write('hello sonic\n')
}