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

anvil.headers

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anvil.headers

A core anvil component that writes headers to output files

0.1.2
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Anvil Headers Extension

Enables tokenized header files to get prepended after minimization steps (and also saves you from having to type the same copyright crap at the top of each file).

Installation

anvil will install this plugin during post-install.

Conventions

File Name

Assumes that your header files will be named header and that the extension of the header file will control which kinds of files the header applies to.

Top Level Headers

By convention, a header file at the very top of your repository will get applied to all files in your source tree that have a matching extension.

Location

After that, header files within a directory will apply to all files found in that directory and 'override' any headers found at a higher level of the source tree hierarchy.

File specific headers

If you need to target a specific file you can provide the following configuration:

"anvil.headers": {
	"headers": {
		"relative/path/to/your/file.ext": "relative/path/to/your/header.ext"
	}
}

Keywords

anvil

FAQs

Package last updated on 20 Dec 2012

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