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

rbox-js

v0.1.5

Published

Javascript library for interacting with the local and export data of Pioneers Rekordbox DJ software

Readme

⚠️ Disclaimer: This project is not affiliated with Pioneer DJ, AlphaTheta Corp., or any related entities. The maintainers and contributors assume no liability for any data loss or damage to your Rekordbox library. "Rekordbox" is a registered trademark of AlphaTheta Corporation.

rbox is a high-performance Rust library for seamlessly interacting with Pioneer DJ's Rekordbox software data. It supports the following Rekordbox files:

  • Rekordbox database: Query and update the Rekordbox v6/v7 master.db database through a type-safe ORM
  • One Library: Read and write Rekordbox One Library (Device Library Plus) export files
  • XML database: Read and write Rekordbox XML database files
  • Analysis Files: Read and write ANLZ files containing waveforms, beat grids, hot cues and more
  • Settings Access: Read and write My-Setting files

🔧 Installation

rbox-js is available on npm:

npm install rbox-js

or

yarn add rbox-js

🚀 Quick-Start

❗ Caution: Please make sure to back up your Rekordbox collection before making changes to rekordbox data. The backup dialog can be found under "File" > "Library" > "Backup Library"

Rekordbox 6/7 database

Rekordbox 6 and 7 use a SQLite database for storing the collection content. Unfortunatly, the master.db SQLite database is encrypted using SQLCipher, which means it can't be used without the encryption key. However, since your data is stored and used locally, the key must be present on the machine running Rekordbox.

rbox can unlock the new Rekordbox master.db SQLite database and provides an easy interface for accessing and updating the data stored in it.

import { MasterDb } from 'rbox-js'

const db = MasterDb.open();
const contents = db.getContents();
for (const content of contents) {
    console.log(content)
}

One Library (Device Library Plus)

For newer generation Pioneer DJ devices, Rekordbox exports a new library format to the USB storage device (or SD card), called One Library (formerly known as Device Library Plus). As of 2025, this format is only supported by the OPUS-QUAD, OMNIS-DUO, XDJ-AZ and CDJ-3000X devices. The database schema is similar to the main Rekordbox database. It contains a selection of tables from the main database, with similar columns and data types.

rbox can unlock the new Rekordbox exportLibrary.db One Library database and provides an easy interface for accessing the data stored in it:

import { OneLibrary } from 'rbox-js'

const db = new OneLibrary("exportLibrary.db");
const contents = db.getContents();
for (const content of contents) {
    console.log(content)
}

Rekordbox XML

The Rekordbox XML database is used for importing (and exporting) Rekordbox collections including track metadata and playlists. They can also be used to share playlists between two databases.

rbox can read and write Rekordbox XML databases.

import { RekordboxXml } from 'rbox-js'

const xml = RekordboxXml.load(path);
for (const track of xml.getTracks()) {
    console.log(`track: ${track}`);
}

Rekordbox ANLZ files

Rekordbox stores analysis information of the tracks in the collection in specific files, which also get exported to decives used by Pioneer professional DJ equipment. The files have names like ANLZ0000 and come with the extensions .DAT, .EXT or .2EX. They include waveforms, beat grids (information about the precise time at which each beat occurs), time indices to allow efficient seeking to specific positions inside variable bit-rate audio streams, and lists of memory cues and loop points.

rbox can parse and write all three analysis files.

import { Anlz } from 'rbox-js'

const anlz = new Anlz(path);
const beat_grid = anlz.getBeatGrid();sett.setQuantize(Quantize.Off);
for (const beat of beat_grid.beats) {
    console.log(`Beat: ${beat.beatNumber} Tempo: ${beat.tempo} Time: ${beat.time}`);
}

Rekordbox My-Settings

Rekordbox stores the user settings in *SETTING.DAT files, which get exported to USB devices. These files are either in the PIONEERdirectory of a USB drive (device exports), but are also present for on local installations of Rekordbox 6. The setting files store the settings found on the "DJ System" > "My Settings" page of the Rekordbox preferences. These include language, LCD brightness, tempo fader range, crossfader curve and other settings for Pioneer professional DJ equipment.

rbox supports both parsing and writing of My-Setting files.

import { Setting, Quantize } from 'rbox-js'

const sett = new Setting(path);
console.log(`Quantize: ${sett.getQuantize()}`);
sett.setQuantize(Quantize.Off);
sett.dump();

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Sponsor

If rbox has helped you or saved you time, consider supporting its development - every coffee makes a difference!

BuyMeACoffee