nymph-client-node
A client wrapper for using Nymph Client in Node.js.
Last updated 2 months ago by hperrin .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nymph-client-node 
SYNC missed versions from official npm registry.

Nymph Node Client - collaborative app data

Latest Stable Version Open Issues License

Powerful object data storage and querying for collaborative web apps.

Installation

npm install --save nymph-client-node

This repository is the JavaScript client for Node. There is also a browser client. For more information, you can see the main Nymph repository.

This package provides fetch and WebSocket ponyfills to Nymph, handles Tilmeld auth tokens, and sets up Nymph.init to also call PubSub.init with your configs if you provide a pubsubURL.

Usage

To use, require it instead of nymph-client:

const { Nymph } = require('nymph-client-node');

Then provide the options to Nymph.init:

Nymph.init({
  restURL: 'https://yournymphrestserver/path/to/your/rest.php',
  pubsubURL: 'wss://yournymphpubsubserver'
});

For a thorough step by step guide to setting up Nymph on your own server, visit the Setup Guide.

API Docs

Check out the API Docs in the wiki.

Current Tags

  • 4.1.0                                ...           latest (2 months ago)

11 Versions

  • 4.1.0                                ...           2 months ago
  • 4.0.0                                ...           2 months ago
  • 3.0.0                                ...           3 months ago
  • 3.0.0-beta.1                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.0.1-alpha4                                ...           2 years ago
  • 0.0.1-alpha3                                ...           2 years ago
  • 0.0.1-alpha2                                ...           2 years ago
  • 0.0.1-alpha1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 11
Last Day 0
Last Week 11
Last Month 2
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |