If you dont have package.json and wanted to rebuild it.
Simply and rebuild your package.json with any llm. Don't waste your token and have it read all the code just to get the import . You can just read only the import statements.
grep -rh "from '" . --include="*.ts" --include="*.tsx" --include="*.js" | grep -oP "from '[^./][^']*'" | sort -u
Top comments (0)