1pux-to-csv

1.1.0 • Public • Published

1pux to CSV

This script converts a 1Password .1pux file to a CSV file. It's been tested to be successfully imported into Padloc (extraFields currently ignored), but it should work for other alternatives as well.

NOTE Files and documents aren't supported (they'll be ignored). Feel free to open a PR for it once 1Password adds support for them.

Usage (CLI)

Assuming you already have npx installed via npm:

npx 1pux-to-csv file.1pux
npx 1pux-to-csv file.1pux -o file.csv

Either of these will create a file.csv file with all the exported data. The first tag for every item will be the vault's name. Note that two-factor code generators (one-time passwords) are also included in this data export.

Usage (Library)

npm install --save-exact 1pux-to-csv
// If you need the types
import { OnePuxExport, OnePuxData, OnePuxItem } from '1pux-to-csv/types';

// If you need a parser function
import { parse1PuxFile, parseToRowData } from '1pux-to-csv';

Development

npm install
npm run prettier
npm test
npm run build
npm run build/test
npm start file.1pux

Deployment

npm version <patch|minor|major>
npm run deploy

/1pux-to-csv/

    Package Sidebar

    Install

    npm i 1pux-to-csv

    Weekly Downloads

    6

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    18 kB

    Total Files

    8

    Last publish

    Collaborators

    • brunobernardino