$ npm install default-uid
Get the system default UID (User ID)
$ npm install default-uid
import defaultUid from 'default-uid';
// On macOS
defaultUid();
//=> 501
defaultUid('linux');
//=> 1000
Type: string
Default: process.platform
One of the supported Node.js platforms.
© 2010 - cnpmjs.org x YWFE | Home | YWFE