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

pakt-api

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pakt-api

This is a API HTML Documentation Generator

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

Pakt-API

Presentation

Pakt-API is an API documentation generator.

  • Fully comptabible with Typescript
  • One static HTML output page
  • Written in Typescript and styled with Bulma

Installation

npm install --save pakt-api or yarn add pakt-api

Usage

NodeJS

import Pakt, {PaktAPI} from 'pakt-api'

const paktApi : PaktAPI = {...}

const pakt = new Pakt('/path/folder/', 'documentation.html')
pakt.generate(paktApi)

With ExpressJS

import express from 'express'
import Pakt, {PaktAPI} from 'pakt-api'

const paktApi : PaktAPI = {...}
const pakt = new Pakt('/path/folder/', 'documentation.html')
pakt.generate(paktApi)

const app = express()
app.use('/documentation', express.static('/path/documentation.html'))

app.listen(3000, ()=> {console.log('My Pakt server is running')})

Pakt API Options

In progress

More coming

  • Adding route définition on runtime
  • Rebuild documentation on demand
  • Generated Joi validation object
  • Support of other mimetypes
  • Bulma customization

Keywords

ts

FAQs

Package last updated on 31 Jan 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