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

gamelet-ue-puerts-proxy

v1.1.2

Published

JS to UE C++ remote proxy bridge (NativeTransport + AsyncTransport)

Readme

gamelet-ue-puerts-proxy

JS to UE C++ remote proxy bridge — NativeTransport (in-process puerts) + AsyncTransport (cross-window W2P).

A transparent Proxy layer that lets TypeScript code call into Unreal Engine objects with the same code regardless of whether it's running inside the UE puerts JS environment or in a remote window forwarded through the W2P (Window-to-Puerts) dispatcher.

Install

npm install gamelet-ue-puerts-proxy
# or
yarn add gamelet-ue-puerts-proxy

Quick start

import { UEProxy, setTransport, AsyncTransport } from 'gamelet-ue-puerts-proxy';

// 1. Pick a transport (one-time, app boot)
//    NativeTransport is the default when you're inside puerts.
//    AsyncTransport is for app windows talking to a remote FJsEnv.
setTransport(new AsyncTransport(/* W2P channel */));

// 2. Build a type proxy
const Actor = UEProxy.type<typeof UE.Actor>('Actor');

// 3. Construct, call methods, read/write properties — same code in both modes
const actor = await Actor.$await(/* ctor args */);
const loc = await actor.GetActorLocation();
await actor.SetActorHiddenInGame(true);
actor.$set('Tags', ['hero']);

// 4. Release when done
actor.$release();

Core API

| API | Purpose | | ------------------------- | ------------------------------------------------------- | | UEProxy.type<T>(name) | Create a type proxy (static methods + constructor). | | proxy.$await(...args) | Construct an object remotely; resolves to ObjectProxy. | | await proxy.Method(...) | Call any UE method asynchronously. | | proxy.$get(key) | Read a UE property. | | proxy.$set(key, value) | Write a UE property. | | proxy.$release() | Release the underlying UE reference. |

Transports

  • NativeTransport — direct in-process puerts call, zero serialization overhead.
  • AsyncTransport — frames the call as a W2P request, dispatched to UE through the SDK.
import { setTransport, NativeTransport, AsyncTransport, getTransport } from 'gamelet-ue-puerts-proxy';

setTransport(new NativeTransport());          // running inside puerts
setTransport(new AsyncTransport(channel));    // running in an app window
const t = getTransport();

Lifecycle

import { releaseAll, getActiveProxyCount, isReleased } from 'gamelet-ue-puerts-proxy';

console.log('live proxies:', getActiveProxyCount());
releaseAll();   // dispose every outstanding proxy (e.g. on window close)

Debugging

import { enableUEProxyLog, setUEProxyVerbose } from 'gamelet-ue-puerts-proxy';
enableUEProxyLog(true);
setUEProxyVerbose(true);

License

MIT