Skip to content

Module that contains all the Adobe I/O Core SDKs

License

Notifications You must be signed in to change notification settings

sangeetha5491/aio-sdk-core

 
 

Repository files navigation

@adobe/aio-sdk-core

Version Downloads/week Build Status License Greenkeeper badge Codecov Coverage

This is the Adobe I/O Core SDK. This contains:

SDK Health

The module can be added to your project with:

npm install @adobe/aio-sdk-core --save

Here is a snippet:

const CoreSdk = require('@adobe/aio-sdk-core')
// OR ...
const { Config, Errors, TVMClient, Logger } = require('@adobe/aio-sdk-core')

// set a Config key value
CoreSdk.Config.set('my.token', 1234)

// get all stored config values
CoreSdk.Config.get()

// create your own Error wrapper here, see @adobe/aio-lib-core-error docs
const { AioCoreSDKError, AioCoreSDKErrorWrapper } = CoreSdk.Errors

// init the TVM client for further use
const tvm = await CoreSdk.TVMClient.init({ ow: { auth: '<myauth>', namespace: '<mynamespace>' } })

// create a Logger
const myAppLogger = CoreSdk.Logger('MyApp')
myAppLogger.info('Hello, Dave.')

Explore

goto API

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

About

Module that contains all the Adobe I/O Core SDKs

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%