blueprint-sdk
v0.1.14
Published
Source Digital BluePrint library
Downloads
166
Readme
BluePrint SDK for JavaScript
The BluePrint SDK for JavaScript is a collection of libraries that enable you to interact with BluePrint services from your JavaScript applications.
Getting Started
Install the SDK
This library is distributed on npm
. In order to add it as a dependency, run the following command:
npm install blueprint-sdk
You can alternatively install a submodule as its own dependency. Replace with your preferred module name:
npm install @blueprint-sdk/moment
Use the SDK modules in your application
BluePrint SDK modules are designed to be used in a modular fashion. You can import the modules you need and use them in your application.
import { initializeApp } from 'blueprint-sdk/app'
import { createMomentSelector } from 'blueprint-sdk/moment'
const blueprintConfig = {
appKey: 'your-app-key',
env: 'prod' // default is 'prod'
}
const app = await initializeApp(blueprintConfig)
const momentSelector = createMomentSelector(app, { /* options */ })
Available BluePrint Modules
Moment
import {} from 'blueprint-sdk/moment'
License
This SDK is distributed under the Apache License, Version 2.0. The Apache 2.0 License applies to the SDK only and not any other component of the BluePrint Platform.