npm.io
16.0.1 • Published 6 years ago

@the-/secret

Licence
MIT
Version
16.0.1
Deps
5
Size
116 kB
Vulns
0
Weekly
0

@the-/secret

npm Version

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

See API Guide for more detail

License

This software is released under the MIT License.

Keywords