
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Opinionated, responsive, audio player compatible with Twitter Cards - Fully RSC compliant
⏯️ AudioCard is an opinionated, responsive, audio player for React, designed to be compatible with Twitter Player Cards.
npm install audiocard
# or
yarn add audiocard
# or
pnpm add audiocard
import AudioCard from 'audiocard'
<AudioCard
source="https://example.com/audio.mp3"
title="My Audio Track"
art="https://example.com/artwork.jpg"
duration={180}
width={750}
/>
import AudioCard from 'audiocard'
<AudioCard
source="https://example.com/audio.mp3"
title="Interactive Audio"
duration={180}
width={750}
autoplay={true}
preload={true}
/>
AudioCard is fully compatible with React Server Components and Next.js App Router. The component includes the 'use client'
directive, so it can be imported and used directly in server components without any additional configuration.
// This works in a Next.js server component
import AudioCard from 'audiocard'
export default function MyServerComponent() {
return (
<AudioCard
source="https://example.com/audio.mp3"
title="Server Component Audio"
duration={180}
width={750}
/>
)
}
See the other options on the ⏯️ AudioCard Storybook.
The design was heavily influenced by the Twitter card for Overcast.fm.
import AudioCard from 'audiocard'
<AudioCard
art="https://seekjustice.fm/art300.jpg"
source="https://dts.podtrac.com/redirect.mp3/seekjustice.fm/media/001.mp3"
title="Seek Justice Podcast"
duration={180}
currentTime={0}
color="#333"
background="#f5f5f5"
width={600}
/>
FAQs
Opinionated, responsive, audio player compatible with Twitter Cards - Fully RSC compliant
The npm package audiocard receives a total of 63 weekly downloads. As such, audiocard popularity was classified as not popular.
We found that audiocard demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.