@jsmrcaga/keep
v0.5.2
Published
A simple password manager
Downloads
8
Readme
Keep
A simple credential management solution.
Roadmap
- [X] Simple user and credential management
- [X] Credential encrypting server-side (with 2nd encrypting password/certif)
- [X] Front end
- [X] Front end only encryption
- [ ] OTP Management
- [ ] Web authentication (fingerprint)
Installation
keep
works as a CLI to make it easy to launch. In order to install it just run
npm i -g @jsmrcaga/keep
You should now have access to the CLI.
CLI
- Start:
keep start [--config ./config.json] [--port 1234]
Note that if no config is specified,
./config.json
will be used as a default
API
You can also use it via its API:
const keep = require('@jsmrcaga/keep');
keep.start({ port: 1234 }, configFile).then(() => {
// do something
}).catch(e => {
// handle the error
});
Please note that when using as an API
keep
will not register global error handling. When launched via the CLI it will viaprocess.on('unhandledRejection')
andprocess.on('uncaughtError')
.
Requirements
- Database:
Keep uses MongoDB along with
@jsmrcaga/mongo
. You should be able to launch it just by specifiying your config via the API or the cli.
Configuration
Example:
Note that under
db
all properties will be forwarded to@jsmrcaga/mongo
{
"db": {
"username": "",
"password": "",
"port": 23456
}
}