# pagenry

> Detecting page changes every interval of time (default 1min) to detect if page content has changed then it sends an email if change has been found

Latest version **0.1.3** (published 2016-05-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install pagenry
pnpm add pagenry
yarn add pagenry
bun add pagenry
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2016-05-11 |
| First published | 2016-05-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+14 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Brent Ertz |
| Maintainers | mamged |
| Keywords | page, pagenry, watch page, monitor page, detect page chage |

## Links

- npm: https://www.npmjs.com/package/pagenry
- Repository: https://github.com/mAmged/pagenry
- Homepage: https://github.com/mAmged/pagenry#readme
- Issues: https://github.com/mAmged/pagenry/issues
- npm.io page: https://npm.io/package/pagenry

## Dependencies (2)

- [node-fetch](https://npm.io/package/node-fetch.md) ^1.5.2
- [nodemailer](https://npm.io/package/nodemailer.md) ^2.3.2

## Recent versions

- 0.1.3 (latest) — 2016-05-11
- 0.1.2 — 2016-05-11
- 0.1.1 — 2016-05-10
- 0.1.0 — 2016-05-10
- 1.0.0 — 2016-05-10

## README

pagenry
============

It's a node module that watching specific page and sends email notification .


----------


HOW TO USE IT
---------------

    $ npm install
    $ npm start

> To use Gmail you may need to configure ["Allow Less Secure Apps"](https://www.google.com/settings/security/lesssecureapps) 
> Also scroll down in this ["page"](https://www.google.com/settings/security/lesssecureapps) and find allow less secure apps
> 
> ![see arrow](http://i.imgur.com/WWJRY4P.png)
>
>
>  unless you are using 2FA in which case you would have to create an [Application Specific](https://security.google.com/settings/security/apppasswords) password. You also may need to unlock your account with ["Allow access to your Google account"](https://accounts.google.com/DisplayUnlockCaptcha) to use SMTP.
Example
---------------

    var pagenry = require('./pagenry');
    var watcher = new pagenry({
        url: 'http://mashable.com',
    emailAccount: 'hello@gmail.com',
    pass: 'password',
    interval: 1000*60, // 1min
    sendingMail: true,
    alert: { // setup e-mail data with unicode symbols
        from: '"Fred Foo 👥" <hello@gmail.com>', // sender address
        to: 'hello@hotmail.com', // list of receivers
        subject: 'Hello You have an alert from pagenry ✔', // Subject line
        text: 'Hello world 🐴', // plaintext body
        html: '<b>Hello world 🐴</b>' // html body
    }
    });
    watcher.start(function () {
        console.log('changed')
    });

Copyright 2016 Mohamed Amged (@mamged) - Released under the MIT [License](LICENSE)

---
_Source: https://npm.io/package/pagenry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
