New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@buttercup/exporter

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buttercup/exporter

Export Buttercup vaults

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Buttercup Exporter

Export Buttercup vaults

Build Status npm version

About

This library provides methods to allow you to export Buttercup vaults to CSV.

Install by running the following:

npm install @buttercup/exporter --save

Requires NodeJS 10 or later.

Usage

Require the exporter method and pass an archive instance to it:

const fs = require("fs");
const { Archive } = require("buttercup");
const { exportVaultToCSV } = require("@buttercup/exporter");

const archive = new Archive();
archive.createGroup("General")
    .createEntry("email")
        .setProperty("username", "test@mail.com")
        .setProperty("password", "passw0rd");

exportVaultToCSV(archive).then(csv => {
    fs.writeFileSync("./test.csv", csv);
});

exportVaultToCSV takes the vault instance as the only parameter and returns a Promise.

Keywords

FAQs

Package last updated on 11 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc