How to use the rw.readSync 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 read = function() {
    return rw.readSync('/dev/stdin', 'utf8').trim();
  }

rw

Now stdin and stdout are files.

BSD-3-Clause
Latest version published 8 years ago

Package Health Score

67 / 100
Full package analysis