npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@luxarionadm-design/vexorion

v2.0.1

Published

VexorionUUID - Modular UUID Generator with custom dependencies

Readme

@luxarionadm-design/vexorion

npm version License: MIT Build Status Coverage Status Downloads Bundle Size PRs Welcome Maintained

VexorionUUID - Modular UUID Generator dengan custom dependencies dan arsitektur yang fleksibel.

✨ Features

  • ✅ Support UUID v1, v3, v4, v5, v6, v7
  • 🔒 Cryptographically secure generation (Web Crypto / Node.js crypto)
  • 🎨 Branding support (vxr- prefix)
  • 🔄 Modular architecture with dependency injection
  • 📦 Registry pattern for custom generators
  • 🛠️ Utilities: Formatter, Converter, Validator
  • 🌐 Cross-platform (Node.js, Browser, Bun, Deno)
  • 💪 TypeScript support (JSDoc + types)
  • 🧪 Fully tested

📦 Installation

npm install @luxarionadm-design/vexorion

🚀 Quick Start

import VexorionUUID, { generate, generateV7, brand } from '@luxarionadm-design/vexorion';

// Generate UUID v4
const id = VexorionUUID.generate();

// Generate UUID v7 dengan branding
const id7 = VexorionUUID.generateV7();

// Generate secure UUID
const secure = VexorionUUID.generateSecure();

// With named imports
const short = generateShort();

// Custom configuration
VexorionUUID.configure({
  defaultVersion: 'v7',
  branding: true,
  prefix: 'myapp-'
});

// Register custom generator
VexorionUUID.registerGenerator('myGen', MyCustomGenerator, {
  default: true,
  aliases: ['custom']
});

📚 API Reference

Generation Methods

· generate(options) - Generate UUID (default v4) · generateV1() - Time-based UUID · generateV3(namespace, name) - Name-based (MD5) · generateV4() - Random UUID · generateV5(namespace, name) - Name-based (SHA-1) · generateV6() - Time-ordered UUID · generateV7() - Time-sorted UUID · generateSecure() - Cryptographically secure · generateShort() - Short alphanumeric ID · generateNumeric(length) - Numeric ID · generateHex(length) - Hex ID · generateBatch(count, version) - Batch generation

Validation Methods

· isUUID(uuid) - Check if valid UUID · validate(uuid) - Alias for isUUID · validateDetailed(uuid) - Detailed validation with metadata · getVersion(uuid) - Get UUID version · getVariant(uuid) - Get UUID variant · getInfo(uuid) - Complete UUID info

Formatting Methods

· compact(uuid) - Remove dashes · expand(compact) - Add dashes · brand(uuid, prefix) - Add brand prefix · unbrand(uuid, prefix) - Remove brand prefix · isBranded(uuid) - Check if branded

Conversion Methods

· toBytes(uuid) - Convert to Uint8Array · fromBytes(bytes) - Convert from Uint8Array · toBase64(uuid) - Convert to Base64 · fromBase64(base64) - Convert from Base64

Utility Methods

· getTimestamp(uuid) - Extract timestamp · equals(uuid1, uuid2) - Compare UUIDs · sort(uuids) - Sort UUIDs · increment(uuid) - Increment UUID · decrement(uuid) - Decrement UUID · createNamespace(name) - Create custom namespace · createFromString(str) - Deterministic UUID from string

System Methods

· getOSInfo() - Get OS information · getPlatform() - Get platform name · getNamespaces() - Get standard namespaces · getVersionNumber() - Library version · configure(options) - Configure global settings · reset() - Reset singleton instance

🏗️ Architecture

VexorionUUID (Facade + Singleton)
    ├── GeneratorRegistry (Registry Pattern)
    │   ├── RandomGenerator (v4)
    │   ├── CryptoGenerator (Secure v4)
    │   └── TimeBasedGenerator (v1, v6, v7)
    ├── VexorionValidator (Validation)
    ├── Formatter (Formatting)
    ├── Converter (Conversion)
    └── OSDetector (Platform Detection)

🔧 Custom Generator

import { BaseGenerator } from '@luxarionadm-design/vexorion';

class MyCustomGenerator extends BaseGenerator {
  constructor(options = {}) {
    super({ version: 'custom', ...options });
  }

  _generate(options) {
    // Your custom generation logic
    return 'custom-uuid';
  }

  getVersion() {
    return 'custom';
  }

  getName() {
    return 'MyCustomGenerator';
  }
}

// Register
VexorionUUID.registerGenerator('custom', MyCustomGenerator, {
  default: true,
  aliases: ['my']
});

// Use
const id = VexorionUUID.generate({ version: 'custom' });

🌐 Browser Support

<script type="module">
  import { generate } from 'https://unpkg.com/@luxarionadm-design/vexorion';
  console.log(generate());
</script>

📝 License

MIT © luxarionadm-design