DocRedux - Chronicles of Cid a dead simple documentation generator with built in unit testing.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit ahead, 2 commits behind tomekmarchi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.eslintrc
.gitignore
LICENSE
README.md
cleanObject.js
index.js
json.js
package-lock.json
package.json
syntax.js

README.md

nbome25

Dead simple unit testing.

Example use

(async () => {
  const lucy = require('Lucy');
  const nbome25 = require('nbome25');
  const {
    keys
  } = lucy;
  console.log('Building Test Cases');
  await nbome25({
    destination: `${__dirname}/tests`,
    filePath: './build/bundle.js',
    prefix: ` delete require.cache[require.resolve('Lucy')];
    const $ = require('Lucy');
    const {
      ${keys(lucy).join(',')}
    } = $;`,
  });
  console.log('END');
})();

Arity 2017