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

uid-promise

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uid-promise - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

5

package.json
{
"name": "uid-promise",
"version": "2.0.3",
"version": "2.0.4",
"license": "MIT",

@@ -10,3 +10,3 @@ "description": "generates a cryptographically strong random uid",

"engines": {
"node": ">=18"
"node": ">=16"
},

@@ -31,2 +31,3 @@ "files": [

"prettier": "2.3.2",
"test": "3.3.0",
"typescript": "4.9.5"

@@ -33,0 +34,0 @@ },

8

readme.md

@@ -7,12 +7,12 @@ # uid-promise

Firstly, install the package from [npm](https://www.npmjs.com):
Install the package:
```js
npm install --save uid-promise
npm i uid-promise
```
Then load it:
Then import it:
```js
const uid = require('uid-promise');
import { uid } = from 'uid-promise';
```

@@ -19,0 +19,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