New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

omnidispatch

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omnidispatch

Javascript Client SDK for OmniDispatch Server

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

OmniDispatch

Javascript Client SDK for OmniDispatch Server

Getting Started

You need to install OmniDispatch and set API credentials before you get started

Installation

npm i omnidispatch -S

Usage

For sending orders from client app

if (!process.env.SHIPPING_DSN) {
  process.env.SHIPPING_DSN = 'https://shipping.yourdomain.com';
}

const shipping = require('omnidispatch');
const data = [{
  order_code: 'sdsd334d',
  weight: 2
},
{
  order_code: 'sewa542g',
  weight: 12
},
{
  order_code: 'fdsf432r',
  weight: 23
}];

const order = shipping.orderSync(data);

FAQs

Package last updated on 02 May 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