better-hostname
v1.0.4
Published
Export the machine hostname or 'browser' when used with Browserify
Downloads
25
Readme
better-hostname
Export the machine hostname or 'browser'
when used with Browserify.
Installation
npm install --save better-hostname
Usage
var hostname = require('better-hostname');
console.log(hostname);
In case you use Browserify, this module exports the 'browser'
string.
License
MIT