tri

[![Build Status](https://travis-ci.org/austinkelleher/tri.svg)](https://travis-ci.org/austinkelleher/tri) ![NPM version](https://badge.fury.io/js/tri.svg)

Usage no npm install needed!

<script type="module">
  import tri from 'https://cdn.skypack.dev/tri';
</script>

README

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
});