
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
This package provides an easy to use interface for the ShopStyle API commonly known as ShopSense. shopsense-nodejs makes it convenient to access the ShopStyle API from your nodejs application.
Install the nodejs package:
$ npm install shopsense-nodejs
Include it in you nodejs application:
var ss = require("shopsense");
var ShopSense = require("shopsense");
var request = require('request');
var httpClient = function(url, future){
request.get({url:url, json:true}, function (e, r, d) {
future.deliver(d);
});
};
var pid = 'uid4384-22459372-1';
var apiVersion = 'v2';
var ss = new ShopSense(pid, apiVersion, httpClient);
console.log(" ");
console.log("brands");
ss.brands().when(function(d){
console.log(d.brands[0]);
});
console.log(" ");
console.log("categories");
ss.categories({
cat: "mens-clothes",
depth: "3"
}).when(function(d){
console.log(d.categories[0]);
});
console.log(" ");
console.log("colors");
ss.colors().when(function(d){
console.log(d.colors[0]);
});
console.log(" ");
console.log("product");
ss.product(359131344).when(function(d){
console.log(d);
});
console.log(" ");
console.log("productSearch");
ss.productSearch({
fts: "red dress",
offset: "0",
limit: "10"
}).when(function(d){
console.log(d.products[0]);
});
console.log(" ");
console.log("productsHistogram");
ss.productsHistogram({
filters: "Brand",
floor: "0"
}).when(function(d){
console.log(d.brandHistogram[0]);
});
console.log(" ");
console.log("retailers");
ss.retailers().when(function(d){
console.log(d.retailers[0]);
});
Will update this section or add some wiki pages when the package has been completed.
Please report any bugs found in shopsense-nodejs here. I appreciate your help improving shopsense-nodejs
If you have suggestions please contact me at jschell12@gmail.com.
FAQs
Shopsense API nodejs client.
We found that shopsense demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.