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

exigo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exigo

Simple Exigo API client for Node.js

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

node-exigo

what is node-exigo?

node-exigo is an easy-to-use Exigo API client (http://api.exigo.com/3.0/)

install

npm install exigo --save

usage

var ExigoClient = require('exigo').ExigoClient;

var exigo = new ExigoClient({
	username: 'myloginname',
	password: 'mypassword',
	company: 'mycompany'
});

var parameters =  {
	'SomeExigoMethodOption': 'somevalue'
};

exigo.call('GetItems', parameters, function(error, items) {
	if(error) throw new Error(error);
	
	items.forEach(function(item) {
		console.log(item);
	});
});

Note: if you encounter some error like Error: Could not locate the bindings file. Tried:, and a long stacktrace, this is not a node-exigo error, it comes from the libxmljs library that comes with node-foam, some information about that issue is in:

A workaround to this issue is:

  • in the node_modules directory, navigate to the libxmljs module
  • edit the file binding.gyp and delete the lines where the product_extension and type options are
  • rebuild the module with node-gyp rebuild

thanks

Keywords

node

FAQs

Package last updated on 30 Jan 2015

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