jmap-proxy

1.0.2 • Public • Published

JMAP Proxy Server

A wrapper around the official JMAP Proxy (https://proxy.jmap.io) that exposes a stubbed Authentication endpoint (well-known) and Event Source with CORS support.

Install

$ npm install jmap-proxy

Running

$ JMAP_PROXY_URL=https://proxy.jmap.io/jmap/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx npm start

Note: substitute JMAP_PROXY_URL for the full URL provided by https://proxy.jmap.io.

You can then use http://localhost:5000 in your JMAP client.

Debugging

You can test the proxy by going to http://localhost:5000/test.

JMAP documentation

Can be found at http://jmap.io/spec.html.

Readme

Keywords

Package Sidebar

Install

npm i jmap-proxy

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • zacbarton