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

@flamework-experimental/components

v2.0.0-alpha.1

Published

Readme

Flamework

Flamework is an extensible framework for roblox-ts designed around portable, isolated and testable modules.

Documentation

docs/ -- start there. A ten-part guide that builds up from a working entry point to plugins and project layout, plus reference material:

| | | |---|---| | Guide | Getting started, modules, providers, lifecycle events, components, networking, macros, plugins, project structure, migrating from v1. | | Internals | What the transformer does to your code and what the runtime does with the result. | | Transformer plugins | Adding macro types of your own. |

The Flamework website documents v1, most of which no longer applies:

https://flamework.fireboltofdeath.dev/docs/introduction

Development

This repository is a Bun workspace. It also needs Lune on PATH to run the runtime specs.

bun install
bun run build          # builds every package in dependency order
bun run test           # build + transformer tests + runtime specs
bun run lint

Packages

| Package | Description | |---|---| | packages/core | Modules, dependency injection, plugins and lifecycle events | | packages/components | CollectionService components, built on the core plugin system | | packages/networking | Remote events and functions | | packages/testing | In-place tests: sections, cleanup, a bindable and a remote to run them, a cloud entry; and flamework-test, the CLI that runs them in Roblox Studio on this machine or through Open Cloud (cli/) | | packages/transformer | The roblox-ts transformer | | packages/transformer-plugin | Public API for writing transformer plugins | | packages/specs | Runtime specs, compiled by rbxtsc and executed under Lune |

Tests

Two suites, both run by bun run test:

  • Transformer tests (bun run test:unit) compile a fixture project with the real rbxtsc and assert on the emitted Luau — guard generation, identifiers, nested macros and the plugin system.

  • Runtime specs (bun run test:runtime) execute compiled @flamework-experimental/core, components and networking under Lune using the harness in tests/runtime, which models roblox-ts's TS.import tree over the filesystem and stubs the Roblox API surface Flamework touches (Instances, attributes, CollectionService, RemoteEvents, Players, signals, task, Enum, and a Heartbeat pump so Promise.delay -- and therefore request timeouts -- runs). They cover dependency injection, modules, hooks and the per-frame lifecycle events, component construction, dependencies and streaming, and both halves of networking: events, functions, middleware and the generated guards.

    They run twice, once as Server and once as Client, because realm-dependent code paths -- @Provider's metadata, component streaming, and the client/server halves of networking -- differ between them. Where a spec asserts something realm-specific, running it from both sides is what proves the two agree: a function receives on $name and sends on @name from the server and the mirror image from the client, so the pair of runs pins the wire format down from both ends.

Specs live in packages/specs and are compiled by rbxtsc like any other Flamework consumer, so they exercise the transformer and the runtime together.