# file-expires

> Get a notification when a file expires or changes.

Latest version **0.1.1** (published 2013-05-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install file-expires
pnpm add file-expires
yarn add file-expires
bun add file-expires
```

## 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.1 |
| Published | 2013-05-01 |
| First published | 2012-08-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Christian Tellnes |
| Maintainers | tellnes |

## Links

- npm: https://www.npmjs.com/package/file-expires
- Repository: https://github.com/tellnes/file-expires
- npm.io page: https://npm.io/package/file-expires

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ~0.7.0
- [request](https://npm.io/package/request.md) ~2.12.0
- [long-timeout](https://npm.io/package/long-timeout.md) 0.0.1

## Recent versions

- 0.1.1 (latest) — 2013-05-01
- 0.1.0 — 2012-11-27
- 0.0.3 — 2012-11-14
- 0.0.2 — 2012-09-01
- 0.0.1 — 2012-08-12

## README

# File expires

Get a notification when a file expires or changes.


## Example

```js
var createFileExpirer = require('./')

var file = createFileExpirer('https://github.com/favicon.ico')

var content

file.on('expires', function() {
  console.log('expired')
  file.readFile(function(err, c) {
    content = c
  })
})

file.on('change', function() {
  console.log('changed')
})


file.readFile(function(err, c) {
  content = c
})

```

## Install

    npm install file-expires


## Licence

MIT

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