New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mx-atrium

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mx-atrium

Node wrapper for the MX Atrium API

  • 0.0.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

MX Atrium

npm version Build Status

Description

This is a Node wrapper for the MX Atrium API. It is intended to be used as a helper for the implementation of a proxy server. To get an API key and Client ID, click here.

Installation

npm install mx-atrium

Usage

const Atrium = require('mx-atrium');

const AtriumClient = new Atrium.Client('API_KEY', 'CLIENT_ID', Atrium.environments.sand);

Sample Express.js route

app.get('/institutions', (request, response) => {
  AtriumClient.listInstitutions(request)
  .then(json => {
    response.json(json);
  });
});

For a complete express.js server example, click here.

Helpers

There are two constants returned with the Atrium instance, endpoints and environments.

Atrium.environments

This returns a sand and production URL that must be passed to the new client.

Atrium.endpoints

This returns an array of objects that can be used to build routes for the server.

Sample object

{
  method: 'post',
  url: '/users',
  clientMethod: 'createUser'
}

FAQs

Package last updated on 17 Jul 2018

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