parse_facade 0.0.2

  • Installing
  • Versions
  • 56

parse_facade Build Status

parse_facade interfaces with Parse's javascript SDK for working with parse-server


This package expects Parse's javascript SDK to be available in the browser.

Sample usage:

main() async {
  // Initialize your parse app
  Parse.initialize('applicationId', 'javascriptKey');
  // set the URL of parse-server
  Parse.serverURL = 'http://localhost:1337/parse';

  // Object declaration
  var p1 = new ParseObject('Person');
  p1.set('address', 'some place');
  // you can also save an object with additional attributes
  await {'someNum': 100});

  // alternative object declaration
  var p2 = new ParseObject('Person', {'address': 'some place'});

  // Signing up a user using the static method
  await ParseUser.signUpUser('username', 'password');
  // Signing up a user with attributes using the static method
  await ParseUser.signUpUser('username', 'password', {'address': 'some place'});

  // Signup a user from a User instance
  var u1 = new ParseUser()
    ..username = 'user1'
    ..password = 'password1';
  await u1.signUp();

Features and bugs

This package is an attempt to allow the use of Parse's javascript SDK from dart in the browser.

It tries to maintain the same API (to minimize the learning curve) while allowing

That said, there will be some cases where the API is a bit different. This will mostly be done to remove ambiguity in method signatures. For example, the JS SDK can be used with callbacks or with promises (in most cases). However, this package uses only Futures and does away with callbacks altogether.

Current state

This package currently doesn't expose all the functionality that the JS SDK does. However, the intention is to gradually make it feature compatible with the JS SDK.


Contributions in the form of suggestions to improve the code quality, feature requests, bug notifications, etc are all welcome.

If you have any suggestions/pull requests to improve this package, just open an issue and I'll be happy to work with you to improve this package.

You can file feature requests and bugs at the issue tracker.



  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  parse_facade: "^0.0.2"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

      import 'package:parse_facade/parse_facade.dart';
Version Uploaded Documentation Archive
0.0.2 Nov 22, 2016 Go to the documentation of parse_facade 0.0.2 Download parse_facade 0.0.2 archive
0.0.1 Nov 22, 2016 Go to the documentation of parse_facade 0.0.1 Download parse_facade 0.0.1 archive


We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
35 / 100
Code health derived from static analysis. [more]
100 / 100
Reflects how tidy and up-to-date the package is. [more]
43 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: web, other

Primary library: package:parse_facade/parse_facade.dart with components: js.


  • Package is getting outdated.

    The package was released 82 weeks ago.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
js ^0.6.1 0.6.1
Dev dependencies
test >=0.12.0 <0.13.0
xhr_interceptor_facade ^0.0.1