Skip to content

jexia/jexia-sdk-js

Folders and files

NameName
Last commit message
Last commit date
May 22, 2020
Mar 22, 2018
Dec 20, 2019
Dec 15, 2020
Jun 18, 2020
Dec 15, 2020
Mar 5, 2021
Mar 7, 2017
May 30, 2019
Nov 16, 2017
Dec 23, 2019
Mar 5, 2021
Mar 22, 2018
May 22, 2020
Mar 2, 2017
Nov 6, 2020
Jan 8, 2018
Jun 6, 2019
Mar 5, 2021
Mar 5, 2021
Mar 20, 2018
Jun 8, 2020
Dec 15, 2020

Repository files navigation

Jexia Javascript SDK

CircleCI Chat on Discord

This is the official JavaScript / TypeScript SDK for interacting with Jexia projects.

Install

npm install jexia-sdk-js --save

or

yarn add jexia-sdk-js

Example Use

const jexiaSDK = require("jexia-sdk-js/node"); // use require("jexia-sdk-js/browser") for browser
const dataModule = jexiaSDK.dataOperations();

const credentials = {
  projectID: "<your-project-id>",
  zone: "<your-project-zone>",
  key: "<your-project-api-key>",
  secret: "<your-project-api-secret>",
};

jexiaSDK.jexiaClient().init(credentials, dataModule);

dataModule
  .dataset("posts")
  .select()
  .subscribe(
    records => console.log("All the records:", records),
    error => console.error("Something wrong happened:", error)
  );

Documentation

Check out documentation on the official Jexia website.

Contributing

You can find all the steps at the Contributing Guide.

License

MIT