ivault

1.0.2 • Public • Published

Usage:

    const v = ivault({
        path: "path-to-vault-file",
        pass: "password",
        autoOpen: true/false,
        autoUnlock: true/false
    });
    v.open({
        path: "path-to-vault-file",
        pass: "password",
        autoUnlock: true/false
    });
    v.close({ pass: "password" });
    v.lock({ pass: "password" });
    v.unlock({ pass: "password });
    v.set( key, value );
    // v.set( key ); // This deletes the key/value pair from the vault
    v.get( key );

Package Sidebar

Install

npm i ivault

Weekly Downloads

4

Version

1.0.2

License

ISC

Last publish

Collaborators

  • cryogena