Socket
Socket
Sign inDemoInstall

@backand/nodejs-sdk

Package Overview
Dependencies
2
Maintainers
5
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @backand/nodejs-sdk

Backand SDK for Node.js


Version published
Weekly downloads
5
increased by66.67%
Maintainers
5
Install size
706 kB
Created
Weekly downloads
 

Readme

Source

nodejs-sdk

Backand SDK for Node.js. This SDK enables you to communicate comfortably and quickly with your Backand app. It wraps the vanilla-sdk to allow easier work on projects involving Node.js.

Installation

To install the Node.js SDK, use the correct command for your dependency management platform:

ProviderCommand
npm$ npm i -S @backand/nodejs-sdk
yarn$ yarn add @backand/nodejs-sdk

Import

Use the following import statement to include the Node.js SDK in your project:

const backand = require('@backand/nodejs-sdk')

Quick start

backand.init({
  appName: 'APP_NAME',
  anonymousToken: 'ANONYMOUS_TOKEN'
});

NOTE: All methods except init are asynchronous (return Promise) so if you want to see their output, you have to worry that your node will not exit before they finish to run. (See examples)

Review the full API reference at our vanilla-sdk's github to get started with your back end!

Examples

To view the demo, just run npm start - example page.

License

MIT

Keywords

FAQs

Last updated on 05 Nov 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc