@norescan/analyzer 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +40 -0
  2. package/package.json +17 -2
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # @norescan/analyzer
2
+
3
+ > Multi-language AST and lexical structural code parsers (TypeScript, JavaScript, Python, SQL, JSON).
4
+
5
+ [![npm version](https://img.shields.io/npm/v/@norescan/analyzer.svg)](https://www.npmjs.com/package/@norescan/analyzer)
6
+ [![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
7
+ [![GitHub](https://img.shields.io/badge/GitHub-th3karn%2FNoReScan-brightgreen)](https://github.com/th3karn/NoReScan)
8
+
9
+ Part of the **[NoReScan](https://github.com/th3karn/NoReScan)** persistent codebase memory infrastructure for AI coding agents.
10
+
11
+ ---
12
+
13
+ ### Installation
14
+ ```bash
15
+ npm install @norescan/analyzer
16
+ ```
17
+
18
+ ### Usage
19
+ ```typescript
20
+ import { CodeAnalyzer } from '@norescan/analyzer';
21
+
22
+ const analyzer = new CodeAnalyzer();
23
+ const output = await analyzer.analyzeFile('/path/to/server.ts', 'src/server.ts', 'typescript');
24
+
25
+ console.log('Exports:', output.astMetadata.exports);
26
+ console.log('HTTP Routes:', output.astMetadata.routes);
27
+ console.log('Summary:', output.summary);
28
+ ```
29
+
30
+ ---
31
+
32
+ ## Part of NoReScan
33
+
34
+ This package is part of the **NoReScan monorepo**. Learn more at:
35
+ - **GitHub Repository**: [https://github.com/th3karn/NoReScan](https://github.com/th3karn/NoReScan)
36
+ - **Main CLI**: [`@norescan/cli`](https://www.npmjs.com/package/@norescan/cli)
37
+
38
+ ## License
39
+
40
+ Apache-2.0 © LostGit Solutions
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@norescan/analyzer",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Multi-language AST and structural code analyzer for norescan",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "dependencies": {
8
- "@norescan/shared": "0.1.1",
8
+ "@norescan/shared": "0.1.2",
9
9
  "typescript": "^5.8.2"
10
10
  },
11
11
  "devDependencies": {
@@ -19,6 +19,21 @@
19
19
  "files": [
20
20
  "dist"
21
21
  ],
22
+ "homepage": "https://github.com/th3karn/NoReScan#readme",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/th3karn/NoReScan.git",
26
+ "directory": "packages/analyzer"
27
+ },
28
+ "keywords": [
29
+ "norescan",
30
+ "analyzer",
31
+ "ast",
32
+ "typescript-compiler",
33
+ "python-ast",
34
+ "symbols",
35
+ "routes"
36
+ ],
22
37
  "scripts": {
23
38
  "build": "tsc",
24
39
  "clean": "rimraf dist",