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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@whoisxavier/display-ads-recorder

v1.0.0

Published

CLI tool by x-code.studio to record display ads and output to video and animated gif formats

Readme

Display Ads Recorder

npm version License: MIT Node Version PRs Welcome

x-code.studio Display Ads Recorder - Automate the recording of display ads and convert them into multiple formats (video, jpg, and animated gif).

Features

  • 📹 Multiple output formats support (MP4, GIF, JPG)
  • 🎵 Audio integration capabilities
  • ⚡ Parallel processing for better performance
  • 🎨 Customizable FPS settings (15, 30, 60)
  • 📦 Optimized file sizes
  • 🚀 Easy integration with existing display ad projects

Prerequisites

Installation

npm install @whoisxavier/display-ads-recorder

Basic Usage

display-ads-recorder

Advanced Usage

Command Line Options

display-ads-recorder [options]

Options:
  -c, --chunkSize      Define chunkSize (default: 10)
  -t, --targetDir      Set target dir
  -a, --all                  Record all ads
  -j, --jpg [size]          Output JPG with optional size in KB
  -g, --gif [loop]          Output animated GIF (once/loop)
  -m, --mp4                  Output MP4 video
  -au, --audio         Add audio file (relative path from target dir)
  -v, --volume       Specify audio volume
  -f, --fps <15|30|60>      Set FPS for recording

Examples

# Record all ads in build directory
display-ads-recorder -t ./build -a

# Record specific ad with multiple outputs
display-ads-recorder -t ./build -m -g loop -j 40 -f 30

# Record with audio
display-ads-recorder -t ./build -m -au ./audio/background.mp3 -v 0.8

Configuration

Required Ad Structure


Integration with Display Temple

import { enableAdsRecorder } from '@whoisxavier/display-temple';

// In your ad's main script
enableAdsRecorder(timeline, config);

Output Formats

MP4 Video

  • High-quality video output
  • Customizable FPS
  • Optional audio integration
  • Optimized for web delivery

Animated GIF

  • Loop or single-play options
  • Optimized color palette
  • Configurable frame rate
  • Balanced quality/size ratio

JPG Backup

  • Configurable file size limits
  • Automatic quality optimization

Contribute

View CONTRIBUTING.md

LICENSE

MIT © x-code.studio

Based on the original work by MediaMonks (MIT License)