
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
npm install uuidv5
var uuidv5 = require('uuidv5');
If you are unfamiliar with v5 UUIDs, read this. For a deeper look, read RFC 4122.
namespace
can be 'url', 'dns', 'oid', 'x500', or 'null'. If it's none of those, it must be a UUID to use as a namespace, either in string or Buffer form.name
can be a string or Buffer. What it should contain is namespace-dependent.raw_output
is an optional flag. If set to true
, the UUID will be returned as a Buffer instead of as a string.Takes a Buffer-form uuid and returns it as a string.
Takes a UUID as a string (with or without dashes [-]) and returns it as a Buffer.
var uuidv5 = require('uuidv5');
// Generate a UUID in the default URL namespace
var urlUUID = uuidv5('url', 'http://google.com/page');
// Default DNS namespace
var dnsUUID = uuidv5('dns', 'google.com');
// Create your own namespace
var privns = uuidv5('null', 'my-private-namespace', true); // Buffer form is more efficient
var privUUID = uuidv5(privns, 'some-named-thing');
FAQs
Generates named version 5 UUIDs
We found that uuidv5 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.