Get computer name, cross-platform.
npm install computer-name    
``bash`
yarn add computer-name
`js
const computerName = require('computer-name')
computerName()
//=> My-MacbookPro
`
On Linux it simply returns os.hostname(), PR is welcome for this :)
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
computer-name © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
> github.com/egoist · GitHub @EGOIST · Twitter @_egoistlily