🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

documentation

Package Overview
Dependencies
Maintainers
3
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

documentation

a documentation generator

3.0.3
Source
npm
Version published
Weekly downloads
193K
36.44%
Maintainers
3
Weekly downloads
 
Created

What is documentation?

The 'documentation' package is a tool for generating documentation from JavaScript code. It supports various output formats and can be integrated into build processes to automate the creation of documentation.

What are documentation's main functionalities?

Generate HTML Documentation

This command generates HTML documentation from the JavaScript files located in the 'src' directory and outputs it to the 'docs' directory. It is useful for creating a visually accessible format of your code's documentation.

documentation build src/** -f html -o docs

Generate Markdown Documentation

This command generates Markdown documentation from the JavaScript files in the 'src' directory and outputs it to a single 'docs.md' file. Markdown is a versatile format that can be easily shared and integrated with various platforms.

documentation build src/** -f md -o docs.md

Serve Documentation Locally

This command starts a local server to serve the documentation generated from the JavaScript files in the 'src' directory. It allows developers to view and interact with the documentation in a web browser during development.

documentation serve src/**

Generate JSON Documentation

This command generates JSON documentation from the JavaScript files in the 'src' directory and outputs it to a 'docs.json' file. JSON format is useful for further processing or integration with other tools.

documentation build src/** -f json -o docs.json

Other packages similar to documentation

Keywords

documentation

FAQs

Package last updated on 04 Nov 2015

Did you know?

Socket

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