Socket
Socket
Sign inDemoInstall

comb-uuid

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    comb-uuid

Implements COMB UUIDs (UUID v4 Variant B) which sort to chronological order.


Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
1
Install size
7.62 kB
Created
Weekly downloads
 

Readme

Source

comb-uuid

Implements COMB UUIDs (UUID v4 Variant B) which sort to chronological order.

Example

'use strict';

const CombUUID = require('comb-uuid');

// create a new UUID
const uuid = CombUUID.encode();

// decode an existing UUID
const obj = CombUUID.decode(uuid);

// { version: '4',
//   variant: 'b',
//   timestamp: 161745940159400,
//   timestamp_js: 2021-04-03T14:16:41.594Z,
//   random: '6f842887a4866c60fd' }

Keywords

FAQs

Last updated on 18 Oct 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc