Skip to content

iorp/node-turbodoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO:

  • fix capture turbodoc
  • Complete documentation

Tests

Test the app on a iorp-standard mode, for each testing operation it creates the given files and folders by filesystem generateHierarchy.

    node test/test.js
    

Usage

Script wise

It can be called from a script at package.json. Developers can make their own scripts, and config files.

  "scripts": {
    "makedoc":"node @iorp-turbodoc/lib/scripts/turbodoc_default.js ./turbodoc.config.js",
   ...
  }

If the config file parameter is null it will seek the file './turbodoc.config.js'. If the developer doesnt want to use a config file, turbodoc shall be called funtion wise.

    node src/scripts/turbodoc_default.js

Function wise

Just call the turbodoc js function providing appropiate parametry. In this case the configuration can be passed as null, undefined, string or object. If null or undefined will assume that './turbodoc.config.js' exists,and it will use this path. If string that will be the custom options path. If object it will use the given object as options.

// Import turbodoc core and and config 
const turbodoc = require('../src/turbodoc.js');
  
 async()=>{ 
   let response = await turbodoc(OPTIONS);
  console.log(response);  
}();

Dev notes

  1. Build after edits. Script postbuild will perform a npm link , see postbuild scripts at package.
 npm run build
  1. Eventually link.
 npm link
  1. Npm npm publish --access public

Tests

node test/test.js  

npm publish --force

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published