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 🙏

© 2025 – Pkg Stats / Ryan Hefner

v86-system

v0.5.0

Published

Command-line v86 runner with QEMU-compatible flags

Readme

v86-system

v86-system v0.4.0
Command-line v86 runner with QEMU-compatible flags

Usage:
  v86-system [options]

Memory options:
  -m SIZE               Set memory size (default: 512M)

Storage options:
  -hda FILE             Primary hard disk image
  -hdb FILE             Secondary hard disk image
  -fda FILE             Floppy disk A image
  -fdb FILE             Floppy disk B image
  -cdrom FILE           CD-ROM image

Boot options:
  -boot ORDER           Boot order (a,b,c,d,n) (default: c)
  -kernel FILE          Linux kernel image (bzImage)
  -initrd FILE          Initial ramdisk image
  -append STRING        Kernel command line

System options:
  -bios FILE            BIOS image file (default: seabios)
  -acpi                 Enable ACPI (default: off)
  -fastboot             Enable fast boot

Network options:
  -netdev CONFIG        Network device configuration

VirtFS options:
  -virtfs CONFIG        VirtFS configuration

Standard options:
  -h, --help            Show help
  -v, --version         Show version

Examples:
  v86-system -hda disk.img
  v86-system -m 1G -hda disk.img -cdrom boot.iso
  v86-system -kernel vmlinuz -initrd initrd.img -append "console=ttyS0"
  v86-system -hda disk.img -netdev user,type=virtio,relay_url=ws://localhost:8777

Install

npm i -g v86-system

QEMU Flag Mappings

| QEMU Flag | V86 Option | Description | |-----------|------------|-------------| | -m SIZE | memory_size | Memory size (supports K, M, G, T suffixes) | | -hda FILE | hda | Primary hard disk | | -hdb FILE | hdb | Secondary hard disk | | -cdrom FILE | cdrom | CD-ROM image | | -fda FILE | fda | Floppy disk A | | -fdb FILE | fdb | Floppy disk B | | -kernel FILE | bzimage | Linux kernel image | | -initrd FILE | initrd | Initial ramdisk | | -append STRING | cmdline | Kernel command line | | -bios FILE | bios | BIOS image | | -acpi | acpi | Enable ACPI | | -netdev user,CONFIG | net_device | Enable user-mode networking | | -virtfs proxy,URL | filesystem.proxy_url | VirtFS 9P WebSocket proxy |

Examples

Basic VM with memory and disk

v86-system -m 1G -hda disk.img

Boot from CD-ROM

v86-system -m 512M -hda disk.img -cdrom install.iso -boot d

Linux kernel boot

v86-system -kernel vmlinuz -initrd initrd.img -append "console=ttyS0 root=/dev/sda1"

Network options

v86-system -hda disk.img -netdev user,type=virtio,relay_url=ws://localhost:8777

Boot from 9P (over WebSocket)

v86-system -kernel vmlinuz -virtfs proxy,ws://localhost:7654 -append "console=ttyS0 rw root=host9p rootfstype=9p rootflags=trans=virtio,version=9p2000.L,aname=rootfs"

This assumes a 9P2000 WebSocket server is running with a root filesystem under rootfs.

License

MIT