hp

hosts-path

Get the path to the hosts file

Showing:

Popularity

Downloads/wk

28

GitHub Stars

6

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

0

Size (min+gzip)

0.2KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

hosts-path Build Status

Get the path to the hosts file

Install

$ npm install --save hosts-path

Usage

var hostsPath = require('hosts-path');

hostsPath();
//=> '/etc/hosts'

License

MIT © Kevin Martensson

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100