New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bannerman

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bannerman

Quick and dirty CLI util to add banner info to file(s) based on your package.json

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

bannerman

package version package downloads standard-readme compliant package license make a pull request Greenkeeper badge

Quick and dirty CLI util to add banner info to file(s) based on your package.json

Table of Contents

Install

This project uses node and npm.

$ npm install bannerman
$ # OR
$ yarn add bannerman

Usage

You should be in the root directory of the project (Same as the package.json file). Just list the files you would like to add banners to followed by --[name of property] for all the properties of your package.json you would like to add a banner. If you flag a property that doesn't exist it will just be ignored.

For example:

$ bannerman file1.js file2.css --name --version

Will generate at the top of file1.js and file2.css:

/**
 *
 * @name awesome-project
 * @version 1.0.0
 */

It can easily be used as a npm script:

"script": {
  "banner": "bannerman dist/awesome.js --name --version --author --license"
}

Note: - There is no support for nested properties in the package.json

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am 'Add some feature'
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

Keywords

FAQs

Package last updated on 24 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc