# mount-point

> Get the mount point for a file

Latest version **3.0.0** (published 2016-04-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install mount-point
pnpm add mount-point
yarn add mount-point
bun add mount-point
```

## 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 | 3.0.0 |
| Published | 2016-04-10 |
| First published | 2014-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Kevin Mårtensson |
| Maintainers | kevva |
| Keywords | df, disk, mount |

## Links

- npm: https://www.npmjs.com/package/mount-point
- Repository: https://github.com/kevva/mount-point
- Homepage: https://github.com/kevva/mount-point#readme
- Issues: https://github.com/kevva/mount-point/issues
- npm.io page: https://npm.io/package/mount-point

## Dependencies (3)

- [pify](https://npm.io/package/pify.md) ^2.3.0
- [pinkie-promise](https://npm.io/package/pinkie-promise.md) ^2.0.1
- [@sindresorhus/df](https://npm.io/package/@sindresorhus/df.md) ^1.0.1

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2016-04-10
- 2.0.0 — 2015-05-04
- 1.2.0 — 2015-05-04
- 1.1.0 — 2015-05-04
- 1.0.3 — 2014-10-14
- 1.0.2 — 2014-10-12
- 1.0.1 — 2014-10-12
- 1.0.0 — 2014-10-06

## README

# mount-point [![Build Status](http://img.shields.io/travis/kevva/mount-point.svg?style=flat)](https://travis-ci.org/kevva/mount-point)

> Get the [mount point](http://en.wikipedia.org/wiki/Mount_%28computing%29) for a file


## Install

```
$ npm install --save mount-point
```


## Usage

```js
const mountPoint = require('mount-point');

mountPoint('foo.tar.gz').then(mount => {
	console.log(mount);
	//=> '/'
});
```


## Related

* [df](https://github.com/sindresorhus/df) - Get free disk space info from `df -kP`


## License

MIT © [Kevin Mårtensson](https://github.com/kevva)

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