npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

boombox-audiosprite

v0.2.1

Published

boombox-audiosprite is audio sprite generator that has compatibility with boombox.js.

Readme

boombox-audiosprite

boombox-audiosprite is audio sprite generator that has compatibility with boombox.js.

About (en)

This command wraps the tonistiigi/audiosprite.

This command converts to a JSON file corresponded to boombox.js from output JSON file using tonistiigi/audiosprite.

boombox-audiosprite will not process the original sound data generated by tonistiigi/audiosprite.

In addition to, refer to README.md of tonistiigi/audiosprite

About (ja)

boombox-audiosprite は、tonistiigi/audiosprite コマンドをラップしたコマンドです。

tonistiigi/audiospriteが出力したJSONファイルを、boombox.js に対応したJSONに変換します。

tonistiigi/audiosprite で生成されたサウンドデータは、boombox-audiosprite で加工されることはありません。

合わせて、tonistiigi/audiosprite の README.md も参照ください。

Dependent command

Check

$ which ffmpeg
$ which audiosprite

Install

$ npm install -g boombox-audiosprite

Test

$ npm test

Sample

$ cd /Users/fkei/boombox.js/spec/media
$ boombox-audiosprite -e ac3,caf,mp3,m4a *.wav

==========
audiosprite(https://github.com/tonistiigi/audiosprite) wrapper for boombox.js :)
==========


util.pump() is deprecated. Use readableStream.pipe() instead.
info: File added OK file=/var/folders/2g/gb26mb5111zf89jr1dp818240000gp/T/audiosprite.04611885884873569, duration=11.981519274322417
info: Silence gap added duration=1.0184807256235828
info: Exported ac3 OK file=output.ac3
info: Exported mp3 OK file=output.mp3
info: Exported m4a OK file=output.m4a
info: Exported json OK file=output.json
info: All done


>>> Output audio files: /Users/fkei/boombox.js/spec/media
<<< Original json file for audiosprite: /Users/fkei/boombox.js/spec/media/output.json
>>> Processed json file for boombox.js: /Users/fkei/boombox.js/spec/media/boombox-output.json

[ Success ] Goodbye :p

Command line help

$ boombox-audiosprite --help

==========
audiosprite(https://github.com/tonistiigi/audiosprite) wrapper for boombox.js :)
==========


info: Usage: audiosprite [options] file1.mp3 file2.mp3 *.wav
info: Options:
  --output, -o      Name for the output file.                                    [default: "output"]
  --export, -e      Limit exported file types. Comma separated extension list.   [default: ""]
  --log, -l         Log level (debug, info, notice, warning, error).             [default: "info"]
  --autoplay, -a    Autoplay sprite name                                         [default: null]
  --silence, -s     Add special "silence" track with specified duration.         [default: 0]
  --samplerate, -r  Sample rate.                                                 [default: 44100]
  --channels, -c    Number of channels (1=mono, 2=stereo).                       [default: 1]
  --rawparts, -p    Include raw slices(for Web Audio API) in specified formats.  [default: ""]
  --help, -h        Show this help message.

LICENSE

The MIT License (MIT)

@see : LICENSE