{"name":"laplacenoma","version":"0.0.1","author":{"name":"KazariEX"},"license":"MIT","_id":"laplacenoma@0.0.1","maintainers":[{"name":"kazariex","email":"mimorimaboroshi@gmail.com"}],"homepage":"https://github.com/KazariEX/laplacenoma#readme","bugs":{"url":"https://github.com/KazariEX/laplacenoma/issues"},"dist":{"shasum":"fcb27c0563052a25134ea5b90603094325c2276c","tarball":"http://registry-npm.ywwl.com/laplacenoma/download/laplacenoma-0.0.1.tgz","fileCount":9,"integrity":"sha512-L8bWFLUg4VWAXRY8Oyh7YUOfT/QFPtgD1c7QbUe5YkHBKIvcgW1Du1/V3Znor6gfV8OysNzS1XKwtjNmGwU2yg==","signatures":[{"sig":"MEUCICfqCBOvpWsaN5rD1Y9Fm/Z3LrQpCNBRHDMlbxt6UzVVAiEAlAjoa3f5Wx74dX6jpQRlg4EaScDpiWEIX2l0qB3WAzw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19469,"size":5580,"noattachment":false,"key":"/laplacenoma/-/laplacenoma-0.0.1.tgz"},"main":"./dist/index.js","type":"module","_from":"file:laplacenoma-0.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":"./dist/index.js","./rules/vue":"./dist/rules/vue.js","./package.json":"./package.json"},"scripts":{"dev":"tsdown -w","test":"vitest","build":"tsdown","release":"bumpp --no-push -c \"release: v%s\""},"_npmUser":{"name":"kazariex","email":"mimorimaboroshi@gmail.com"},"_resolved":"/private/var/folders/5z/q0k9mq5j3f9b1vbk2qk4gsm80000gn/T/ee24937cb90fee1b58df4f9ddc357020/laplacenoma-0.0.1.tgz","_integrity":"sha512-L8bWFLUg4VWAXRY8Oyh7YUOfT/QFPtgD1c7QbUe5YkHBKIvcgW1Du1/V3Znor6gfV8OysNzS1XKwtjNmGwU2yg==","repository":{"url":"git+https://github.com/KazariEX/laplacenoma.git","type":"git"},"_npmVersion":"11.5.2","description":"Reactivity analyzer for signal-based library","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"bumpp":"^10.2.3","eslint":"^9.35.0","tsdown":"^0.15.1","vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^24.4.0","@zinkawaii/tsconfig":"^0.0.2","@zinkawaii/eslint-config":"^0.4.1"},"_npmOperationalInternal":{"tmp":"tmp/laplacenoma_0.0.1_1757944467923_0.6129132928521634","host":"s3://npm-registry-packages-npm-production"},"readme":"# Laplacenoma\n\n[![version](https://img.shields.io/npm/v/laplacenoma?color=white&labelColor=86BAD4&label=npm)](https://www.npmjs.com/package/laplacenoma)\n[![downloads](https://img.shields.io/npm/dm/laplacenoma?color=white&labelColor=86BAD4&label=downloads)](https://www.npmjs.com/package/laplacenoma)\n[![license](https://img.shields.io/npm/l/laplacenoma?color=white&labelColor=86BAD4&label=license)](/LICENSE)\n\nLaplacenoma is a reactivity analyzer built on top of the TypeScript language service, inspired by the reactivity visualization feature in [vuejs/language-tools](https://github.com/vuejs/language-tools). Its goal is to provide framework-agnostic and configurable reactivity analysis.\n\n## Installation\n\n```bash\npnpm i laplacenoma\n```\n\n## Usage\n\n```ts\nimport { createAnalyzer } from \"laplacenoma\";\nimport rulesVue from \"laplacenoma/rules/vue\";\nimport type ts from \"typescript\";\n\nconst analyzer = createAnalyzer({\n  rules: rulesVue,\n});\n\nexport function getReactivityAnalysis(\n  ts: typeof import(\"typescript\"),\n  languageService: ts.LanguageService,\n  fileName: string,\n  position: number,\n) {\n  const program = languageService.getProgram()!;\n  const sourceFile = program.getSourceFile(fileName)!;\n  return analyzer.analyze(sourceFile, position, {\n    typescript: ts,\n    languageService,\n  });\n}\n```\n","publish_time":1757944468099,"_cnpm_publish_time":1757944468099,"dist-tags":{"latest":"0.0.3"}}