package-preamble

0.1.0 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i package-preamble

      Weekly Downloads

      265

      Version

      0.1.0

      License

      BSD-3-Clause

      Last publish

      Collaborators

      • mbostock