░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
lon105.truehost.cloud
LOCATION:
/lib/node_modules/npm/node_modules/is-retry-allowed
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: readme.md
# is-retry-allowed [](https://travis-ci.org/floatdrop/is-retry-allowed) Is retry allowed for Error? ## Install ``` $ npm install --save is-retry-allowed ``` ## Usage ```js const isRetryAllowed = require('is-retry-allowed'); isRetryAllowed({code: 'ETIMEDOUT'}); //=> true isRetryAllowed({code: 'ENOTFOUND'}); //=> false isRetryAllowed({}); //=> true ``` ## API ### isRetryAllowed(error) #### error Type: `object` Object with `code` property, which will be used to determine retry. ## License MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 index.js
JS
1.3 KB
2021-03-10 14:36
EDIT
📄 license
?
1.1 KB
2021-03-10 14:36
EDIT
📄 package.json
JSON
1.6 KB
2021-03-10 14:36
EDIT
📄 readme.md
MD
653 B
2021-03-10 14:36
EDIT