protect-static-pages

1.0.0 • Public • Published

protect-static-pages

protect-static-pages password protects static pages. It uses AES-256 from crypto-js library to encrypt static pages and produce a HTML file with a password prompt to decrypted in-browser (client side).

Installation

Usage

Usage: protect-static-pages [options] <file>
 
Options:
  --help            Show help                                          [boolean]
  --version         Show version number                                [boolean]
  -p, --passphrase  Passphrase to encrypt with          [string] [default: null]
  -t, --template    Decryption prompt page template
  [string] [default: "/home/signed/Documents/source-code/development/protect-sta
                                                 tic-pages/build/template.html"]
  -o, --output      Encrypted file name                 [string] [default: null]

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.01latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.01

Package Sidebar

Install

npm i protect-static-pages

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

142 kB

Total Files

9

Last publish

Collaborators

  • 51gn3d