Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
react-stickerpipe
Advanced tools
Component for the StickerPipe API. Currently in development.
Install from npm
Basic Usage
import StickerMenu from 'react-stickerpipe';
function sendSticker(sticker) {
send.sticker(sticker);
}
function MyComponent() {
return (
<StickerMenu
apiKey={your.apiKey}
userId={your.userId}
sendSticker={sendSticker}
/>
);
}
You can also pass your own API client as client
to <StickerMenu />
. The client must contain the following methods:
// Get the purchased packs for the current user
getMyPacks() {}
// Get the sticker shop
getShop() {}
// Preview a sticker pack
getPackPreview() {}
// Purchase a sticker pack
purchasePack() {}
Install node_modules
used in ./src
:
$ npm i
Compile ./src
with Babel:
$ npm run compile
Install node_modules
used in ./examples
:
$ cd examples && npm i
Create a settings.json file in ./examples/src
:
{
"apiKey": "yourApiKey",
"userId": "yourUserId"
}
To watch for changes in ./src
run:
$ npm run watch
Babel will compile ./src
on changes.
To start the webpack server run:
$ cd examples && npm run start
Webpack wil compile on changes in both ./src
and ./examples/src
.
This project is licensed under the terms of the MIT license.
FAQs
React Component for StickerPipe API
The npm package react-stickerpipe receives a total of 6 weekly downloads. As such, react-stickerpipe popularity was classified as not popular.
We found that react-stickerpipe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.