@nthity/guid
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

guid

Simple and lightweight guid utility tool.

Install

npm i @nthity/guid

Usage

import guid from "@nthity/guid";

// Generates new guid.
console.log(guid.new());

// Test guid value.

// Returns false
console.log(guid.isGuid("this is not a guid"));
// Returns true
console.log(guid.isGuid("66b8546c-2dd0-4caf-883f-fc2d2a317fe2"));

/@nthity/guid/

    Package Sidebar

    Install

    npm i @nthity/guid

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    2.96 kB

    Total Files

    6

    Last publish

    Collaborators

    • agentg007