Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

realm-web

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

realm-web

Authenticate and communicate with the MongoDB Realm platform, from your web-browser

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20K
decreased by-0.01%
Maintainers
1
Weekly downloads
 
Created
Source

Realm Web

Accessing MongoDB Realm from a web-browser.

Installation

In its current form, the package has not been published to NPM, instead its distributed using a direct HTTP URL:

npm install https://static.realm.io/downloads/realm-web/realm-web-0.1.0.tgz

Caveats / limitations

As this is a very early preview release, it comes with a few caveats:

  • Most importantly, the Realm Web project will not include a Realm Sync client in any foreseeable future.
  • Automatically fetching the location of an app in the production environment, is not yet implemented. To get the correct base URL, you must set the baseUrl of the app to the value of hostname in the response you get from visiting 'https://stitch.mongodb.com/api/client/v2.0/app/<your-app-id>/location in your browser.
  • A limited selection of types of credentials for authentication providers are implemented at the moment:
    • Anonymous.
    • API key.
    • Email & password.
  • A limited selection of services are implemented at the moment:
    • Remote MongoDB (watching a collection is not yet implemented).
    • HTTP (send requests using the MongoDB service as a proxy).

Some parts of the legacy Stitch SDK is still missing, most notably:

  • The ability to link a user to another identity.
  • Persistance of the users tokens in the browsers local storage (user must reauthenticate after a page reload).
  • The types for the Realm.Credentials namespace is not fully implemented.
  • No device information is sent to the service when authenticating a user.

Using Realm Web from Node.js

You must install two additional peer dependencies when importing this package from Node.js:

npm install node-fetch abort-controller

Keywords

FAQs

Package last updated on 04 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc