docrunner

0.1.1 • Public • Published

docrunner

Broken docs suck

Run your docs before publishing them.

npm install docrunner

Docrunner differs from other doctest type solutions in a number of ways:

  • no new globals (no print, no wait, no log, etc.)
  • no extra characters (no prompt js> or continuation ..., no special comments // =>)
  • allows copy/paste of snippets directly to/from the repl
  • handles async assertions and errors naturally

Tests

See what works by running the tests.

npm test

Current Status

/docrunner/

    Package Sidebar

    Install

    npm i docrunner

    Weekly Downloads

    0

    Version

    0.1.1

    License

    none

    Last publish

    Collaborators

    • tschaub