Parse SDK for JavaScript
Switch branches/tags
Clone or download
greenkeeper[bot] and peril-parse-community[bot] Update ws to the latest version πŸš€ (#698)
* fix(package): update ws to version 6.1.2

* chore(package): update lockfile package-lock.json
Latest commit e2997cb Nov 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Moves integration test at top level with jasmine (#593) Jul 26, 2018
integration Handle undefined in Cloud Code (#682) Oct 21, 2018
src Add save Method for Parse.Config (#684) Nov 14, 2018
vendor β˜•οΈ Fresh cup of open source πŸ…ΏοΈ Sep 16, 2015
.eslintignore Adds eslint on src and src/__tests__ (#638) Aug 13, 2018
.eslintrc.json Adds eslint on src and src/__tests__ (#638) Aug 13, 2018
.gitignore Adds eslint on src and src/__tests__ (#638) Aug 13, 2018
.travis.yml Update .travis.yml Oct 27, 2018
2.0.0.md Adds eslint on src and src/__tests__ (#638) Aug 13, 2018
CHANGELOG.md ⚑ Release 2.1.0 (#658) Sep 8, 2018
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Jun 18, 2017
CONTRIBUTING.md Update CONTRIBUTING.md (#615) Jul 29, 2018
LICENSE transfer code Apr 5, 2017
PATENTS transfer code Apr 5, 2017
README.md ⚑️ Release v2.0.1 (#624) Aug 9, 2018
babel-jest.js Update jsdoc-babel to the latest version πŸš€ (#653) Sep 1, 2018
build_releases.sh β˜•οΈ Fresh cup of open source πŸ…ΏοΈ Sep 16, 2015
greenkeeper.json Greenkeeper/initial (#589) Jun 26, 2018
gulpfile.js Update jsdoc-babel to the latest version πŸš€ (#653) Sep 1, 2018
index.js β˜•οΈ Fresh cup of open source πŸ…ΏοΈ Sep 16, 2015
jasmine.json Moves integration test at top level with jasmine (#593) Jul 26, 2018
jsdoc-conf.json Update jsdoc-babel to the latest version πŸš€ (#653) Sep 1, 2018
node.js β˜•οΈ Fresh cup of open source πŸ…ΏοΈ Sep 16, 2015
package-lock.json Update ws to the latest version πŸš€ (#698) Nov 17, 2018
package.json Update ws to the latest version πŸš€ (#698) Nov 17, 2018
react-native.js β˜•οΈ Fresh cup of open source πŸ…ΏοΈ Sep 16, 2015
release_docs.sh Automated docs + releases (#522) Dec 3, 2017
setup-jest.js Update dependencies to enable Greenkeeper 🌴 (#429) Jun 18, 2017

README.md

Parse SDK for JavaScript

Build Status Test Coverage Npm Version CDNJS version Greenkeeper badge License Greenkeeper badge

Backers on Open Collective Sponsors on Open Collective

A library that gives you access to the powerful Parse cloud platform from your JavaScript app. For more information on Parse and its features, see the website, the JavaScript guide or API Reference.

Getting Started

The easiest way to integrate the Parse SDK into your JavaScript project is through the npm module. However, if you want to use a pre-compiled file, you can fetch it from unpkg. The development version is available at https://unpkg.com/parse/dist/parse.js, and the minified production version is at https://unpkg.com/parse/dist/parse.min.js.

Using Parse on Different Platforms

The JavaScript ecosystem is wide and incorporates a large number of platforms and execution environments. To handle this, the Parse npm module contains special versions of the SDK tailored to use in Node.js and React Native environments. Not all features make sense in all environments, so using the appropriate package will ensure that items like local storage, user sessions, and HTTP requests use appropriate dependencies. For server side rendered applications, you may set the SERVER_RENDERING variable to prevent warnings at runtime.

To use the npm modules for a browser based application, include it as you normally would:

var Parse = require('parse');

For server-side applications or Node.js command line tools, include 'parse/node':

// In a node.js environment
var Parse = require('parse/node');

For React Native applications, include 'parse/react-native':

// In a React Native application
var Parse = require('parse/react-native');

// On React Native >= 0.50 and Parse >= 1.11.0, set the Async
var AsyncStorage = require('react-native').AsyncStorage;
Parse.setAsyncStorage(AsyncStorage);

Upgrading to Parse SDK 2.0.0

With Parse SDK 2.0.0, gone are the backbone style callbacks and Parse.Promises.

We have curated a migration guide that should help you migrate your code.

License

Copyright (c) 2015-present, Parse, LLC.
All rights reserved.

This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.

As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.