Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uuid-int

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuid-int - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "uuid-int",
"version": "1.0.0",
"version": "1.0.1",
"description": "uuid-int for nodejs",

@@ -5,0 +5,0 @@ "main": "addon.js",

# uuid-int
uuid-int for nodejs
## Quick Start
Install
```
npm install --save uuid-int
```
Use
```
const UUID = require('uuid-int');
// number 0 <= id <=511
const id = 0;
const generator = UUID(id);
const uuid = generator.uuid();
console.log(uuid); // 3270411116609537
```

@@ -21,7 +21,7 @@ # uuid-int

// 使用id初始化发号器
const one = UUID(id);
// 使用id初始化
const generator = UUID(id);
// 生成
const uuid = one.uuid();
const uuid = generator.uuid();
console.log(uuid); // 3270411116609537

@@ -28,0 +28,0 @@ ```

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc