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

zork-ts

v1.0.5

Published

Zork I: The Great Underground Empire - TypeScript Edition

Readme

Zork I: The Great Underground Empire - TypeScript Edition

A faithful TypeScript source port of the classic 1980 interactive fiction game by Infocom.

"You are standing in an open field west of a white house, with a boarded front door. There is a small mailbox here."

Installation

npm install -g zork-ts

Play

zork

That's it! You're now ready to explore the Great Underground Empire.

About the Game

Zork I is a text adventure game where you explore an underground empire, solve puzzles, collect treasures, and try to survive encounters with various creatures. The game responds to natural language commands like:

  • go north or just n
  • open mailbox
  • take lamp
  • examine sword
  • attack troll with sword
  • save / restore

Tips for New Players

  1. Explore thoroughly - Look at everything, read everything
  2. Map your surroundings - The underground can be confusing
  3. Save often - Death lurks around many corners
  4. Be specific - If a command doesn't work, try rephrasing it
  5. Light is precious - Keep track of your light sources

Commands

| Command | Description | | ------- | ----------- | | look (or l) | Describe your surroundings | | inventory (or i) | List what you're carrying | | take <item> | Pick up an item | | drop <item> | Put down an item | | examine <item> | Look closely at something | | open/close <item> | Open or close containers/doors | | save | Save your game | | restore | Load a saved game | | quit | Exit the game | | score | Check your score |

Requirements

  • Node.js 25.0.3 or higher

About This Implementation

This TypeScript version achieves 100% logic parity with the original Z-Machine implementation:

  • All puzzles are solvable exactly as in the original
  • All NPCs (troll, thief, cyclops) behave authentically
  • All 350 points are achievable
  • Save/restore functionality works seamlessly

The implementation has been verified through exhaustive testing against the original game.

Running from Source

If you prefer to run from source:

git clone https://github.com/zork-ts/zork-ts.git
cd zork-ts
npm install
npm run dev

Credits

  • Original Game: Marc Blank, Dave Lebling, Bruce Daniels, Tim Anderson (Infocom, 1980)
  • TypeScript Port: @jsredmond

Learn More

License

MIT

Contributing

See CONTRIBUTING.md for development setup and guidelines.