How to use the rw.writeSync function in rw

To help you get started, we’ve selected a few rw examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jbenet / transformer / transform-cli.js View on Github external
var write = function(output) {
    rw.writeSync('/dev/stdout', '' + output + '\n', 'utf8');
  }

rw

Now stdin and stdout are files.

BSD-3-Clause
Latest version published 8 years ago

Package Health Score

67 / 100
Full package analysis