r/javascript • • May 18 '26

I built a JavaScript runtime inside my agent app and would love feedback

Thumbnail github.com
0 Upvotes

I’ve been working on OpenAva , an AI agent app, and one feature I added is a built-in JavaScript runtime for small scripts, tool orchestration, and workflow automation. It supports inline JavaScript, workspace script execution, persistent session state, and internal tool calls, with the goal of being a lightweight embedded runtime rather than a full Node environment. I’d love feedback on whether this feels useful and whether the runtime model is intuitive.


r/javascript • • May 18 '26

I made to cli tool for scaffolding various js/ts frameworks like vite/express/next with configuration for additional tools, all with a simiple click.

Thumbnail github.com
6 Upvotes

written in nodejs with pnpm

try it by running:

npx rebar-js init

Github

npm package link


r/javascript • • May 17 '26

I built a tiny JS framework to keep business logic clean β€” would love feedback

Thumbnail github.com
22 Upvotes

r/javascript • • May 17 '26

LogTape 2.1.0: Throttling, logfmt, and smarter redaction

Thumbnail github.com
6 Upvotes

r/javascript • • May 16 '26

cogentlm - Run AI models locally with high-performance directly in-browser

Thumbnail npmjs.com
0 Upvotes

r/javascript • • May 16 '26

unplugin-keywords – alternative to property mangling via explicit imports

Thumbnail github.com
6 Upvotes

r/javascript • • May 16 '26

Updated dom-to-pptx: Converting Live DOM/CSS into Editable PowerPoint Slides β€” Now Exploring Animation Support

Thumbnail npmjs.com
2 Upvotes

Recently pushed a major update to dom-to-pptx - a JS library that converts live DOM/CSS into fully editable PowerPoint slides instead of screenshots.

Repo:
https://github.com/atharva9167j/dom-to-pptx

Main additions:

  • improved DOM β†’ PPTX rendering fidelity
  • better flexbox/layout mapping
  • editable vector/text output
  • dom-to-pptx-skills to automatically install professional PPT creation skills into agent's toolkit.

The next thing I’m exploring for v1.2.0 is animation + transition support.

Currently researching:

  • CSS animation β†’ PPTX animation mapping
  • keyframe decomposition
  • motion path conversion
  • timing synchronization
  • transition approximation

Would love recommendations from anyone familiar with:

  • Office Open XML animation internals
  • SVG/canvas animation pipelines

Especially curious about edge cases where browser animation semantics diverge from PowerPoint’s animation model.


r/javascript • • May 16 '26

Showoff Saturday Showoff Saturday (May 16, 2026)

1 Upvotes

Did you find or create something cool this week in javascript?

Show us here!


r/javascript • • May 15 '26

TravelsJS v1.3 - Patch-based undo/redo optimized for large state, small updates, long history, and persistence.

Thumbnail github.com
22 Upvotes

r/javascript • • May 15 '26

Runtime Errors in PWAs: Risk Surface and Mitigation

Thumbnail adropincalm.com
1 Upvotes

r/javascript • • May 15 '26

[RFC] Make install scripts opt-in Β· npm/rfcs

Thumbnail github.com
34 Upvotes

r/javascript • • May 15 '26

fate 1.0: A modern data client for React

Thumbnail fate.technology
3 Upvotes

r/javascript • • May 14 '26

My first side project - TSBin, a modern JSBin alternative with TypeScript, IntelliSense and offline-first support

Thumbnail tsbin.com
3 Upvotes

JSBin was down for quite a few days and I realized how much I depended on it. It was my scribble pad, quick note taker, place to think out loud, & my goto tool for testing scripts and UI ideas fast.

So I did what any sane dev would do…

I built it from scratch T_T

TSBin can run offline as well, everything is stored locally, you get intellisense and emmet plugin for HTML & CSS

Let me know in the comments what more features should I add !


r/javascript • • May 14 '26

AskJS [AskJS] Looking for the leanest framework in the "JS Framework Benchmark" Top 15 - what's the closest thing to Vanilla speed with a modern DX?

0 Upvotes

I'm looking for the fastest framework in the Krausest "JS Framework Benchmark" Top 15 that doesn't feel like writing assembly.

Goal: Framework performance with a clean, modern DX. I want to avoid heavy abstractions, especially since I'm using AI to scaffold logic and I need the code to be short, readable, and easy to audit.

Of the top 15, which one feels like a "real" framework but keeps the code lean and fast?

I'd appreciate some recommendations.


r/javascript • • May 14 '26

Rewrite Bun in Rust has been merged

Thumbnail github.com
7 Upvotes

r/javascript • • May 14 '26

I made a tiny ESLint plugin inspired by Rust’s single-use import style

Thumbnail github.com
0 Upvotes

I like Rust’s M-SINGLE-USE import style guideline: one imported item per import line. The motivation is simple: smaller diffs, fewer merge conflicts, and easier hand editing.

I wanted the same behavior for JavaScript/TypeScript imports, so I made a small ESLint plugin: eslint-plugin-import-oneline

It turns this:

import { RichTextRun, TextBounds } from "./text-utils";
import React, { useMemo, useState } from "react";

Into this:

import { RichTextRun } from "./text-utils";
import { TextBounds } from "./text-utils";
import React from "react";
import { useMemo } from "react";
import { useState } from "react";

It is autofixable and handles named imports, default imports, namespace imports, type-only imports, aliases, import attributes, quote style, and semicolon style.

Curious whether others prefer this style for JS/TS, or whether grouped imports still feel better in practice.


r/javascript • • May 14 '26

GitHub - georgioupanayiotis/laikoi-dromoi: A comprehensive TypeScript library for Greek Bouzouki music scales (dromoi) with transposition utilities and helper functions.

Thumbnail github.com
8 Upvotes

r/javascript • • May 13 '26

safe-install: npm installs with trusted build dependencies

Thumbnail npmjs.com
12 Upvotes

In light of the ongoing npm supply chain compromises, I built safe-install:

https://www.npmjs.com/package/@gkiely/safe-install

It brings a couple of protections I wanted from npm but are not built in.

Similar to Bun’s trusted dependencies, it lets you disable install scripts and define a list of dependencies that are allowed to run build/install scripts:

https://bun.com/docs/guides/install/trusted

It also supports blocking exotic sub-dependencies, similar to pnpm’s `blockExoticSubdeps` setting:

https://gajus.com/blog/3-pnpm-settings-to-protect-yourself-f...


r/javascript • • May 13 '26

Built a Tetris clone with Phaser 3 + TypeScript β€” T-spin detection, Web Audio synth, Balatro-style CRT effects

Thumbnail github.com
7 Upvotes

Some interesting bits from the implementation:

T-spin detection uses the 3-corner rule β€” check if 3 of the 4 diagonal cells around the T piece are occupied after rotation.

The entire soundtrack is synthesized via Web Audio API using oscillators and gain nodes β€” no audio files at all. Line clears play a rising arpeggio, Tetris plays a chord, combos escalate in pitch.

CRT effects (scanlines, chromatic aberration, vignette) are pure CSS overlays on top of the Phaser canvas.

Play: https://tetris.pixpress.art


r/javascript • • May 13 '26

5 Years and $5M Later: Inventing a New Programming Language for Web Development Was a Mistake

Thumbnail wasp.sh
6 Upvotes

r/javascript • • May 12 '26

oBerry - reactivity and components with no framework overhead

Thumbnail github.com
0 Upvotes

Modern frontend development often forces a tradeoff:

  • React / frameworks β†’ powerful, but heavy for small projects
  • jQuery β†’ simple, but outdated and not reactive
  • Vanilla JS β†’ flexible, but repetitive and tedious for DOM-heavy apps

oBerry gives you a modern, reactive, jQuery-like API without needing a build setup or full framework.

With oBerry, you can:

  • manipulate the DOM with a clean, chainable API
  • use built-in fine-grained reactivity (no external state library)
  • use components without a framework overhead
  • write TypeScript-first code right out of the box

The documentation is available here.

I'm open to any advice


r/javascript • • May 12 '26

dxlbnl/zod4-mock: a fully zod 4 enabled mocking library

Thumbnail github.com
3 Upvotes

r/javascript • • May 12 '26

Ship a Remix 3 app with consent before your first user

Thumbnail policystack.dev
0 Upvotes

r/javascript • • May 12 '26

Been working on this for the past 72 hours+, how to kill a running execution in js beyond abort controller gymnastics!

Thumbnail npmjs.com
7 Upvotes

So I built future, a set of high-performance actor and task primitives for Typescript, inspired by Erlang.