chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* output uid with os name prefix
|
||||
*/
|
||||
|
||||
const { nanoid } = require('nanoid')
|
||||
const os = require('os').platform()
|
||||
|
||||
module.exports = () => {
|
||||
return os + '_' + nanoid()
|
||||
}
|
||||
Reference in New Issue
Block a user