1pif-to-csv 中文文档教程
1pif-to-csv
Why
1Password4 仅导出 .1pif
文件,没有 1password 与其他人共享不是很方便。 此 cli 工具可转换为 CSV 以便于共享。
注意:.1pif
文件未加密。 CSV 也是如此。 如果您要共享生成的文件,请以安全的方式进行。
Installation
npm i -g 1pif-to-csv
Usage
CLI
$ 1pif-to-csv export.1pif > passwords.csv
这将创建一个文件,标题为:标题,网址,用户名,密码。
Node
var pifToCSV = require('1pif-to-csv')
, fs = require('fs')
pifToCSV(fs.createReadStream('./export.1pif')).pipe(process.stdout)
options
唯一的选择是 .1pif
文件的可读流。
tests
所有测试都是摩卡咖啡。 您可以使用 npm test
或 mocha test
运行它们。
Changelog
请参见 CHANGELOG.md
1pif-to-csv
Why
1Password4 only exports .1pif
files, which are not very handy for sharing with other people without 1password. This cli tool that converts to CSV for easier sharing.
NOTE: .1pif
files are unencrypted. So is the CSV. If you're going to share the resulting file, please do so in a secure manner.
Installation
npm i -g 1pif-to-csv
Usage
CLI
$ 1pif-to-csv export.1pif > passwords.csv
This wil create a file the headings of: title, url, username, password.
Node
var pifToCSV = require('1pif-to-csv')
, fs = require('fs')
pifToCSV(fs.createReadStream('./export.1pif')).pipe(process.stdout)
options
The only option is a readable stream to a .1pif
file.
tests
All tests are mocha. You can run them with either npm test
or mocha test
.
Changelog
See CHANGELOG.md