Socket
Socket
Sign inDemoInstall

indix-api-nodejs

Package Overview
Dependencies
86
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.20

.nvmrc

11

package.json
{
"name": "indix-api-nodejs",
"version": "0.1.3",
"version": "0.1.20",
"description": "Indix API NodeJS Client",
"main": "lib/indix-api.js",
"scripts": {
"tdd": "mocha --compilers js:babel-register --watch",
"test": "mocha --compilers js:babel-register --timeout 5000",
"tdd": "mocha test/*-test.js --compilers js:babel-register --watch",
"test": "mocha test/*-test.js --compilers js:babel-register --timeout 5000",
"coverage": "babel-node ./node_modules/.bin/isparta cover _mocha",
"build": "babel src -d lib",
"examples": "babel-node test/example.js"
"examples": "babel-node examples/example.js"
},

@@ -19,2 +20,4 @@ "author": "Indix",

"chai-fuzzy": "^1.6.1",
"isparta": "^4.0.0",
"istanbul": "^0.4.3",
"mocha": "^2.4.5"

@@ -21,0 +24,0 @@ },

@@ -8,3 +8,6 @@ # Indix API NodeJS Client

## Installation
TBD
Run the following command in your NodeJS project directory to download and install the API client.
```
npm install indix-api-nodejs --save
```

@@ -134,3 +137,3 @@ ## Usage

var query = {
inputFile: fs.createReadStream('test/stubs/bulk-job-input.csv', 'utf8'), // Refer to examples below for format
inputFile: fs.createReadStream('test/stubs/bulk-job-input.txt', 'utf8'), // Refer to examples below for format
countryCode: 'US'

@@ -156,7 +159,6 @@ }

```
mpn, brandId
1281HTWR, 28860
5121412LMR, 6553
S-19141SIL, 2579
2000157819, 48162
{ "mpn": "1281HTWR", "brandId": 28860 }
{ "mpn": "5121412LMR", "brandId": 6553 }
{ "mpn": "S-19141SIL", "brandId": 2579 }
{ "mpn": "2000157819", "brandId": 48162 }
```

@@ -166,8 +168,7 @@

```
sku, storeId
251095, 68
415384, 68
364678, 68
328808, 68
505250, 68
{ "sku": "228-10245", "storeId": 311 }
{ "sku": "228-10255", "storeId": 311 }
{ "sku": "29G-00752", "storeId": 311 }
{ "sku": "29G-00754", "storeId": 311 }
{ "sku": "29G-01030", "storeId": 311 }
```

@@ -177,8 +178,7 @@

```
upc
80196294216
92325000018
844660084877
14389642713
14389642720
{ "upc": 80196294216 }
{ "upc": 92325000018 }
{ "upc": 844660084877 }
{ "upc": 14389642713 }
{ "upc": 14389642720 }
```

@@ -185,0 +185,0 @@

@@ -23,3 +23,3 @@ import chai from 'chai';

var query = {
inputFile: fs.createReadStream('test/stubs/bulk-job-input.csv', 'utf8'),
inputFile: fs.createReadStream('test/stubs/bulk-job-input.txt', 'utf8'),
countryCode: 'US'

@@ -41,3 +41,3 @@ }

var query = {
inputFile: fs.createReadStream('test/stubs/bulk-job-input.csv', 'utf8'),
inputFile: fs.createReadStream('test/stubs/bulk-job-input.txt', 'utf8'),
countryCode: 'US'

@@ -59,3 +59,3 @@ }

var query = {
inputFile: fs.createReadStream('test/stubs/bulk-job-input.csv', 'utf8'),
inputFile: fs.createReadStream('test/stubs/bulk-job-input.txt', 'utf8'),
countryCode: 'US'

@@ -77,3 +77,3 @@ }

var query = {
inputFile: fs.createReadStream('test/stubs/bulk-job-input.csv', 'utf8'),
inputFile: fs.createReadStream('test/stubs/bulk-job-input.txt', 'utf8'),
countryCode: 'US'

@@ -95,3 +95,3 @@ }

var query = {
inputFile: fs.createReadStream('test/stubs/bulk-job-input.csv', 'utf8'),
inputFile: fs.createReadStream('test/stubs/bulk-job-input.txt', 'utf8'),
countryCode: 'US'

@@ -113,3 +113,3 @@ }

var query = {
inputFile: fs.createReadStream('test/stubs/bulk-job-input.csv', 'utf8'),
inputFile: fs.createReadStream('test/stubs/bulk-job-input.txt', 'utf8'),
countryCode: 'US'

@@ -125,2 +125,2 @@ }

});
});

@@ -119,2 +119,2 @@ import chai from 'chai';

});
});

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc