uuid-version

1.1.0 • Public • Published

uuid-version

This is a small package that helps you to recognize the version of a given uuid.

Install

npm install uuid-version

Usage

import * as uuid from 'uuid';
import { version } from 'uuid-version';

console.log(version(uuid.v4()) === 4);

/uuid-version/

    Package Sidebar

    Install

    npm i uuid-version

    Weekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    1.92 kB

    Total Files

    4

    Last publish

    Collaborators

    • 0xflotus