Skip to content

Commit

Permalink
add api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Sep 5, 2012
1 parent e137b5a commit 6e04149
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Readme.md
Expand Up @@ -40,6 +40,16 @@ module.exports = function(obj) {
};
```

## API

### minstache(str, [obj])

Compile and render the given mustache `str` with optional context `obj`.

### minstache.compile(str)

Compile the mustache `str` to a stand-alone `Function` accepting a context `obj`.

## Todo

I just basically needed interpolation for now, but I'll add this stuff later:
Expand Down

0 comments on commit 6e04149

Please sign in to comment.