Skip to content

mbostock/preamble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Generate a tiny preamble from a package.json.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •