New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

basic-promise

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basic-promise - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

package.json
{
"name": "basic-promise",
"version": "0.0.8",
"version": "0.0.9",
"description": "Module promise with a simple syntax",

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

@@ -1,2 +0,6 @@

## Usage
## Install
Basic-promise is a module promise with a simple syntax
```shell
npm install basic-promise
```

@@ -38,5 +42,5 @@ **Basic**

```js
var ps = [promise(), promise()];
var ps = [promise(), promise()]; // => Array of promises
// or
var ps = [promise().then(function(){
var ps = [promise().then(function(){ // => Array of promises with listener events
console.log('resolve');

@@ -56,3 +60,3 @@ },function(){

// or
var ps = 2;
var ps = 2; // => Number of promises

@@ -59,0 +63,0 @@ var p = promise(ps);

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