This Javascript SDK allows you to interact with the Keeper backend API service - login, sync Vault, manage data etc.
This SDK can be used from Node or from the browser
Usage:
npm install keeperapitry {
let auth = new Auth({
host: KeeperEnvironment.DEV,
});
await auth.login(username, password);
console.log("login successful");
let vault = new Vault(auth);
await vault.syncDown();
vault.records.forEach((x) => console.log(JSON.stringify(x)));
} catch (e) {
console.log(e);
}For local development,
npm run buildfrom "keeperapi" folder, then
npm link ../../keeperapifrom your client folder
To ignore certain commits in git blame (like formatting commits), run this command:
git config blame.ignoreRevsFile .git-blame-ignore-revs