From 37dc0c7470b270b6e99a1622a4d9358988aa454b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Birkestr=C3=B8m?= Date: Thu, 12 Nov 2020 08:12:18 +0100 Subject: [PATCH] Add Travis CI --- .travis.yml | 4 ++++ README.md | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1cde613 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: node_js +node_js: + - 12 + - 14 diff --git a/README.md b/README.md index 4602891..cbf9e85 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ ## Basic usage example ```js -const bfFetchFactory = require('node-fetch-backoff'); -const fetch = bfFetchFactory({ +const fbFactory = require('node-fetch-backoff'); +const fetch = fbFactory({ // Msec or function. Default is exponential delay using msec from this option. delay: 10 * 1000,