3.0.2 • Published 4 years ago

netlify-plugin-password-protection v3.0.2

Weekly downloads
17
License
MIT
Repository
github
Last release
4 years ago

netlify-plugin-password-protection

Netlify Status

Based on the fantastic CLI tool staticrypt, this plugin will encrypt your files with a password from your NETLIFY environment variables

Setup

Install the plugin as a dependency to your repository

npm i --s netlify-plugin-password-protection

Add the plugin in netlify.toml

[[plugins]]
  package = "netlify-plugin-password-protection"

Deploy your Netlify Site!

Optional Configuration in netlify.toml

[[plugins]]
  package = "netlify-plugin-password-protection"

  [plugins.inputs]
    fileFilter = "*.html" # default
    directoryFilter = ["!node_modules", "!admin", "!plugins"] # default
    title = "Protected Page" # default
    instructions = "" # default

We use paulmillr/readdirp and pass both options fileFilter and directoryFilter directly to choose which html files will be encrypted.

License MIT

Made by Blair Anderson

3.0.2

4 years ago

3.0.1

4 years ago

2.2.1

4 years ago

2.2.2

4 years ago

3.0.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago