yarn add computer-nameconst computerName = require('computer-name')
computerName()
//=> My-MacbookProOn Linux it simply returns os.hostname(), PR is welcome for this :)
- 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
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