1. package-preamble
Generate a tiny preamble from a package.json.
package-preamble
Package: package-preamble
Created by: mbostock
Last modified: Thu, 23 Jun 2022 06:38:55 GMT
Version: 0.1.0
License: BSD-3-Clause
Downloads: 671
Repository: https://github.com/mbostock/preamble

Install

npm install package-preamble
yarn add package-preamble

Package Preamble

Generates a minimalist preamble from a package.json. For example, given a package.json file:

 {
  "name": "hello-world",
  "version": "0.0.1",
  "homepage": "https://example.com/hello-world",
  "author": {
    "name": "Alice Baker",
    "url": "https://example.com/alice"
  }
}

If you run preamble in the same directory as this package.json:

preamble

You’ll get the following output:

 // https://example.com/hello-world Version 0.0.1. Copyright 2016 Alice Baker.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code