fhead
v3.3.0
Published
Command line utility for add header to files from specify directory
Downloads
13
Maintainers
Readme
File Headers
Command line utility for add header to files from specify directory
Instalation
npm i -g fhead
Configuration
- Add to your
package.json
file thefhead
object:
"fhead": {
"comment": "/** Do not use this config in production! */",
"root": "src",
"repository": "https://github.com/kolserdav/fhead.git",
"patterns": [
".js",
".ts"
],
"exclude": [],
"name": "Sergey Kolmiller",
"email": "[email protected]",
"license": "MIT",
"licenseText": "Text",
"copyright": "kolserdav, All rights reserved (c)",
"renewAll": true
}
Do not use this config in production!
Run
Go to project:
cd projectname
Start writing:
fhead
Result
/******************************************************************************************
* Repository: https://github.com/kolserdav/fhead.git
* File name: index.ts
* Author: Sergey Kolmiller
* Email: <[email protected]>
* License: MIT
* License text: Text
* Copyright: kolserdav, All rights reserved (c)
* Create date: Wed Oct 13 2021 08:48:52 GMT+0700 (Krasnoyarsk Standard Time)
******************************************************************************************/