1.0.5 • Published 7 months ago

deepcontext v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

DeepContext

Given OpenAI o-1 pro more context on your nextjs (or other typescript) project by logging out your file and automatically doing the same for your imports.

Usage

npx deepcontext <path> [depth]

Parameters

  • path: Path to a file or directory to analyze
  • depth (optional): How many levels deep to analyze imports. Defaults to 0 (surface-level imports only)

Examples

# Analyze a single file's direct imports
npx deepcontext pages/index.tsx

# Analyze a file with nested imports (depth of 2)
npx deepcontext pages/index.tsx 2

# Analyze all files in a directory
npx deepcontext src/

Requirements

  • Node.js >= 18

Development

  1. Clone the repository:
git clone https://github.com/yourusername/deepcontext.git
cd deepcontext
  1. Install dependencies:
npm install
  1. Available scripts:
  • npm run build - Build the project
  • npm run dev - Watch mode for development
  • npm run test - Run tests
  • npm run typecheck - Run TypeScript type checking

License

MIT

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago