0.0.1 • Published 10 years ago

fault-tree v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

fault

NPM version build status license

A tool for generating fault-tree analyses

Installation

$ npm install fault

Usage

var Fault = require('fault-tree');

var fault = Fault('server failure')
  .cause('security compromised')
  .cause('resource exhaustion', 'out of disk space OR out of memory')
  .cause('hardware failure', 'power failure OR cooling failure OR CPU failure');

console.log(fault.tree); // generated fault tree

Understand

npm.io

Fault tree analysis (FTA) is a methodology for identifying failures in a system using top-down reasoning. The idea is to start at a root description of the problem, and then break that problem down such that the next problem layer down fully describes the problem layer above it.

License

MIT

0.0.1

10 years ago