🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

package-wiki

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

package-wiki

Track, group and annotate package.json content in a human-friendly format

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Package Wiki

Track, group and annotate package.json content in a human-friendly format

Overview

When beginning work on a larger repository, it can be hard to know where to start. Viewing the project's package.json is one way, but package names and versions only supply so much information.

Package Wiki generates an initial package-wiki.md file at the project root, listing:

  • Sections:

    • Dependencies
    • Dev dependencies
    • Peer dependencies
    • Scripts
  • Groups:

    • An initial "General" group
  • Packages:

    • Title
    • Description
    • Home page or repo link
  • Scripts:

    • Key
    • An empty description

This initial dump of information should then be ordered, updated, and amended as required, then kept up to date so new users can quickly understand the project.

Installation

Install with NPM (or Yarn):

npm i -D package-wiki

Usage

Generate the initial package-wiki.md:

package-wiki

This will generate a new file to the project root – which should be committed to version control.

Flags:

  • --force - force overwrite of an existing file
  • --json - output as JSON to package-wiki.json

Keywords

documentation

FAQs

Package last updated on 27 Apr 2022

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