Permalink
Browse files

Changed docs to assume NPM installation.

  • Loading branch information...
Oliver Morgan
Oliver Morgan committed Sep 10, 2011
1 parent 48048f7 commit b55e980e027ec7098458115e109c40be860687f3
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -77,15 +77,15 @@ As you would have noticed, the colon (:) and endfor directives have been replace
Within your application, you can use parrot like the following:
```javascript
-var parrot = require('./lib/parrot');
+var parrot = require('parrot');
var output = parrot.render(input);
```
Where the input variable is a string you would like parrot to render. If you would like to render a file, do the following:
```javascript
-var parrot = require('./lib/parrot');
+var parrot = require('parrot');
var fs = require('fs');
fs.readFile(file, encoding, function(err, data) {
if (err) throw err;

0 comments on commit b55e980

Please sign in to comment.