Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including pvault with all npm packages installed. Try it out:

var pvault = require("pvault")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

pvault v1.0.3

Password protected vault


Save your api keys in a password protected file on your repo.



Getting started

npm install && npm test


Create a new vault

pvault create <name>

List existing vaults

pvault list


Once a vault is open, the following commands are available :

  • set <key> <value>

  • unset <key>

  • get <key>

  • dump

  • exit

Opening a vault from the application

  var pvault    = require('pvault');
  var Vault     = pvault(process.cwd()); // Vault folder

  var apiKeys = new Vault('apiKeys', process.ENV.PVAULT_PASSWORD);
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free