opossum

v8.2.0
A fail-fast circuit breaker for promises and callbacks
circuit breaker circuit-breaker fail-fast circuit breaker hystrix rate-limiting

prepare

husky install

prebuild

npm run pretest

build

./test/browser/generate-index.sh && NODE_OPTIONS=--openssl-legacy-provider npm run build:browser && npm run build:docs

build:browser

webpack --config=config/webpack.config.js

build:docs

npm run build:docs:html && npm run build:docs:markdown

build:docs:html

documentation build index.js -f html -o docs --config documentation.yml

build:docs:markdown

documentation build index.js -f md -o docs/opossum.md

pretest

npm run lint

test

nyc tape test/*.js | faucet

test:headless

node test/browser/webpack-test.js

test:browser

opener http://localhost:9007/test/browser/index.html && serve . -p 9007

test:all

npm run build && npm run test && npm run test:headless

lint

eslint --ignore-path .gitignore .

clean

rm -rf node_modules dist/*.js test/browser/webpack-test.js

prepublishOnly

npm run build
npm i opossum

Metadata

  • Apache-2.0
  • ^22 || ^21 || ^20 || ^18 || ^16
  • Red Hat, Inc.
  • released 10/23/2024

Downloads