Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Latest commit

 

History

History
131 lines (53 loc) · 1.7 KB

DOCUMENTATION.md

File metadata and controls

131 lines (53 loc) · 1.7 KB

Dox parser plugin for doxdox.

index.js

formatStringForName(contents) private method

Format string as name.

Parameters
Name Type Description
contents String String to format.  
Examples
formatStringForName('module.exports.parser');
Returns
  • String Formatted string.

formatStringForParam(contents) private method

Format string as param.

Parameters
Name Type Description
contents String String to format.  
Examples
formatStringForParam('[optional param]');
Returns
  • String Formatted string.

formatStringForUID(contents) private method

Format string as UID.

Parameters
Name Type Description
contents String String to format.  
Examples
formatStringForUID('example string');
Returns
  • String Formatted string.

parser(content, filename)

Dox parser for doxdox.

Parameters
Name Type Description
content String Contents of file.  
filename String Name of file. Used to generate UIDs.  
Examples
parser(content, 'index.js').then(methods => console.log(methods));
Returns
  • Promise Promise with methods parsed from contents.

Documentation generated with doxdox.