1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# Package Preamble
Generates a minimalist preamble from a package.json. For example, given a package.json file:
```json
{
"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:
```js
// https://example.com/hello-world Version 0.0.1. Copyright 2016 Alice Baker.
```
|