Socket
Book a DemoInstallSign in
Socket

@evyweb/server-action-tracker

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evyweb/server-action-tracker

A simple utility to list all your React Server Actions in your project.

0.0.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
0
Weekly downloads
 
Created
Source

Server Action Tracker

This is a simple server action tracker that logs all the potential server actions available in your application.

img.png

Usage

By default, it will search for server actions in these directories:

[
  "app/**/*.ts",
  "src/**/*.ts",
  "packages/**/*.ts"
]

It will also ignore the following files:

[
  "!**/*.spec.ts",
  "!**/specs/**/*.ts"
]

If the basic configuration is not enough for you, you can directly use the package without installing it.

At the root of your project, run the following command:

npx @evyweb/server-action-tracker

Configuration

You can also configure the server action tracker by adding a serverActionTracker property in your package.json file.

Here is an example of a configuration:

{
  "serverActionTracker": {
    "files": [
      "src/**/*.ts",
      "packages/**/*.ts"
    ]
  }
}

The configuration is optional, and the default configuration will be used if no configuration is provided.

FAQs

Package last updated on 25 Sep 2024

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.