
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
react-twemoji
Advanced tools
A simple React wrapper for Twemoji. It calls twemoji.parse() to convert emoji characters to Twemoji images.
npm install react-twemoji
Simply use it to wrap your emotional content. Set options
prop to pass options to twemoji.parse
.
import Twemoji from 'react-twemoji';
<Twemoji options={{ className: 'twemoji' }}>
<p>😂<span>😉</span></p>
</Twemoji>
It outputs following HTML to DOM,
<div>
<p>
<img draggable="false" class="twemoji" alt="😂" src="https://twemoji.maxcdn.com/2/72x72/1f602.png">
<span>
<img draggable="false" class="twemoji" alt="😉" src="https://twemoji.maxcdn.com/2/72x72/1f609.png">
</span>
</p>
</div>
npm run example
then open http://localhost:8080/
npm run lint
npm run test
npm run build
FAQs
A React wrapper for Twemoji
The npm package react-twemoji receives a total of 8,016 weekly downloads. As such, react-twemoji popularity was classified as popular.
We found that react-twemoji demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.