0.2.1 • Published 1 year ago
@flubpub/flub-sdk v0.2.1
flub-sdk
The client side SDK for utilizing the Flub API.
Features
- Convenient methods for interacting with Flub API
- Cross-platform support (browser, node, react)
Installation
Start by installing the package from npm:
npm install @flubpub/flub-sdk
Development
In node you can use the package like so:
import FlubSDK from '@flubpub/flub-sdk'
const FlubClient = new FlubSDK.Client({
baseUrl: 'http://127.0.0.1:8787'
})
In the browser you can include the file in a <script>
tag but more ideally you can use a bundler like webpack to include the package.
Deployment
Make sure you have gh
installed globally. Ideally install it with your systems package manager (such as via brew
). Otherwise you can install it via npm install -g gh
.
Then follow these steps to publish a new version of the package to npm and create a new release on GitHub.
- Login to the
@flubpub
NPM account withnpm login
- Build the package by running
npm run build
- Increment the release version in
package.json
using SEMVER (major, minor, patch) - When you're ready to publish, run
npm run release
to publish the package to npm. - Last, run
npm run release:git
to create and push a tag and then create a release.
0.2.1
1 year ago
0.2.0
1 year ago
0.1.9
1 year ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago