Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttesler committed Oct 13, 2017
1 parent d69b61c commit d4407fe
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,15 @@ It acts in the same way as cowsay, so consult `yodasay(1)` or run `yodasay -h`

yodasay can be used as any other npm dependency

var yodasay = require("yodasay");
```js
var yodasay = require('yodasay');

console.log(yodasay.say({
text : "Use yodasay, you will."
}));
console.log(yodasay.say({
text : 'Use yodasay, you will.'
}));

// or yodasay.think()
// or yodasay.think()
```

## Pipe from standard input

Expand All @@ -98,7 +100,7 @@ console.log(think({
text: 'meditating in the browser',
cow: R2D2,
eyes: 'pp',
tongue: ';;',
tongue: ';;'
}));
```

Expand Down

0 comments on commit d4407fe

Please sign in to comment.