You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to make contributing to this project as easy and transparent as possible.
3
+
4
+
If you're looking to get started, but want to ease yourself into the codebase, look for issues tagged [good first bug](https://github.com/ParsePlatform/Parse-SDK-JS/labels/good%20first%20bug). These are simple yet valuable tasks that should be easy to get started.
5
+
6
+
## Pull Requests
7
+
We actively welcome your pull requests.
8
+
9
+
1. Fork the repo and create your branch from `master`.
10
+
2. If you've added code that should be tested, add tests
11
+
3. If you've changed APIs, update the documentation.
12
+
4. Ensure the test suite passes.
13
+
5. Make sure your code lints.
14
+
6. If you haven't already, complete the Contributor License Agreement ("CLA").
15
+
16
+
## Contributor License Agreement ("CLA")
17
+
In order to accept your pull request, we need you to submit a CLA. You only need to do this once to work on any of Facebook's open source projects.
18
+
19
+
Complete your CLA here: <https://developers.facebook.com/opensource/cla>
20
+
21
+
## Issues
22
+
We use GitHub issues to track public bugs. Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue.
23
+
24
+
Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe disclosure of security bugs. In those cases, please go through the process outlined on that page and do not file a public issue.
25
+
26
+
## Coding Style
27
+
* Most importantly, match the existing code style as much as possible.
28
+
* We use [Flow](http://flowtype.org/) and ES6 for this codebase. Use modern syntax whenever possible.
29
+
* Keep lines within 80 characters.
30
+
* Always end lines with semicolons.
31
+
32
+
## License
33
+
By contributing to the Parse JavaScript SDK, you agree that your contributions will be licensed under its license.
34
+
35
+
## Code of Conduct
36
+
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read [the full text](https://code.facebook.com/codeofconduct) so that you can understand what actions will and will not be tolerated.
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](https://parse.com) or [the JavaScript guide](https://parse.com/docs/js/guide).
8
+
9
+
## Getting Started
10
+
11
+
The SDK is available for download [on our website](https://parse.com/downloads) or [on our CDN](http://www.parsecdn.com/js/parse-latest.js). However, the easiest way to integrate it into your JavaScript project is through the [npm module](https://npmjs.org/parse).
12
+
13
+
### Using Parse on Different Platforms
14
+
15
+
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](https://facebook.github.io/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.
16
+
17
+
To use the npm modules for a browser based application, include it as you normally would:
18
+
19
+
```js
20
+
var Parse =require('parse');
21
+
```
22
+
23
+
For server-side applications or Node.js command line tools, include `'parse/node'`:
24
+
25
+
```js
26
+
// In a node.js environment
27
+
var Parse =require('parse/node');
28
+
```
29
+
30
+
For React Native applications, include `'parse/react-native'`:
31
+
```js
32
+
// In a React Native application
33
+
var Parse =require('parse/react-native');
34
+
```
35
+
36
+
## License
37
+
38
+
```
39
+
Copyright (c) 2015-present, Parse, LLC.
40
+
All rights reserved.
41
+
42
+
This source code is licensed under the BSD-style license found in the
43
+
LICENSE file in the root directory of this source tree. An additional grant
44
+
of patent rights can be found in the PATENTS file in the same directory.
0 commit comments