# expose-fs

> expose your filesystem using a http server

Latest version **1.5.1** (published 2015-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install expose-fs
pnpm add expose-fs
yarn add expose-fs
bun add expose-fs
```

Provides the command `expose-fs`.

## 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.5.1 |
| Published | 2015-03-23 |
| First published | 2014-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/expose-fs
- npm.io page: https://npm.io/package/expose-fs

## Dependencies (6)

- [cors](https://npm.io/package/cors.md) ^2.4.2
- [pump](https://npm.io/package/pump.md) ^1.0.0
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.0
- [minimist](https://npm.io/package/minimist.md) ^1.1.0
- [after-all](https://npm.io/package/after-all.md) ^2.0.1
- [localtunnel](https://npm.io/package/localtunnel.md) ^1.4.0

## Recent versions

- 1.5.1 (latest) — 2015-03-23
- 1.5.0 — 2014-11-02
- 1.3.0 — 2014-10-23
- 1.2.0 — 2014-10-23
- 1.1.1 — 2014-10-22
- 1.1.0 — 2014-10-22
- 1.0.1 — 2014-10-20
- 1.0.0 — 2014-10-18

## README

# expose-fs

Expose a file system over http

```
npm install -g expose-fs
```

## Usage

This install a command line tool called `expose-fs`

```
expose-fs . # expose . on port 8441
```

Then do

```
curl localhost:8441 # returns a directory listing in JSON format
curl localhost:8441/some-file.txt # returns the file content
curl -X PUT --data 'hello world' localhost:8441/some-file.txt # writes a file
curl -X POST localhost/some-dir # creates a new directory
```

Run `expose-fs --help` for additional options

## License

MIT

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