Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

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.

Install

npm i package-preamble

DownloadsWeekly Downloads

28

Version

0.1.0

License

BSD-3-Clause

Last publish

Collaborators

  • avatar