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

@warren-bank/bare-hls-proxy

v3.6.5

Published

Bare.js server to proxy HLS video streams

Readme

Bare.js HLS Proxy : HTTP Live Streaming Proxy for the Bare JS Runtime

Documentation

Roadblocks

  • ~~bare-http1.request()~~
    • solution: issue proposes a one-line fix
    • fixed: in v4.2.1 by diff
  • ~~bare-https.request()~~
    • solution: issue proposes a one-line fix
    • fixed: in v2.1.2 by diff
  • ~~bare-tcp.Server.listen()~~
    • solution: issue proposes a trivial fix
    • workaround:
      • apply a downstream one-line fix both here and here
        • old: server.listen(port,
        • new: server.listen(port, '0.0.0.0',
      • fixed: in v3.6.3 by diff
  • ~~bare-http1.ServerResponse.writeHead()~~
    • solution: issue proposes a one-line fix
    • fixed: in v4.2.2 by diff
  • ~~streamx.Stream.destroy()~~
    • example:
        const http = require('bare-http1')
      
        const url = 'http://httpbin.org/headers'
      
        const onresponse = (res) => {
          res.setEncoding('utf8')
          res.on('data', () => {})
          res.on('end', () => {
            console.log('request ended', res.statusCode, "\n")
            res.destroy()
            make_request()
          })
        }
      
        let remainder = 5
      
        const make_request = () => {
          if (remainder <= 0) return
          remainder--
      
          console.log('request started')
          http.request(url, onresponse).end()
        }
      
        make_request()
    • where:
    • workaround:
      • apply a downstream one-line fix by avoiding the redundant call to res.destroy() from the res.on('end') event listener
      • fixed: in v2.1.3 by diff
  • ~~streamx.Pipeline.done()~~
    • workaround:
      • apply a downstream one-line fix here
          response.on('error', () => {})
      • fixed: in v3.6.5 by diff

Installation and Usage: Globally

How to: Install:

npm install --global "@warren-bank/bare-hls-proxy"

How to: Run the server(s):

bare-hlsd <options>

Installation and Usage: Working with a Local git Repo

How to: Install:

git clone "https://github.com/warren-bank/bare-HLS-Proxy.git"
cd "bare-HLS-Proxy"
npm install

How to: Run the server(s):

# ----------------------------------------------------------------------
# If using a port number >= 1024 on Linux, or
# If using Windows:
# ----------------------------------------------------------------------
npm start [-- <options>]

# ----------------------------------------------------------------------
# https://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html
#
# Linux considers port numbers < 1024 to be privileged.
# Use "sudo":
# ----------------------------------------------------------------------
npm run sudo [-- <options>]

Legal: