GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codestoryai/typescript_parsing: Small package for parsing typescript (js and variants) using ts-morph for powering code graph

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
parseRepo.ts
parseRepo.ts
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Typescript Parsing

How to use this?

  • Run npm install all
  • Run ts-node -p package.json parseRepo.ts {name_of_your_file.ts} {directory_location} {name_of_your_file.ts}

Why do I need to repeat the file name 2 times?

We had a use-case where files could be moved between commits, to work around that issue we provide the name of the file twice if you change that, your symbols will be relative to the file which you mention here

What can I expect to get after running this?

Say you have 2 files:

alpha.ts
beta.ts

and the contents of alpha.ts is:

import B from 'beta'
export interface A {
    b: B
}

and the contents of beta.ts is:

export interface B {
    test: string
}

you should be able to see the symbols as:

`alpha.A` and `beta.B` and that `alpha.A` depends on `beta.B` 

About

Small package for parsing typescript (js and variants) using ts-morph for powering code graph

Resources

Readme
Activity
Custom properties

Stars

10 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.