scravy / uuid-1345 Goto Github PK
View Code? Open in Web Editor NEWGenerate UUIDs of versions 1, 3, 4, and 5.
License: MIT License
Generate UUIDs of versions 1, 3, 4, and 5.
License: MIT License
I generated an new UUID like this:
const code = UUID.v1();
This produced a reasonable looking UUID: a8f5b990-1000-11a7-16a2-28cfe91bde25
However, decoding the embedded timestamp produced value of:
1960-02-21 19:43:36 UTC
I was expecting a current timestamp.
Line 397 in fef5714
Looks like you have a typo and are extracting the r1
instead of r4
uuid-1345 uses macaddress which uses (with the execFile fix) child_process, but even after I installed child_process, the referencing path can't be resolved
https://github.com/scravy/uuid-1345/blob/master/index.js#L322-L328
Everything in this library is synchronously so it doesn't make any sense to have a callback based API. It gives the consumer a false sense that the work is being done in the thread-pool when in reality it isn't...
Hi,
Just tried to load this up and when I start my server, I see the following error:
/Users/jamesdixon/Projects/scout/platform/api/node_modules/macaddress/index.js:34
addresses = {};
^
ReferenceError: addresses is not defined
at /Users/jamesdixon/Projects/scout/platform/api/node_modules/macaddress/index.js:34:19
at Array.forEach (native)
at Object.lib.networkInterfaces (/Users/jamesdixon/Projects/scout/platform/api/node_modules/macaddress/index.js:33:25)
at Object.lib.one (/Users/jamesdixon/Projects/scout/platform/api/node_modules/macaddress/index.js:79:26)
at Object.<anonymous> (/Users/jamesdixon/Projects/scout/platform/api/node_modules/uuid-1345/index.js:58:23)
Is there something I need to do to make this function?
Thanks,
James
I'm going through our dependencies and notice that this package does not specify a license. Could you please define a license for this project?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.