wabac
A versioned cache backed by cloud storage.
Install
$ npm install --save wabac
Usage
Follow the Google Cloud Storage quickstart. In particular, you
must set up authentication with a service account and set the
GOOGLE_APPLICATION_CREDENTIALS
access variable.
Development
Designate a name for your test bucket. Be careful! The tests will destroy this bucket.
Create a .env
:
GOOGLE_APPLICATION_CREDENTIALS=...TEST_LOCATION=us-east1TEST_PROJECT_ID=your-project-hereTEST_BUCKET_NAME=careful-because-what-you-specify-will-get-wiped-out-by-the-tests
License
This project is licensed under the MIT license.