sops-wrapper
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

sops-wrapper

Known Vulnerabilities Standard - JavaScript Style Guide

NPM

This module works as a wrapper for the Sops tool to Yaml and Json files.

Important: you must have Sops utile before starting this module.

Example

import { execSops, decryptSops } from 'sops-wrapper';
const version = execSops(['--version']);
const encryptStringContent = execSops(['--encrypt', 'example.json']);
const decryptJSObject = decryptSops('example.enc.json');

Tests

The repo contains linter, formatter, and the one simple unit test. All of this can be run with npm run default.

Package Sidebar

Install

npm i sops-wrapper

Weekly Downloads

697

Version

1.0.0

License

MIT

Unpacked Size

5.25 kB

Total Files

8

Last publish

Collaborators

  • moon1706