Skip to content

Commit

Permalink
docs: add installation section
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jan 9, 2019
1 parent 7a0e1a7 commit a2bb28a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
This module exports a single function, `escapeHtml`, that is used to escape
a string of content such that it can be interpolated in HTML content.

## Installation

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/). Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```bash
$ npm install escape-html
```

## API

### escapeHtml(string)
Expand Down

0 comments on commit a2bb28a

Please sign in to comment.