{"_id":"@baudevs/tsx-auto-indexer","_rev":"6-612cafa1876de502d43aa55995fc5839","name":"@baudevs/tsx-auto-indexer","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@baudevs/tsx-auto-indexer","version":"1.0.0","keywords":["index","typescript","javascript","automation","export","tsx","indexer"],"author":{"name":"Your Name","email":"youremail@example.com"},"license":"MIT","_id":"@baudevs/tsx-auto-indexer@1.0.0","maintainers":[{"name":"baudevs_tech","email":"tech@baudevs.com"}],"homepage":"https://github.com/yourusername/tsx-auto-indexer#readme","bugs":{"url":"https://github.com/yourusername/tsx-auto-indexer/issues"},"bin":{"tsx-auto-indexer":"dist/index.js"},"dist":{"shasum":"f3bc7a33031abb7c2e27584c812ec894dc3635da","tarball":"https://registry.npmjs.org/@baudevs/tsx-auto-indexer/-/tsx-auto-indexer-1.0.0.tgz","fileCount":8,"integrity":"sha512-5F1xUxfUox0VN3+PnBjBibcGD761ocGwuTdgtuSxFo4ULVbZbCXaJgdEHT1BspgS9ukGqF4tBu759Wv0JT9Z2A==","signatures":[{"sig":"MEUCIFYju37Wp/k88m1ArDzDuWf9/q3SLe1rSk/siytU5u6AAiEAmcRkW2V9b0hQVCO5tMvf2Y/o92pYMebN5z8GqVEBXYw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13011},"main":"dist/index.js","gitHead":"c0b39c7d0563c398c5d732d98e020e59e2ecde04","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"baudevs_tech","email":"tech@baudevs.com"},"repository":{"url":"git+https://github.com/yourusername/tsx-auto-indexer.git","type":"git"},"_npmVersion":"8.19.2","description":"Automatically updates and manages index.tsx files for your project, keeping your exports organized and reducing manual work.","directories":{},"_nodeVersion":"18.10.0","dependencies":{"chokidar":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.4","@types/node":"^16.11.10"},"_npmOperationalInternal":{"tmp":"tmp/tsx-auto-indexer_1.0.0_1724752639084_0.9810774113198031","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@baudevs/tsx-auto-indexer","version":"1.0.1","keywords":["index","typescript","javascript","automation","export","tsx","indexer"],"author":{"name":"BauDevs","email":"dev@baudevs.com"},"license":"MIT","_id":"@baudevs/tsx-auto-indexer@1.0.1","maintainers":[{"name":"baudevs_tech","email":"tech@baudevs.com"}],"homepage":"https://github.com/baudevs/tsx-auto-indexer#readme","bugs":{"url":"https://github.com/baudevs/tsx-auto-indexer/issues"},"bin":{"tsx-auto-indexer":"dist/index.js"},"dist":{"shasum":"e5b6b5d17587c4413c8d1333884f730852b72731","tarball":"https://registry.npmjs.org/@baudevs/tsx-auto-indexer/-/tsx-auto-indexer-1.0.1.tgz","fileCount":9,"integrity":"sha512-yzWxaV6WAss39RxeFusuLLWs4qqFsuBRpcNh0aYNYCBw3M9ADKFtpZ76CWru+wbfs8j9CXD7UESFO3/vTJhnXw==","signatures":[{"sig":"MEQCIHWw7aJPrnD/qHsbBbAj1nTNbZS7fS8LyaLtmBiUn0ywAiBx18SKJ2km+tCHj48v1Ff7YDqOSy+f1HF6L+SOV3i2Vg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15231},"main":"dist/index.js","gitHead":"a9a21c23da9c991cf0c67b79115e731056c81bb7","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node ./dist/index.js"},"_npmUser":{"name":"baudevs_tech","email":"tech@baudevs.com"},"repository":{"url":"git+https://github.com/baudevs/tsx-auto-indexer.git","type":"git"},"_npmVersion":"8.19.2","description":"Automatically updates and manages index.tsx files for your project, keeping your exports organized and reducing manual work.","directories":{},"_nodeVersion":"18.10.0","dependencies":{"chokidar":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.4","@types/node":"^16.11.10"},"_npmOperationalInternal":{"tmp":"tmp/tsx-auto-indexer_1.0.1_1724753380727_0.2520009422953924","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@baudevs/tsx-auto-indexer","version":"1.0.2","keywords":["index","typescript","javascript","automation","export","tsx","indexer"],"author":{"name":"BauDevs","email":"dev@baudevs.com"},"license":"MIT","_id":"@baudevs/tsx-auto-indexer@1.0.2","maintainers":[{"name":"baudevs_tech","email":"tech@baudevs.com"}],"homepage":"https://github.com/baudevs/tsx-auto-indexer#readme","bugs":{"url":"https://github.com/baudevs/tsx-auto-indexer/issues"},"bin":{"tsx-auto-indexer":"dist/index.js"},"dist":{"shasum":"7a0c4facac7e5f64c581e944d9fb2f0f938aa16b","tarball":"https://registry.npmjs.org/@baudevs/tsx-auto-indexer/-/tsx-auto-indexer-1.0.2.tgz","fileCount":9,"integrity":"sha512-WokWUmjiJvDuy1BHI1FUarpAdEsItB9Lac6h1vmSgMpE7pB/AiURwNh/aZK60Zd+OtupoNldIO8OvSX1WtY2sg==","signatures":[{"sig":"MEUCIQCuIUD/G8fRPF0wwm2zQkkMAiwrwdMlVGrR8007qV49nwIgJMCcYoARsCtT1DN1/3opt5YWqnd49g3N2VUqDcDAr78=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16356},"main":"dist/index.js","gitHead":"3a892a8d62bb872295982840bba427614599bafa","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node ./dist/index.js"},"_npmUser":{"name":"baudevs_tech","email":"tech@baudevs.com"},"repository":{"url":"git+https://github.com/baudevs/tsx-auto-indexer.git","type":"git"},"_npmVersion":"8.19.2","description":"Automatically updates and manages index.tsx files for your project, keeping your exports organized and reducing manual work.","directories":{},"_nodeVersion":"18.10.0","dependencies":{"chokidar":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.4","@types/node":"^16.11.10"},"_npmOperationalInternal":{"tmp":"tmp/tsx-auto-indexer_1.0.2_1724754580421_0.6074752363806262","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@baudevs/tsx-auto-indexer","version":"1.0.3","keywords":["index","typescript","javascript","automation","export","tsx","indexer"],"author":{"name":"BauDevs","email":"dev@baudevs.com"},"license":"MIT","_id":"@baudevs/tsx-auto-indexer@1.0.3","maintainers":[{"name":"baudevs_tech","email":"tech@baudevs.com"}],"homepage":"https://github.com/baudevs/tsx-auto-indexer#readme","bugs":{"url":"https://github.com/baudevs/tsx-auto-indexer/issues"},"bin":{"tsx-auto-indexer":"dist/index.js"},"dist":{"shasum":"8c343468a3f338074c1b944c0a4d9c507efa1108","tarball":"https://registry.npmjs.org/@baudevs/tsx-auto-indexer/-/tsx-auto-indexer-1.0.3.tgz","fileCount":9,"integrity":"sha512-hNwsGa9CIXz3C/X5lRbKmmQdBmmm1X6xOeBTl56Dw/UezzxTLZJwcYdaceJdfSBS2D9Fhu+x3ghcZnDS4Bw2lg==","signatures":[{"sig":"MEYCIQDNaYuM1Oz629H8c2sChbkYsp0YAmMbxxtmsBGPFYhlNgIhAI0h9IBm1wiqmiszknFepcdg1VTJRNpu3R0pW9Tfhyhh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17533},"main":"dist/index.js","gitHead":"e2dd98089da45e8502febf8ae6e739a0fb577c42","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node ./dist/index.js"},"_npmUser":{"name":"baudevs_tech","email":"tech@baudevs.com"},"repository":{"url":"git+https://github.com/baudevs/tsx-auto-indexer.git","type":"git"},"_npmVersion":"8.19.2","description":"Automatically updates and manages index.tsx files for your project, keeping your exports organized and reducing manual work.","directories":{},"_nodeVersion":"18.10.0","dependencies":{"chokidar":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.4","@types/node":"^16.11.10"},"_npmOperationalInternal":{"tmp":"tmp/tsx-auto-indexer_1.0.3_1724755036741_0.8037168562139672","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@baudevs/tsx-auto-indexer","version":"1.0.4","keywords":["index","typescript","javascript","automation","export","tsx","indexer"],"author":{"name":"BauDevs","email":"dev@baudevs.com"},"license":"MIT","_id":"@baudevs/tsx-auto-indexer@1.0.4","maintainers":[{"name":"baudevs_tech","email":"tech@baudevs.com"}],"homepage":"https://github.com/baudevs/tsx-auto-indexer#readme","bugs":{"url":"https://github.com/baudevs/tsx-auto-indexer/issues"},"bin":{"tsx-auto-indexer":"dist/index.js"},"dist":{"shasum":"a85d7fa4d3a2a26ae28a4c009758bf8f94e479a5","tarball":"https://registry.npmjs.org/@baudevs/tsx-auto-indexer/-/tsx-auto-indexer-1.0.4.tgz","fileCount":9,"integrity":"sha512-bdqdo6kd3SELV+m9AKFeD3tkX1N3XiePNXtXkmlld8iJy+bmBvN8XOoQhSJmL5ir97cTnPdzx3qI+mG2vKbLRQ==","signatures":[{"sig":"MEUCICqgoouSmPLZxWP72SKsBMTWUm/HQofvZBpxKrxfnlhKAiEAwhbKIkTsVP5jF7wax6XHzUvoQfPT+PajPetRv3eshwo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18346},"main":"dist/index.js","gitHead":"a24733c5b5765d967d78f5a3b0ee30400ff072a2","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node ./dist/index.js"},"_npmUser":{"name":"baudevs_tech","email":"tech@baudevs.com"},"repository":{"url":"git+https://github.com/baudevs/tsx-auto-indexer.git","type":"git"},"_npmVersion":"8.19.2","description":"Automatically updates and manages index.tsx files for your project, keeping your exports organized and reducing manual work.","directories":{},"_nodeVersion":"18.10.0","dependencies":{"chokidar":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.4","@types/node":"^16.11.10"},"_npmOperationalInternal":{"tmp":"tmp/tsx-auto-indexer_1.0.4_1724756027337_0.5640459363700763","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@baudevs/tsx-auto-indexer","version":"1.0.5","keywords":["index","typescript","javascript","automation","export","tsx","indexer"],"author":{"name":"BauDevs","email":"dev@baudevs.com"},"license":"MIT","_id":"@baudevs/tsx-auto-indexer@1.0.5","maintainers":[{"name":"baudevs_tech","email":"tech@baudevs.com"}],"homepage":"https://github.com/baudevs/tsx-auto-indexer#readme","bugs":{"url":"https://github.com/baudevs/tsx-auto-indexer/issues"},"bin":{"tsx-auto-indexer":"dist/index.js"},"dist":{"shasum":"ca85fe29e28bb30ed409bdc7827c33201db7020b","tarball":"https://registry.npmjs.org/@baudevs/tsx-auto-indexer/-/tsx-auto-indexer-1.0.5.tgz","fileCount":9,"integrity":"sha512-LeDsK7mmnHGsmNu5AhUHVT6Ml5i3DM/S5xuVz7Hz0Z3a4XjmQe7uQpFcANIzCR9OiiuCPk6OgWvhpF5z1jxl/w==","signatures":[{"sig":"MEUCIQDNxpSZQ7ZiyCB1TOaL57WErbs3OabcVa/GqN6jDgL28gIgAU1gbRLH7VbvzhOkhEql8fiRihNoYAm+DXEyAkndMwM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19702},"main":"dist/index.js","gitHead":"6808ad53009e5bca8174f9dfb345ab569a2c806a","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node ./dist/index.js"},"_npmUser":{"name":"baudevs_tech","email":"tech@baudevs.com"},"repository":{"url":"git+https://github.com/baudevs/tsx-auto-indexer.git","type":"git"},"_npmVersion":"8.19.2","description":"Automatically updates and manages index.tsx files for your project, keeping your exports organized and reducing manual work.","directories":{},"_nodeVersion":"18.10.0","dependencies":{"chokidar":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.4.0","typescript":"^4.5.4","@types/node":"^16.11.10"},"_npmOperationalInternal":{"tmp":"tmp/tsx-auto-indexer_1.0.5_1724757000330_0.1200757085173152","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@baudevs/tsx-auto-indexer","version":"1.0.6","description":"Automatically updates and manages index.tsx files for your project, keeping your exports organized and reducing manual work.","main":"dist/index.js","bin":{"tsx-auto-indexer":"dist/index.js"},"scripts":{"start":"node ./dist/index.js","build":"tsc","dev":"ts-node src/index.ts"},"repository":{"type":"git","url":"git+https://github.com/baudevs/tsx-auto-indexer.git"},"keywords":["index","typescript","javascript","automation","export","tsx","indexer"],"author":{"name":"BauDevs","email":"dev@baudevs.com"},"license":"MIT","dependencies":{"chokidar":"^3.6.0"},"devDependencies":{"typescript":"^4.5.4","@types/node":"^16.11.10","ts-node":"^10.4.0"},"gitHead":"714d587fb2e0eaa9d7d36dcca85d46f2032541de","bugs":{"url":"https://github.com/baudevs/tsx-auto-indexer/issues"},"homepage":"https://github.com/baudevs/tsx-auto-indexer#readme","_id":"@baudevs/tsx-auto-indexer@1.0.6","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-rEUN2lH9zVTSoh/pni+/YvzZrSI0Y5YV1eYsiuijiA6TpEetHJeNNSGBNZN+fZjfRjOalwBKYSeLEVK2JG98uw==","shasum":"93878f5d1b73641ef7a9677f710f1e82122c46af","tarball":"https://registry.npmjs.org/@baudevs/tsx-auto-indexer/-/tsx-auto-indexer-1.0.6.tgz","fileCount":9,"unpackedSize":23626,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHKpC/2E2mdhvNic5JZeZD3rcqbln6sH94TJuAS9IB1gIhAOAASvnpwFTqd0IhBxkzdi1pWxJenzAgTE/3KQaAZDNG"}]},"_npmUser":{"name":"baudevs_tech","email":"tech@baudevs.com"},"directories":{},"maintainers":[{"name":"baudevs_tech","email":"tech@baudevs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tsx-auto-indexer_1.0.6_1724758614666_0.5169353939705121"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-27T09:57:19.021Z","modified":"2024-08-27T11:36:54.999Z","1.0.0":"2024-08-27T09:57:19.212Z","1.0.1":"2024-08-27T10:09:41.009Z","1.0.2":"2024-08-27T10:29:40.541Z","1.0.3":"2024-08-27T10:37:16.908Z","1.0.4":"2024-08-27T10:53:47.462Z","1.0.5":"2024-08-27T11:10:00.477Z","1.0.6":"2024-08-27T11:36:54.810Z"},"bugs":{"url":"https://github.com/baudevs/tsx-auto-indexer/issues"},"author":{"name":"BauDevs","email":"dev@baudevs.com"},"license":"MIT","homepage":"https://github.com/baudevs/tsx-auto-indexer#readme","keywords":["index","typescript","javascript","automation","export","tsx","indexer"],"repository":{"type":"git","url":"git+https://github.com/baudevs/tsx-auto-indexer.git"},"description":"Automatically updates and manages index.tsx files for your project, keeping your exports organized and reducing manual work.","maintainers":[{"name":"baudevs_tech","email":"tech@baudevs.com"}],"readme":"# tsx-auto-indexer\n\n**tsx-auto-indexer** is a powerful tool that automatically updates and manages `index.tsx` files for your project. It ensures that your exports are organized, reducing manual work and errors.\n\n## Features\n\n- **Automatic Indexing**: Automatically updates `index.tsx` files to export components and modules.\n- **Recursive Directory Handling**: Recursively updates index files for all subdirectories.\n- **Watch Mode**: Watches specified folders for file changes and updates the index files accordingly.\n- **Run Once Mode**: Run the script just once without watching for changes.\n- **Configurable**: Allows configuration of folders to watch through a JSON config file.\n- **Batched Logging**: Reduces frequent logging and logs updates in batches.\n\n## Installation\n\nTo install the `tsx-auto-indexer` globally, use:\n\n```bash\nnpm install -g @baudevs/tsx-auto-indexer\n```\n\n## Usage\n\n### Create a Config File\n\nCreate a file in the root directory of your project with the following structure:\n\n```json\n{\n  \"foldersToWatch\": [\"app\", \"styles\", \"public/img\"]\n}\n```\n\n### Run the Indexer\n\nTo start the indexer, run:\n\n```batch\ntsx-auto-indexer\n```\n\nThis will read the config file and start watching the specified folders. It will automatically update files when changes are detected.\n\n### Run the Indexer Once\n\nTo run the indexer just once without watching for file changes, run:\n\n```bash\ntsx-auto-indexer --once\n```\n\nThis will read the config file and generate all indexes in a single run without keeping the watcher active.\n\n## Example\n\n### Config File Example\n\n```json\n{\n  \"foldersToWatch\": [\"src/components\", \"src/utils\"]\n}\n```\n\n### Directory Structure Example\n\n```bash\nproject-root/\n│\n├── config.json       # Configuration file for tsx-auto-indexer\n├── src/\n│   ├── components/\n│   │   ├── Button.jsx\n│   │   ├── Modal.jsx\n│   │   └── index.tsx  # Auto-generated by tsx-auto-indexer\n│   └── utils/\n│       ├── calculate.js\n│       ├── format.js\n│       └── index.tsx  # Auto-generated by tsx-auto-indexer\n└── package.json\n```\n\nAfter running tsx-auto-indexer, the files will be updated to export all components and utilities.\n\n## Development\n\n### Prerequisites\n\n- Node.js\n- npm (Node Package Manager)\n- TypeScript\n\n### Setup\n\n1. Clone the Repository\n2. git clone <https://github.com/baudevs/tsx-auto-indexer.git>\n3. cd tsx-auto-indexer\n4. Install Dependencies\n5. npm install\n\n### Build the Project\n\n```bash\nnpm run build\n```\n\n### Run in Development Mode\n\n```bash\nnpm run dev\n```\n\n### Project Structure\n\n```bash\ntsx-auto-indexer/\n│\n├── src/\n│   ├── index.ts       # Entry point of the package\n│   └── lib/\n│       └── indexer.ts # Core logic for indexing and watching\n├── dist/              # Compiled JavaScript files\n├── config.json        # Example config file\n├── package.json       # npm package metadata\n├── tsconfig.json      # TypeScript configuration\n└── README.md          # Documentation\n```\n\n### Scripts\n\n- npm run build: Compiles TypeScript to JavaScript.\n- npm run dev: Runs the project in development mode using ts-node.\n- npm start: Runs the compiled JavaScript files.\n\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.\n\n## Steps to Contribute\n\n- Fork the repository.\n- Create a new branch: git checkout -b feature/your-feature-name.\n- Make your changes and commit them: git commit -m 'Add some feature'.\n- Push to the branch: git push origin feature/your-feature-name.\n- Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Support\n\nFor any questions or support, please open an issue in this repository.\n\nHappy coding!\n\n***tsx-auto-indexer - Automatically manage and organize your TypeScript exports.***\n","readmeFilename":"README.md"}