Published
Edited
Mar 21, 2022
1 fork
3 stars
Insert cell
Insert cell
uuid = await import('https://esmserver.cdaringe.com/github/denoland/deno_std/main/uuid/mod.ts')
Insert cell
myUUID = {
// Copy the example direct from deno_std UUID readme
// https://deno.land/std@0.130.0/uuid#generate-and-validate-a-v5-sha-1-digest-uuid
const data = new TextEncoder().encode("Hello World!");
// Generate a v5 UUID using a namespace and some data.
const myUUID = await uuid.v5.generate("6ba7b810-9dad-11d1-80b4-00c04fd430c8", data);
return myUUID
}
Insert cell
`Is UUID valid?: ${uuid.v5.validate(myUUID)}`
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more