Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 773B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # dev-null [![build status](https://secure.travis-ci.org/thlorenz/dev-null.png)](http://travis-ci.org/thlorenz/dev-null)
  2. `/dev/null` for node streams
  3. Use it whenever you need to interrupt stream flow for instance if you want to log the state of a stream instead of its
  4. output.
  5. ```js
  6. // without devnull
  7. var numbers = require('../test/fixtures/number-readable')
  8. numbers({ to: 2 })
  9. .on('data', function (d) { console.log(d.toString()) });
  10. // =>
  11. // 0
  12. // 1
  13. // 2
  14. ```
  15. ```js
  16. // piping into devnull
  17. var devnull = require('dev-null');
  18. var numbers = require('../test/fixtures/number-readable');
  19. numbers({ to: 2 })
  20. .pipe(devnull())
  21. .on('data', function (d) { console.log(d.toString()) });
  22. // => (no output)
  23. ```
  24. ## Installation
  25. npm install dev-null
  26. ## License
  27. MIT