SERVER_RENDERING variable to prevent warnings at runtime.
To use the npm modules for a browser based application, include it as you normally would:
const Parse = require('parse'); // ES6 Minimized import Parse from 'parse/dist/parse.min.js';
For web worker or browser applications, indexedDB storage is available:
For server-side applications or Node.js command line tools, include
// In a node.js environment const Parse = require('parse/node');
For React Native applications, include
// In a React Native application const Parse = require('parse/react-native.js'); // On React Native >= 0.50 and Parse >= 1.11.0, set the Async const AsyncStorage = require('@react-native-async-storage/async-storage'); Parse.setAsyncStorage(AsyncStorage);
For WeChat miniprogram, include
// In a WeChat miniprogram const Parse = require('parse/weapp');
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.weapp.js, and the minified production version is at https://unpkg.com/parse/dist/parse.weapp.min.js.
For TypeScript applications, install
$ npm install @types/parse
Types are updated manually after every release. If a definition doesn't exist, please submit a pull request to @types/parse
Parse JS SDK is continuously tested with the most recent releases of Node.js to ensure compatibility. We follow the Node.js Long Term Support plan and only test against versions that are officially supported and have not reached their end-of-life date.
|Node.js 14||14.19.1||April 2023||✅ Yes|
|Node.js 16||16.19.0||September 2023||✅ Yes|
|Node.js 18||18.12.1||April 2025||✅ Yes|
|Node.js 19||19.3.0||June 2023||✅ Yes|
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.
Parse Server supports many 3rd Party Authenications. It is possible to linkWith any 3rd Party Authentication by creating a custom authentication module.
You can also use your own forks, and work in progress branches by specifying them:
npm install github:myUsername/Parse-SDK-JS#my-awesome-feature
And don't forget, if you plan to deploy it remotely, you should run
npm install with the