Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
more4less
Advanced tools
Readme
A fast flexible price search engine for various german online shops!
Curiosity 🤷♂️
npm i more4less
import * as more4less from "more4less";
import { AmazonPriceSearchEngine, EbayPriceSearchEngine } from 'more4less'; // Individual classes
const more4less = require("more4less");
const { EbayPriceSearchEngine } = require('more4less'); // Individual classes
import * as more4less from "more4less";
const ebay = new more4less.EbayPriceSearchEngine();
(async () => {
const getProduct = await ebay.search("alexa firestick");
console.log(getProduct);
})();
// or
import { SearchEngineFactory } from "more4less";
const engine = new SearchEngineFactory().GetSearchEngine("Amazon");
(async () => {
const getProduct = await engine.search("alexa firestick");
console.log(getProduct);
})();
import * as more4less from "more4less";
const engine = new SearchEngineFactory().GetSearchEngine("All");
(async () => {
const getProduct = await engine.search("alexa firestick");
console.log(getProduct);
})();
import * as more4less from "more4less";
const searchEngines = new more4less.SearchEngineList([new more4less.EbayPriceSearchEngine(), new more4less.AmazonPriceSearchEngine2()]);
(async () => {
const getProduct = await searchEngines.search("alexa firestick");
console.log(getProduct);
})();
There are two ways of saving the output, either as JSON or CSV
import * as more4less from "more4less";
const searchEngines = new more4less.SearchEngineList([new more4less.EbayPriceSearchEngine(), new more4less.AmazonPriceSearchEngine2()]);
const output = new more4less.JSONOutput("test.json") // path and filename
(async () => {
const getProduct = await searchEngines.search("alexa firestick");
output.outputData(getProduct);
})();
// Each price engine provides the follwoing results:
interface ISearchResult {
engine: string;
link: string;
name: string;
rating: number;
price: number;
thumbnail: string;
}
Software contributions are welcome. If you are not a dev, testing and reproting bugs can also be very helpful!
Please open an issue if you have questions, wish to request a feature, etc.
FAQs
A price search engine for various german online shops
The npm package more4less receives a total of 1 weekly downloads. As such, more4less popularity was classified as not popular.
We found that more4less 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.