Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dmd-readable

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dmd-readable

A plugin for dmd and jsdoc-to-markdown to provide more readable docs

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
446
increased by48.67%
Maintainers
1
Weekly downloads
 
Created
Source

Dmd Readable

A plugin for dmd and jsdoc-to-markdown to provide more readable docs

npm deps size vulnerabilities license


Installation

With npm:

npm install dmd-readable


Usage

Pass the plug-in name to jsdoc2md or dmd:

jsdoc2md --plugin dmd-readable

This plugin (which was used to generate this readme) does a few things:

  • removes global indexes
  • places descriptions in block-quotes
  • adds more whitespace before headings
  • changes the delimiter for multiple types in param tables to a comma
  • adds alias output


package(key) ⇒ *

Reads info from the package.json file.

See: docs.hbs for an example of how to use this function

ParamTypeDescription
keystringThe package property you want returned


changeCase(to, string) ⇒ string

Implements the library change-case.

See: docs.hbs for an example of how to use this function

ParamTypeDescription
tostringShorthand or full name for the change-case function.
stringstringThe string to modify


prefixLines(string, replacer) ⇒ string

Prefixes a string to the beginning of each line in the first string

ParamTypeDescription
stringstringThe string to modify
replacerstringThe string to prefix to each line

Keywords

FAQs

Package last updated on 27 Mar 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc