Skip to content

get the uuid package to get uuid v6, v7 versions of uuid using gouuidjs - wasm port of google uuid package

License

Notifications You must be signed in to change notification settings

ganeshkbhat/gouuidjs

Repository files navigation

gouuidjs

get the uuid package to get uuid v6, v7 versions of uuid using gouuidjs - wasm port of google uuid package

the demos can be found in the folder demos

USAGE

const fs = require('node:fs');
const wasmBuffer = fs.readFileSync('.node_modules/gouuid/gouuid.wasm');
WebAssembly.instantiate(wasmBuffer).then(wasmModule => {
  const go = wasmModule.instance.exports;
  const uuid = go.GetUUID(["", "V7"]);
  console.log(uuid); 
});
import { GetUUID } from '../gouuid.wasm';
console.log(GetUUID([".", "."]))
import * as go from '../gouuid.wasm';
console.log(go.GetUUID([".", "."]))

SOURCE

Direct build od UUID definition implementations from github.com/google/uuid

About

get the uuid package to get uuid v6, v7 versions of uuid using gouuidjs - wasm port of google uuid package

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy