1.0.3 • Published 2 years ago
@rubbrband/rubbrband v1.0.3
Rubbrband JS Library
The Rubbrband JS library provides convenient access to the Rubbrband API from applications written in Javascript. It includes a class for API resources that clients can initialize with their API key, which they can retrieve from https://app.rubbrband.com.
Documentation
See the Node.js API docs here.
Installation
You do't need this source code unless you want to change the package. To install the package and use it, just run
npm install rubbrband-js
Usage
The library needs to be configured with your accounts' API key which is available in the Rubbrband Dashboard.
import { rubbrband } from './rubbrband-js';
const API_KEY = 'YOUR_API_KEY';
// Configure Redux with Rubbrband
const store = configureStore({
reducer: counterSlice.reducer,
middleware: [rubbrband(API_KEY)]
})
//