@backand/nodejs-sdk
Advanced tools
Comparing version 1.1.2 to 1.1.8
@@ -0,0 +0,0 @@ const backand = require('./../src/index'); |
{ | ||
"name": "@backand/nodejs-sdk", | ||
"version": "1.1.2", | ||
"version": "1.1.8", | ||
"description": "Backand SDK for Node.js", | ||
@@ -14,3 +14,6 @@ "main": "./src/index.js", | ||
"scripts": { | ||
"start": "cd ./example/ && node demo.js" | ||
"start": "cd ./example/ && node demo.js", | ||
"patch": "npm version patch -m \"Release version %s\"", | ||
"version": "npm update -S @backand/vanilla-sdk && git add -A", | ||
"postversion": "git push && git push --tags" | ||
}, | ||
@@ -20,3 +23,3 @@ "author": "Backand", | ||
"dependencies": { | ||
"@backand/vanilla-sdk": "^1.1.2", | ||
"@backand/vanilla-sdk": "^1.1.7", | ||
"xmlhttprequest": "^1.8.0" | ||
@@ -23,0 +26,0 @@ }, |
nodejs-sdk | ||
=== | ||
[![npm version](https://img.shields.io/npm/v/@backand/nodejs-sdk.svg?style=flat-square)](https://www.npmjs.org/package/@backand/nodejs-sdk) | ||
[![npm downloads](https://img.shields.io/npm/dt/@backand/nodejs-sdk.svg?style=flat-square)](http://npm-stat.com/charts.html?package=@backand/nodejs-sdk) | ||
> Backand SDK for [Node.js](https://nodejs.org/). | ||
@@ -12,13 +9,13 @@ This SDK enables you to communicate comfortably and quickly with your Backand app. | ||
## Installation | ||
- npm: | ||
```bash | ||
$ npm i -S @backand/nodejs-sdk | ||
``` | ||
- yarn: | ||
```bash | ||
$ yarn add @backand/nodejs-sdk | ||
``` | ||
To install the Node.js SDK, use the correct command for your dependency management platform: | ||
| Provider | Command | | ||
| -------- | ------- | | ||
| 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: | ||
```javascript | ||
@@ -39,3 +36,5 @@ const backand = require('@backand/nodejs-sdk') | ||
Review the full API reference at our [vanilla-sdk's github](https://github.com/backand/vanilla-sdk) to get started with your back end! | ||
## Examples | ||
@@ -42,0 +41,0 @@ ***To view the demo, just run npm start - [example page](https://github.com/backand/nodejs-sdk/blob/master/example/).*** |
global.XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest; | ||
module.exports = require('@backand/vanilla-sdk'); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4086
45
1
Updated@backand/vanilla-sdk@^1.1.7