You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@frames.js/debugger

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frames.js/debugger

Debug your Frames.js applications

0.4.4
Source
npmnpm
Version published
Weekly downloads
167
-37.22%
Maintainers
2
Weekly downloads
 
Created
Source

@frames.js/debugger

Debug your Frames built using frames.js with ease.

Usage

Using npx or alternatives

$ npx @frames.js/debugger@latest
$ pnpm dlx @frames.js/debugger@latest

Installing globally

# usage with npm
$ npm install -g @frames.js/debugger
$ frames

# usage with yarn
$ yarn global add @frames.js/debugger
$ frames

# usage with pnpm
$ pnpm add -g @frames.js/debugger
$ frames

Set your Frames app to use the debugger

Set the hubHttpUrl to http://localhost:3010/hub (this is default used by debugger, you can change it by running debugger with --port flag).

import { getFrameMessage } from "frames.js/next/server";

const frameMessage = await getFrameMessage(previousFrame.postBody, {
  hubHttpUrl: "http://localhost:3010/hub",
});

Keywords

frames.js

FAQs

Package last updated on 07 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts