Noiseless Praying Mantis

    realm-web
    TypeScript icon, indicating that this package has built-in type declarations

    1.7.0 • Public • Published

    Realm Web

    Accessing MongoDB Realm from a web-browser.

    Documentation

    Visit https://docs.mongodb.com/realm/web/ for quick guides on getting started and examples on how to use it.

    We're not publishing documentation explicitly for this SDK, but we aim to align names and method signatures identical for the subset of functionality in Realm Web which is also available in the Realm JS SDK. For this reason, the Realm JS reference manual is a great start to learn about the classes and methods provided by the Realm Web SDK.

    Installation

    Via NPM, when used in a project with a bundler, such as Webpack, Parcel or Rollup:

    npm install realm-web
    

    As a script-tag in the head of a browser:

    <script src="https://unpkg.com/realm-web@1.7.0/dist/bundle.iife.js"></script>

    Caveats / limitations

    • The Realm Web project will not include a Realm Sync client in any foreseeable future. Use the realm package to use Realm Sync from a Node.js, ReactNative or Electron environment.
    • A limited selection of services are implemented at the moment:
      • MongoDB: Read, write and watch MongoDB documents.

    Using Realm Web in a Node.js environment

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

    npm install node-fetch abort-controller
    

    Keywords

    Install

    npm i realm-web

    DownloadsWeekly Downloads

    4,980

    Version

    1.7.0

    License

    SEE LICENSE IN LICENSE

    Unpacked Size

    1.09 MB

    Total Files

    13

    Last publish

    Collaborators

    • kraenhansen
    • realmnpm
    • kneth