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

dirsummary

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

dirsummary

Small tool to create a directory summary based on README files

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dirsummary

Show a directory summary based on informations found in markdown files Resulting in a ldjson stream of extracted informations

Installation

npm install -g dirsummary

Usage

Usage: dirsummary [options]

The information in the stream are:

  • filepath: The full file path
  • filename: The filename
  • name: The filename without extension
  • dirname: The directory name containing the markdown file
  • volume: The dirname parent
  • title: The markdown title
  • description: The first line after the title
  • (Other fields): The first block containing Yaml data is merged with the resulting json entry

From a directory containing other directory with README.md inside

dirsummary --glob "*/README.md"

# With csv-write utility (from csv-write-stream npm package)
dirsummary | csv-write

Keywords

FAQs

Package last updated on 09 Jul 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