@bixvolt/radar-sdk v1.6.4
radar-sdk
The client side SDK for utilizing the Radar API.
Features
- Convenient methods for interacting with Radar API
- Cross-platform support (browser, node, react)
Installation
Start by installing the package from npm:
npm install @bixvolt/radar-sdkDevelopment
In node you can use the package like so:
import RadarSDK from '@bixvolt/radar-sdk'
const RadarClient = new RadarSDK.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.
- Build the package by running
npm run build - Increment the release version in
package.jsonusing SEMVER (major, minor, patch) - Make sure you are logged into npm and have the correct permissions to publish the package.
- When you're ready to publish, run
npm run releaseto publish the package to npm. - Last, run
npm run release:gitto create and push a tag and then create a release.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago