1.0.2311 • Published 12 months ago

name-my-computer v1.0.2311

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

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

1.0.231

12 months ago

1.0.2311

12 months ago

1.0.23

12 months ago

1.0.22

2 years ago

1.0.21

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago