Socket
Book a DemoInstallSign in
Socket

laplacenoma

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laplacenoma

Reactivity analyzer for signal-based library

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
1.4K
236.66%
Maintainers
1
Weekly downloads
 
Created
Source

Laplacenoma

version downloads license

Laplacenoma is a reactivity analyzer built on top of the TypeScript language service, inspired by the reactivity visualization feature in vuejs/language-tools. Its goal is to provide framework-agnostic and configurable reactivity analysis.

Installation

pnpm i laplacenoma

Usage

import { createAnalyzer } from "laplacenoma";
import rulesVue from "laplacenoma/rules/vue";
import type ts from "typescript";

const analyzer = createAnalyzer({
  rules: rulesVue,
});

export function getReactivityAnalysis(
  ts: typeof import("typescript"),
  languageService: ts.LanguageService,
  fileName: string,
  position: number,
) {
  const program = languageService.getProgram()!;
  const sourceFile = program.getSourceFile(fileName)!;
  return analyzer.analyze(sourceFile, position, {
    typescript: ts,
    languageService,
  });
}

FAQs

Package last updated on 16 Sep 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