🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@forwardimpact/libdoc

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forwardimpact/libdoc

Documentation build and serve tools for static site generation from Markdown

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
381
237.17%
Maintainers
1
Weekly downloads
 
Created
Source

libdoc

Documentation build and serve tools for the Forward Impact documentation site. Generates static sites from Markdown files with Mustache templating support.

Usage

import {
  DocsBuilder,
  DocsServer,
  parseFrontMatter,
} from "@forwardimpact/libdoc";

const builder = new DocsBuilder({ srcDir: "docs", outDir: "public" });
await builder.build();

const server = new DocsServer({ port: 3000 });
await server.start();

CLI

# Build documentation site
npx fit-doc build --src=docs --out=dist

# Serve documentation locally
npx fit-doc serve --port=3000

# Serve with watch mode for development
npx fit-doc serve --watch

API

ExportDescription
DocsBuilderBuild static documentation sites
DocsServerServe documentation locally with live reload
parseFrontMatterParse YAML front matter from markdown files

FAQs

Package last updated on 05 Feb 2026

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