
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.
weeb-wrapper
Advanced tools
A simple, yet useful wrapper for the weeb.sh
API.
yarn add weeb-wrapper
npm install weeb-wrapper
Disclaimer: This is just a simple wrapper, if you want more information than url
, type
, fileType
, etc... You should not be even downloading a node module for that.
WeebWrapper
will be:const WeebWrapper = require('weeb-wrapper');
const wrapper = new WeebWrapper(<Token>);
wrapper.random(<ImageType/ImageTag>, { hidden, nsfw, filetype }); // Returns Promise<Object>
/**
* You can get the ImageTypes and ImageTags using the wrapper.types(); and wrapper.tags();
* Everything on the object of the second argument is optional.
*/
Example:
const wrapper = new WeebWrapper(<Token>);
wrapper.random('hug', { hidden: false, nsfw: false, filetype: 'jpeg' });
const wrapper = new WeebWrapper(<Token>);
wrapper.tags(hidden); // Returns Promise<Array<string>>
/**
* The first and only argument is optional.
*/
Example:
const wrapper = new WeebWrapper(<Token>);
wrapper.tags(false);
const wrapper = new WeebWrapper(<Token>);
wrapper.types(hidden); // Returns Promise<Array<string>>
/**
* The first and only argument is optional.
*/
Example:
const wrapper = new WeebWrapper(<Token>);
wrapper.types(true);
const wrapper = new WeebWrapper(<Token>);
wrapper.upload(<Buffer>, <ImageType/ImageTag>, { nsfw, source, tags }); // Returns Promise<Object>
/**
* The third argument is optional.
* The first argument is a File Buffer, for example using https://nodejs.org/api/fs.html#fs_fs_readfile_path_options_callback
*/
Example:
const wrapper = new WeebWrapper(<Token>);
wrapper.upload('<directory>', 'hug', { nsfw: true, source: '<URL/Anime Name>', tags: 'cuddle,astolfo' });
FAQs
A simple yet useful wrapper for the weeb.sh API.
The npm package weeb-wrapper receives a total of 7 weekly downloads. As such, weeb-wrapper popularity was classified as not popular.
We found that weeb-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.