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

referenza

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

referenza

Create static HTML project documentation using Markdown

latest
Source
npmnpm
Version
0.0.6
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

referenza

Create static HTML project documentation using Markdown

Usage

Installation

Using npm:

npm i referenza

To use on the command line, it's best to install globally:

npm i -g referenza

Any local installation of referenza can also be used on the command line using npx:

npx referenza <command> [command options...]

Modes

referenza has two modes:

  • compile: Compile Markdown sources to HTML documentation files.
  • serve: Start a HTTP server to serve compiled HTML documentation.

CLI

compile

Common usage:

referenza compile -s "$(realpath src)" -o "$(realpath dist)" -S "$(realpath state.json)" -p ProjectA ProjectB ProjectC

For the full usage guide, use the help option:

referenza compile -h

serve

Common usage:

referenza serve -o "$(realpath dist)" -p 3072

For the full usage guide, use the help option:

referenza serve -h

API

referenza exposes two functions provided via an object as its export, compile and serve.

TypeScript type declarations are bundled with the module.

referenza.compile

const referenza = require("referenza");

referenza.compile({
  clean: false,

  sourceDir,
  intermediateDir,
  outputDir,

  statePath,

  metadataFileName: "__metadata__.js",

  logo: "",
  feedbackUrl,

  projectNames,

  urlPathPrefix: "/",
})
  .catch(err => {
    throw err;
  });

referenza.serve

const referenza = require("referenza");

referenza.compile({
  port: 3072,
  outputDir,
  urlPathPrefix: "/",
});

Keywords

referenza

FAQs

Package last updated on 14 Jun 2018

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