Skip to content

albertsgrc/machine-uuid-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

machine-uuid-sync

A synchronous version of machine-uuid.

Get machine's hardware UUID.

Install

npm install machine-uuid-sync

Basic example

uuid = require("machine-uuid-sync")();

console.log(uuid);

Another example

You can set the location where you want the .nodemid file to be created if the module can't retrieve the serial number.

uuid = require("machine-uuid")("/another/folder/")

This can example be useful in an electron application when you compile your app in asar.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%