
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
use-font-face-observer
Advanced tools
Font Face Observer is a small
@font-face
loader and monitor compatible with any webfont service. It will monitor when a webfont is loaded and notify you. It does not limit you in any way in the where, when, or how you load your webfonts. Unlike the Web Font Loader Font Face Observer uses scroll events to detect font loads efficiently and with minimum overhead.
yarn add use-font-face-observer
const isFontListLoaded = useFontFaceObserver([
{
family: `Roboto`,
style: `italic`,
weight: `bold`,
stretch: `condensed`,
},
]);
const isFontListLoaded = useFontFaceObserver([
{ family: `Roboto` },
{ family: `Inter` },
]);
false
)const isFontListLoaded = useFontFaceObserver(
[{ family: `Roboto` }],
{
testString: `ФЯЦ`,
timeout: 5000,
},
{
showErrors: true,
},
)
FAQs
React hook to detect if web fonts are available 🪝
The npm package use-font-face-observer receives a total of 5,668 weekly downloads. As such, use-font-face-observer popularity was classified as popular.
We found that use-font-face-observer 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.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.