New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

js-doc

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-doc

JavaDoc for JavaScript

latest
Source
npmnpm
Version
0.5.0
Version published
Weekly downloads
47
-27.69%
Maintainers
1
Weekly downloads
 
Created
Source

JS-Doc

JavaDoc for JavaScript

JS-Doc is a simple, easy documentation generator for any javascript projects. All commenting above functions/variables/constants to be included should be in JavaDoc format (example below).

Syntax

In the files you include with the --files argument, use the following comment syntax:

/**
_markdown formatted_ description for following variable/function
@property <-- that's bolded
*/
var myVar='Hello, World!';

This will yield

## myVar  
`var myVar='Hello, World!'`  
_markdown formatted_ description for following variable/function

**property** <-- that's bolded

Usage

from -h

  -h, --help           Show this help message and exit.
  -v, --version        Show program's version number and exit.
  -o file, --out file  set output file
  -p path, --pkg path  path to package.json
  --files [f [f ...]]  files to document
  --html               generate html instead of markdown
  -c file, --css file  path to css file (default: github css)

Keywords

documentation

FAQs

Package last updated on 28 Nov 2016

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