give your computer a human name, based on its mac address.
give your computer
a personality by
giving it a name!
✨ 💻 😊
-- ancient haiku
great for remembering machines within a cluster.
Table of Contents
npm i name-my-computer
console.log(require('name-my-computer').getName()); //returns "Bill Biffoli"
Is it dangerous to post my MAC address publically?
Not really. But you can use the
salt param to make it impossible to guess the MAC from the generated name. The
salt is appended to the MAC address before generating the result. The salt is blank by default.
var salt = "12345"; console.log(require('name-my-computer').getName(salt)); //returns "Eula Tucci"