JSPM

wabac

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q32678F
  • License MIT

A versioned cache backed by cloud storage

Package Exports

  • wabac

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wabac) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.