New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@packit/tldr

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@packit/tldr

Easily manage TL;DR pages for your project

  • 0.3.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

TL;DR

Easily create and manage TL;DR pages to help users find their way around your project. These pages are designed to supplement, not replace, richer documentation, and should act as a quick reference manual for common tasks.

See an example here.

Installation

yarn add --dev @packit/tldr       # yarn users
npm install --dev @packit/tldr    # npm users

# create your first TL;DR document:
npx tldr init!

Additionally, you can optionally create {{topic}}.md files in docs/tldr.

These topics can be displayed by running npx tldr {{topic}}. See usage for more.

Usage

yarn users can replace npx with yarn, if desired.

npx tldr              # display the content of tldr.md
npx tldr {{topic}}    # display topic from ./docs/tldr/{{topic}}.md

# display multiple topics:
npx tldr {{topic1}} {{topic2}} {{topic3}}

# display all topics:
npx tldr "*"

# display topics matching pattern:
npx tldr "build*"

# display TL;DR page for an external package:
npx tldr jest?        # reads from node_modules

# search all topics:
npx tldr "*" | grep "pattern" -A 1 -B 1

Meta Commands

All meta commands are suffixed with !.

npx tldr init!   # initialize a TLDR.md file for your project
npx tldr list!   # list available topics (found in docs/tldr)

Options

npx tldr --root /some/path/here    # run tldr in another directory

Prior Art

Inspired by https://tldr.sh

FAQs

Package last updated on 14 Nov 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

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