Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Dynamically setup headers and redirects for you static deployments.
WARNING: This is still in active development, make sure you lock your versions!
yarn global add redhead
Or you can add it to your package.json
yarn add redhead --dev
$ npm install -g redhead
$ redhead COMMAND
running command...
$ redhead (-v|--version|version)
redhead/0.3.1 darwin-x64 node-v10.15.0
$ redhead --help [COMMAND]
USAGE
$ redhead COMMAND
...
redhead build
Generate the platform specific files based on the configuration
USAGE
$ redhead build
OPTIONS
-o, --output=output [default: .] Folder where the generated files should be saved.
See code: src/commands/build.js
redhead help [COMMAND]
display help for redhead
USAGE
$ redhead help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
redhead init
Initialize the required files
USAGE
$ redhead init
OPTIONS
-h, --no-headers Whether or not to handle headers with redhead
-r, --no-redirects Whether or not to handle redirects with redhead
DESCRIPTION
Generates files for handling your headers and/or redirects configuration.
See code: src/commands/init.js
redhead build
Generate the platform specific files based on the configuration. Currently only Netlify is supported, but we plan to add support for Firebase Hosting and Heroku Buildpack Static
USAGE
$ redhead build
OPTIONS
-o, --output=output [default: .] Folder where the generated files should be saved.
See code: src/commands/build.js
redhead help [COMMAND]
display help for redhead
USAGE
$ redhead help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
All contributions or issue reporting are welcomed. If you are filing a bug please include information to help debug it!
If you plan to contribute, please make sure you test the code.
FAQs
Dynamically setup headers and redirects for you static deployments
The npm package redhead receives a total of 0 weekly downloads. As such, redhead popularity was classified as not popular.
We found that redhead demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.