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 or the JavaScript guide.
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 npmcdn. The development version is available at https://npmcdn.com/parse/dist/parse.js, and the minified production version is at https://npmcdn.com/parse/dist/parse.min.js.
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.
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');
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.