0.1.1 • Published 4 years ago

wabac v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

wabac

version license build code style

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-east1
TEST_PROJECT_ID=your-project-here
TEST_BUCKET_NAME=careful-because-what-you-specify-will-get-wiped-out-by-the-tests

License

This project is licensed under the MIT license.