Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

tri

1.0.2 • Public • Published

tri

Build Status NPM version

Try to execute a JavaScript function

Installation

npm install tri --save

Usage

const tri = require('tri');
 
tri(function() {
  return Promise.resolve();
}, {
  maxAttempts: 0,
  delay: 100,
  factor: 2,
  jitter: true
});

Keywords

install

npm i tri

Downloadsweekly downloads

120

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability