🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

machine-uuid-sync

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machine-uuid-sync

get machine's uuid

1.0.9
latest
Source
npm
Version published
Weekly downloads
119
-33.15%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

get

FAQs

Package last updated on 04 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts