Skip to content
This repository was archived by the owner on Dec 24, 2023. It is now read-only.

someguy20336/namespace2module

Repository files navigation

Archiving: I got my use out of it for my projects and no longer plan to maintain it.

If you have a bunch of typescript files using namespace, this should convert them to using imports.

Usage

This isn't deployed through npm or anything just yet, so you have to run it manually.

  • Download a copy of the repo
  • run npx tsc --project tsconfig.json
  • run node ./dist/cli.js <path to your tsconfig.json> [-v to view]
    • example: node ./dist/cli.js C:\path\to\your\file\tsconfig.json
    • example view only: node ./dist/cli.js C:\path\to\your\file\tsconfig.json -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published