# agraddy.http.server.file.handler

> A very simple file server handler.

Latest version **1.0.1** (published 2016-01-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install agraddy.http.server.file.handler
pnpm add agraddy.http.server.file.handler
yarn add agraddy.http.server.file.handler
bun add agraddy.http.server.file.handler
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-01-31 |
| First published | 2016-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Anthony Graddy |
| Maintainers | agraddy |

## Links

- npm: https://www.npmjs.com/package/agraddy.http.server.file.handler
- Repository: https://github.com/agraddy/agraddy.http.server.file.handler
- Homepage: https://github.com/agraddy/agraddy.http.server.file.handler#readme
- Issues: https://github.com/agraddy/agraddy.http.server.file.handler/issues
- npm.io page: https://npm.io/package/agraddy.http.server.file.handler

## Recent versions

- 1.0.1 (latest) — 2016-01-31
- 1.0.0 — 2016-01-31

## README

# agraddy.http.server.file.handler

A simple file server handler.

MIT License

## Install

```npm install agraddy.http.server.file.handler```

Or the shortcut version:

```npm install ag-file-handler```

## Use

```
var file = require('agraddy.http.server.file.handler');
// Or the shortcut version
//var file = require('ag-file-handler');
var http = require('http');
var server;

server = http.createServer(file('location_of_file/example.htm'));

server.listen(8080);
```

## Todo

* Create an example directory with the above example (include step-by-step instructions from scratch and include assumptions).
* Explain how the test is setup

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