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{letauth=newAuth({host: KeeperEnvironment.DEV,});awaitauth.login(username,password);console.log("login successful");letvault=newVault(auth);awaitvault.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