0.1.0 • Published 8 years ago
computer-name v0.1.0
computer-name
Install
yarn add computer-nameUsage
const computerName = require('computer-name')
computerName()
//=> My-MacbookProGotchas
On Linux it simply returns os.hostname(), PR is welcome for this :)
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
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
0.1.0
8 years ago