Browse Source

fix usage example

master
Javier Cejudo 9 years ago
parent
commit
b79ac4f123
  1. 2
      readme.md

2
readme.md

@ -16,7 +16,7 @@ $ npm install --save get-stdin
// example.js
const stdin = require('get-stdin');
stdin.then(x => {
stdin().then(x => {
console.log(x);
//=> 'unicorns'
});

Loading…
Cancel
Save