New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

teamx-apps

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

teamx-apps

AppHandler for The X Project: scans apps from C:\Users\\AppData\x-project\apps (or configured path).

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

\

teamx-apps

A tiny AppHandler for The X Project.

It scans a directory for apps and returns a clean registry describing what’s installed.

Default scan directory (Windows-style as requested):

C:\Users\<you>\AppData\x-project\apps

Because humans love inconsistency, it also supports common fallbacks:

  • %USERPROFILE%\AppData\Local\x-project\apps
  • %USERPROFILE%\AppData\Roaming\x-project\apps

You can override everything by passing appsDir.

Install

npm i teamx-apps

Usage

const { createAppHandler } = require("teamx-apps");

const apps = createAppHandler(); // uses default dir resolution

const results = await apps.scan();
console.log(results.apps);

App folder format

An app is any subfolder containing one of:

  • app.dll.js (preferred entry)
  • app.js
  • main.js
  • app.json (optional metadata)

If app.json exists, supported fields:

{
  "id": "notes",
  "name": "Notes",
  "version": "1.0.0",
  "entry": "app.js"
}

API

createAppHandler(options?)

Options:

  • appsDir?: string (absolute or relative)
  • preferDll?: boolean (default true)
  • followSymlinks?: boolean (default false)

handler.scan()

Returns:

{
  ok: true,
  dir: "C:\\Users\\...\\AppData\\x-project\\apps",
  apps: [
    { id, name, version, dir, entry, entryType, files }
  ],
  warnings: []
}

handler.resolveDefaultDir()

Returns the resolved directory that would be scanned.

Keywords

apps

FAQs

Package last updated on 17 Dec 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