hosts-path
Version:
Get the path to the hosts file
26 lines (14 loc) • 375 B
Markdown
# hosts-path [](https://travis-ci.org/kevva/hosts-path)
> Get the path to the hosts file
## Install
```
$ npm install --save hosts-path
```
## Usage
```js
var hostsPath = require('hosts-path');
hostsPath();
//=> '/etc/hosts'
```
## License
MIT © [Kevin Martensson](http://github.com/kevva)