Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Khalid committed Feb 20, 2018
1 parent dec5555 commit 21d4461
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ npm install --save is-autoreply

## Programmatic usage

Headers can be String, Buffer or Object (key/value). In case of String or Buffer, the headers are automatically parsed.

```js
const isAutoreply = require('is-autoreply');
const emailHeaders = { 'X-Auto-Response-Suppress': 'OOF' };
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "is-autoreply",
"version": "1.1.0",
"version": "1.1.1",
"description": "Detect if email is an autoreply according to the email headers.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 21d4461

Please sign in to comment.