Export Buttercup vaults


571.1.0a year ago3 years agoMinified + gzip package size for @buttercup/exporter in KB


Buttercup Exporter

Export Buttercup vaults

Build Status npm version


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.


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();
        .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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.