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

workfm

v0.1.5

Published

A CLI tool to stream royalty-free music from the Jamendo API, perfect for creating the perfect work soundtrack.

Downloads

110

Readme

WorkFM 🎵

A CLI tool to stream royalty-free music from the Jamendo API, perfect for creating the perfect work soundtrack.

Prerequisites

Before installing WorkFM, ensure you have the following installed on your system:

ffmpeg

WorkFM uses ffmpeg to process and stream audio files. You must have ffmpeg installed.

macOS:

brew install ffmpeg

Ubuntu/Debian:

sudo apt-get install ffmpeg

Windows: Download from ffmpeg.org or use:

choco install ffmpeg

Verify installation:

ffmpeg -version

Setup

Getting a Jamendo API Key

WorkFM uses the Jamendo API to fetch royalty-free tracks. You'll need to create a Jamendo app to get your Client ID.

Steps to create a Jamendo App:

  1. Visit Jamendo Developer Portal
  2. Sign up or log in to your account
  3. Navigate to "My Apps" section
  4. Click "Create New App"
  5. Fill in the app details and accept the terms
  6. Your app will be created with a Client ID displayed on the app details page

Important: Copy the Client ID (not the Client Secret)

Jamendo Client ID screenshot

Install via npm / use directly via npx

npm install -g workfm

You can also use npx if you would like to avoid a permanent installation.

npx workfm <command>

Configure Your API Key

Run the following command with your Jamendo Client ID:

workfm config set YOUR_JAMENDO_CLIENT_ID

This will save your API key to ~/.workfm/config.json

Usage

Show all available stations

workfm show stations

Play a station

workfm play <station>

Available stations: lofi (default), and others

Example:

workfm cafe

Play with default station

workfm

This plays the default "lofi" station.

Search for music

workfm -s "jazz music"

Use the -s or --search flag to search for specific types of music.

Examples

# Play lofi hip-hop (default)
workfm

# Play a specific station
workfm cafe

# Search for jazz
workfm -s "jazz"

# Search for upbeat music
workfm -s "upbeat electronic"

Configuration

Your Jamendo Client ID is stored in ~/.workfm/config.json. If you need to update it, simply run:

workfm config set NEW_CLIENT_ID

Development

Run in development mode:

npm run dev -- play cafe

Build for production:

npm run build

Debug mode:

npm run debug -- play rain

About Jamendo

WorkFM uses the Jamendo API to fetch royalty-free music. Jamendo is a platform hosting thousands of independent artists' work with permissive licensing.

License

ISC