@the-/secret
Secret store for the-frameworks
Installation
$ npm install @the-/secret --save
Usage
'use strict'
const theSecret = require('@the-/secret')
async function tryExample() {
const secret = theSecret('./secrets.json', 'xxxxxxxxxxxx')
await secret.encrypt()
await secret.decrypt()
}
tryExample().catch((err) => console.error(err))
API Guide
- module:@the-/secret
- module:@the-/secret.helpers
- module:@the-/secret.mixins
- module:@the-/secret.mixins.cryptoMix
- module:@the-/secret.mixins.lockMix
- TheSecret
See API Guide for more detail
License
This software is released under the MIT License.