pharos

0.0.1 • Public • Published

pharos

Coordinate processes in distributed applications.

example

var pharosTree = require('pharos/tree')

See pharos-tree api docs.

testing

npm test [--dot | --spec] [--coverage]

options

  • --dot - output test results as dots instead of tap
  • --spec - output test results as spec instead of tap
  • --coverage - display text cover report

patterns

Only test files matching a certain pattern may be run by prefixing the test command with grep=pattern. Example:

grep=connect npm test --dot

watching

First: npm install -g nodemon

Then you can: nodemon -x npm test [--dot | --spec] [--coverage]

html coverage report

Open it with npm run view-cover or npm run vc

Package Sidebar

Install

npm i pharos

Weekly Downloads

2

Version

0.0.1

License

Apache-2.0

Last publish

Collaborators

  • jasonpincin