name-my-computer

1.0.2311 • Public • Published

name-my-computer

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

Installation

npm i name-my-computer

Usage

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"

//suppose we want to convert some arbitrary input [rather than the mac address], into a name...
//console.log(require('name-my-computer').getName(salt, input));

stonks

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2311
    0
    • latest

Version History

Package Sidebar

Install

npm i name-my-computer

Weekly Downloads

0

Version

1.0.2311

License

MIT

Unpacked Size

2.25 kB

Total Files

4

Last publish

Collaborators

  • stonkpunk