
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
BeepBox is a music synthesizer, along with an online editor for authoring songs that you can try out at beepbox.co!
The editor stores all song data in the URL as text after the hash mark, and this song data can be easily copied and shared. You can use the code in this npm package to synthesize music out loud from this song data, just like in the editor!
BeepBox is a passion project, and will always be free to use. If you find it valuable and have the means, any gratuity via PayPal would be appreciated! BeepBox is developed by John Nesky, and this code is available under the MIT license.
You can easily use a script tag to load the synthesizer code, then use the global beepbox
namespace to access the synthesizer:
<script src="https://cdn.jsdelivr.net/npm/beepbox/global/beepbox_synth.min.js"></script>
<script>
const {Synth} = beepbox;
</script>
If you're using npm, you can use that to install the synthesizer on the command line:
npm install beepbox
And then in your code you can import the synthesizer as a module:
import {Synth} from "beepbox";
Deploying code to your website that was written in this manner is a complex subject that's outside the scope of this README, but the advantage is that you can use many advanced tools, including TypeScript.
Either way, you can use the Synth class in your code to play and pause songs using the song data that you can copy from the URL above BeepBox's online editor:
var synth = new Synth("#9n30sbk7l00e00t2-a7g00j00r1i0o443T0v2u00f0qw02d03w2h0E0T0v2u00f0qw02d03w2h0E0T0v0u00f0qw02d03w1h0E0bUp1OFEYtghQ4sBihS7dQQuwE8W2eywzwPbGcKCzZk4t17hghQCngpo");
document.getElementById("playButton").addEventListener("click", event => {
if (synth.isPlayingSong) {
synth.pause();
} else {
synth.play();
}
});
Make sure that the playback is triggered by a user input event, such as a "click" event.
The npm package called beepbox
has changed. If you were using npm to access the beepbox
package before 2024-09, that version of the package has moved to beepbox-lite. Please update your dependencies!
FAQs
BeepBox is an online tool for sketching and sharing instrumental music.
The npm package beepbox receives a total of 7 weekly downloads. As such, beepbox popularity was classified as not popular.
We found that beepbox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.