mount-point
Get the mount point for a file
Last updated 10 years ago by kevva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mount-point 
SYNC missed versions from official npm registry.

mount-point Build Status

Get the mount point for a file

Install

$ npm install --save mount-point

Usage

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

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

Related

  • df - Get free disk space info from df -kP

License

MIT © Kevin Mårtensson

Current Tags

  • 3.0.0                                ...           latest (10 years ago)

8 Versions

  • 3.0.0                                ...           10 years ago
  • 2.0.0                                ...           11 years ago
  • 1.2.0                                ...           11 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.3                                ...           11 years ago
  • 1.0.2                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |