Socket
Socket
Sign inDemoInstall

redhead

Package Overview
Dependencies
73
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    redhead

Dynamically setup headers and redirects for you static deployments


Version published
Maintainers
1
Install size
3.43 MB
Created

Readme

Source

RedHead

Dynamically setup headers and redirects for you static deployments.

WARNING: This is still in active development, make sure you lock your versions!

Installation

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.1.0 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

Contributing

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.

Credits

Keywords

FAQs

Last updated on 03 Feb 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc