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

hibearnate-liquidsoap

v1.1.0

Published

A library for interfacing hiBEARnate with a Liquidsoap telnet server

Readme

hiBEARnate-liquidsoap

###hiBEARnate-liquidsoap is a supporting package for the hiBEARnate server.

For more information on hiBEARnate, you can find us on seriousbears.net or #seriousbears on quakenet.

To install:

npm install hibearnate-liquidsoap

This library provides several functions:

  • getMetadata(id, callback(responseJSON))

A numeric ID is passed, at which point a JSON object containing metadata about that ID is returned.

  • getLiquidsoapData(command, callback(responseData))

A command is passed and executed against Liquidsoap's telnet server. Any response data returned by the telnet server is cleaned up (to remove extra line breaks, "END" token, etc.) and returned as the first parameter of the callback.

  • getOnAirMetadata(command, callback(responseJSON))

A query is made against Liquidsoap, returning the metadata tags for the currently playing file. Unlike the getMetadata call, this does not return things like where the audio is coming from, when it started playing, its request ID, etc.

####Changelog: v1.1.0 (2015-09-21)

  • Refined changes from 1.0.3-4 into a new exported function: getOnAirMetadata. This call returns a TagObject containing a list of ID3 (or similiar) tags from the audio that is currently playing.
  • The object returned by getMetadata has been modified to include the tags as a separate pproperty.

v1.0.4 (2015-09-20)

  • Fix for an issue when calling back with the name of the currently-streaming DJ

v1.0.3 (2015-09-20)

  • Added a function to get the ID of the currently-streaming DJ.

v1.0.2 (2015-09-19)

  • Fixed a bug with logging the name of the environment when the module starts up.

v1.0.1 (2015-09-19)

  • Attempting to fix a require issue where the module can't be found.

v1.0.0 (2015-09-19)

  • Broke Liquidsoap functions out into a separate module installable with npm. This is an attempt to get the whole of hiBEARnate to be a little easier to maintain!