Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
wave-audio-path-player
Advanced tools
Simple audio player webcomponent customizable with waveform.
Simple audio player webcomponent customizable with waveform. Created with waveform-path.
npm i wave-audio-path-player
import 'wave-audio-path-player'
<script type="module" src="YOUR_PATH/wave-audio-path-player.umd.js"></script>
<!-- Basic -->
<wave-audio-path-player src="hello_world.ogg" wave-width="200" wave-height="40"></wave-audio-path-player>
<!-- Complete -->
<wave-audio-path-player src='hello_world.ogg' wave-width="200" wave-height="40" color="#55007f" wave-color="#55007f" wave-progress-color="#ff00ff" wave-slider="#ffaaff" wave-options='{"samples":40,"type":"steps","width":192,"height":40}'></wave-audio-path-player>
wave-audio-path-player {
margin-top: 10px;
margin-bottom: 10px;
}
#demo1::part(player) {
background:rgb(0, 0, 0);
padding: 15px 0px;
border-radius: 20px;
border:1px solid black;
}
#demo1::part(button) {
stroke: white;
fill:white;
}
#demo1::part(currenttime), #demo1::part(duration) {
color:white;
font-weight: bold;
}
#demo1::part(path1) {
stroke: white;
}
#demo1::part(path2) {
stroke:fuchsia;
}
Name | Required | Type | Description |
---|---|---|---|
src | True | audio file | Source path to audio file |
wave-width | True | px | Number of pixels |
wave-height | True | px | Number of pixels |
color | False | color | Color of elements |
wave-color | False | color | Color of wave incomplete (Only for wave-option "animation":false) |
wave-progess-color | False | color | Color of wave complete or animation |
wave-slider | False | color | Color of slider thumb |
wave-options | False | object | Object of waveform-path (width and height is replaced for wave-width and wave-height) |
FAQs
Simple audio player webcomponent customizable with waveform.
The npm package wave-audio-path-player receives a total of 82 weekly downloads. As such, wave-audio-path-player popularity was classified as not popular.
We found that wave-audio-path-player demonstrated a not healthy version release cadence and project activity because the last version was released 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.