Socket
Socket
Sign inDemoInstall

docs-images

Package Overview
Dependencies
284
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    docs-images

TQ1 document generator


Version published
Maintainers
3
Created

Readme

Source

Doc Images

NPM

Usage

  1. Add npm install docs-images to you package.json

  2. Create the text file with mermaid`. Try using the editor.

  3. Call the require var tq1docs = require('br-tq1-doc-images');. To generate the images, call the method tq1docs.generate passing the configuration object and a callback function. The options is:

  • source_path: path to the text files
  • source_extension: files extension
  • images_path: output images path

Example

var docs = require('docs-images');
docs.generate({
  source_path: './src',
  source_extension: 'txt',
  images_path: './images'
}, function(err) {
  if (err) {
    console.log('errr generating docs: ' + err);
  } else {
    console.log('docs generated :)');
  }
});

FAQs

Last updated on 15 May 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc