Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
kinvey-node-sdk
Advanced tools
Kinvey (pronounced Kin-vey, like convey) makes it ridiculously easy for developers to setup, use and operate a cloud backend for their mobile apps. They don't have to worry about connecting to various cloud services, setting up servers for their backend, or maintaining and scaling them.
This node module makes it very easy to connect your NodeJS app with Kinvey.
To use the SDK, sign up for Kinvey if you have not already done so. Go to the sign up page, and follow the steps provided.
You can install the module using npm:
npm install kinvey-node-sdk --save
Import the library in your code using require
.
var Kinvey = require('kinvey-node-sdk');
Next, use Kinvey.init
to configure your app. Replace <appKey>
and <appSecret>
with your apps app key and secret. You can find these for your app using the Kinvey Console App.
Kinvey.init({
appKey: '<appKey>',
appSecret: '<appSecret>'
});
You can use the following snippet to verify the app credentials were entered correctly. This function will contact the backend and verify that the SDK can communicate with your app.
Kinvey.ping().then(function(response) {
console.log('Kinvey Ping Success. Kinvey Service is alive, version: ' + response.version + ', response: ' + response.kinvey);
}).catch(function(error) {
console.log('Kinvey Ping Failed. Response: ' + error.message);
});
You are now ready to start building your awesome apps! Next we recommend diving into the User guide or Data store guide to learn more about our service, or explore the sample apps to go straight to working projects.
Execute npm run build
to build the package.
TravisCI will deploy the pacakge to NPM.
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
. See Version Management for more info on incrementing the version.Updating the package version should follow Semantic Version 2.0.0:
Note: Before running any tests you will need to run npm install
to install any dependencies required.
The steps for running the unit tests is as follows:
npm test
.See LICENSE for details.
See CONTRIBUTING.md for details on reporting bugs and making contributions.
FAQs
Kinvey JavaScript SDK for NodeJS applications.
The npm package kinvey-node-sdk receives a total of 105 weekly downloads. As such, kinvey-node-sdk popularity was classified as not popular.
We found that kinvey-node-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.