Added node module dependencies into version control
Test / test (push) Successful in 9s

This commit is contained in:
2023-07-27 20:31:14 +02:00
parent 051220e2a1
commit 08bda289ec
62 changed files with 2000 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import validate from './validate.js';
function version(uuid) {
if (!validate(uuid)) {
throw TypeError('Invalid UUID');
}
return parseInt(uuid.substr(14, 1), 16);
}
export default version;