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

babelbam

v1.1.3

Published

babelbam is your **Comprehensive** JavaScript **Sandbox** and **Notebook**.

Readme

babelbam

babelbam is your Comprehensive JavaScript Sandbox and Notebook.

Offering a dynamic environment to build, disseminate, and revise code snippets in real-time, babelbam enhances your coding experience.

With compatibility for a wide range of libraries and frameworks, babelbam's user-friendly interface coupled with its live preview feature enables you to visualize the impact of your code instantaneously.

Tech Stack

| TypeScript | React | Redux | Lerna | | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------: | --------------------------------------------------------------------------------------------------------------------------------------- | | Node.js | Express.js | Bulma | esbuild |

Features

  • All-in-One Sandbox: Write, edit, and preview JavaScript and React code snippets without the need for external tools.
  • Real-Time Editing: See the results of your code immediately with babelbam's live preview feature, making it easier to debug and visualize your work.
  • Library Support: Utilize popular libraries and frameworks to enhance your coding experience.
  • Text-Editor: babelbam provides a user-friendly way to document code using the built-in Markdown text-editor.
  • Sharing and Collaboration: babelbam projects are automatically serialized and saved to user's machines, making it possible to store and share projects with others.
  • Command-Line Interface: babelbam offers a convenient CLI, available on npm, for opening and creating babelbam files from the command line. babelbam serve <filename> starts a local API and opens the front-end application on a localhost port, allowing users to easily access and interact with babelbam in their browser.

Usage

  1. Install the CLI by running npm i babelbam.
  2. Open new or existing notes with babelbam serve (Optionally include a filepath: babelbam serve <path/filename>).
  3. Run babelbam --help for additional help

Lessons Learned

  • Mastering Best Practices for the design and creation of sophisticated, production-grade applications.
  • Merging Typescript, React, and React-Redux into a seamless integration.
  • Engineering highly reusable React components for efficiency.
  • Constructing a custom plugin for Esbuild that enables in-browser transpiling/bundling with the capacity to import from npm.
  • Setting up a caching layer for imported modules/bundled code utilizing Local-Forage.
  • Implementing Redux-Middlewares to manage intricate business logic.
  • Leveraging robust third-party libraries such as bulma, immer, monaco-editor, react-md-editor, commander, and more.
  • Securely managing user-input by employing iframes as a code-execution environment, akin to popular platforms like Codepen.
  • Utilizing lerna and nx to build a mono-repo containing multiple packages and build targets.
  • Developing a Restful-API to deliver a Front-End application from a Command Line Interface (CLI).
  • Exploiting web-assembly for enhanced speed.
  • Deploying packages to npm.

Reflection

Embarking on this project has been a rewarding journey for me. It presented numerous opportunities for expanding my knowledge in TypeScript, React, and React-Redux, in addition to project-specific libraries such as Monaco-Editor and Resizable. A fascinating challenge that emerged was the management of lerna and the comprehension of the build process. Given that this project is composed of multiple packages, it was crucial to grasp how to instruct lerna to construct and deploy these packages in the proper sequence and catered to diverse production environments.

Moreover, this project underscored the significance of strategic planning and design in the creation of a large-scale application. It brought into sharp relief how beneficial the principles of Object-Oriented Programming (OOP) can be when engineering extensive apps. Crafting each component in a modular manner and ensuring code reusability significantly facilitates subsequent modifications and feature additions.

The experience of working on this project has been truly enjoyable, and it has fueled my enthusiasm for further learning and honing my skills!

Acknowledgements

Author