{"_id":"@arun-1993/subtitle-converter","_rev":"2-a7e40f59a8bafa2e2e8c7d6c8cb3327b","name":"@arun-1993/subtitle-converter","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@arun-1993/subtitle-converter","version":"1.0.0","keywords":["convert","subtitle","subtitles","srt","vtt"],"author":{"name":"Arun Ravindran"},"license":"ISC","_id":"@arun-1993/subtitle-converter@1.0.0","maintainers":[{"name":"arun-1993","email":"arun0306.r@gmail.com"}],"bin":{"convertsubtitle":"bin/convertsubtitle"},"dist":{"shasum":"d384b26f41b4845f210d0004ec29b62859738ae2","tarball":"https://registry.npmjs.org/@arun-1993/subtitle-converter/-/subtitle-converter-1.0.0.tgz","fileCount":12,"integrity":"sha512-bPN02LEaEoJhhU60pyQnNFOI9dNjdukqL8Io0b+8+T5ul1BuRd+J058apqsCP0kGCYH/PhNQG8v6re73SfcSTA==","signatures":[{"sig":"MEUCIAgcNCTQPcpycW95uHzzWrTXC74vy+y6RETS3WIKE7BYAiEA7gis8FtEKh/byGsEY/loVxKnrAnB5OgrwXrlzVc9g2g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7151},"main":"","gitHead":"f570998bc53a3ba2af92d6e44a6677999b205e20","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"arun-1993","email":"arun0306.r@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"10.9.0","description":"A simple tool to convert subtitles from one format to another","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.2"},"_npmOperationalInternal":{"tmp":"tmp/subtitle-converter_1.0.0_1736181431711_0.5174513931314495","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@arun-1993/subtitle-converter","version":"1.0.1","keywords":["convert","subtitle","subtitles","srt","vtt"],"author":{"name":"Arun Ravindran"},"license":"ISC","_id":"@arun-1993/subtitle-converter@1.0.1","maintainers":[{"name":"arun-1993","email":"arun0306.r@gmail.com"}],"homepage":"https://github.com/arun-1993/Subtitle-Converter#readme","bugs":{"url":"https://github.com/arun-1993/Subtitle-Converter/issues"},"bin":{"convertsubtitle":"bin/convertsubtitle"},"dist":{"shasum":"405637e0c853700f419cba03a27cf0b6d38e677e","tarball":"https://registry.npmjs.org/@arun-1993/subtitle-converter/-/subtitle-converter-1.0.1.tgz","fileCount":12,"integrity":"sha512-iMXZ9V9YkgvUErLuSdY4gjCdt0txSASKX3B4/ckkp0Zgfnre+vrHhBg5WZZ7bPXIn8KmP2WFOD8KU8r14ioTmQ==","signatures":[{"sig":"MEQCIBlVkhwtP7gL1d9ry2VHH3w1cCt0qBxLCQwwVfnCybDDAiBmNhwqG+3XRg7XRs/XbTXCMntPvOHXWfeL4zXtSRWnLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7804},"main":"","gitHead":"6fe6a40db8d685bdda824b7d93aa666e4fa1cd2a","scripts":{"dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"arun-1993","email":"arun0306.r@gmail.com"},"repository":{"url":"git+https://github.com/arun-1993/Subtitle-Converter.git","type":"git"},"_npmVersion":"10.9.0","description":"A simple tool to convert subtitles from one format to another","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.2"},"_npmOperationalInternal":{"tmp":"tmp/subtitle-converter_1.0.1_1736223283326_0.8867322371457971","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@arun-1993/subtitle-converter","author":{"name":"Arun Ravindran","email":"arun0306.r@gmail.com"},"version":"1.0.2","license":"ISC","description":"A simple tool to convert subtitles from one format to another","keywords":["convert","subtitle","subtitles","srt","vtt"],"repository":{"type":"git","url":"git+https://github.com/arun-1993/Subtitle-Converter.git"},"bugs":{"url":"https://github.com/arun-1993/Subtitle-Converter/issues","email":"arun0306.r@gmail.com"},"bin":{"convertsubtitle":"bin/convertsubtitle"},"scripts":{"build":"tsc","dev":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"@types/node":"^22.10.2","typescript":"^5.7.2"},"_id":"@arun-1993/subtitle-converter@1.0.2","gitHead":"53294c8b15c7132c2cb7258797b041d91f93a32f","homepage":"https://github.com/arun-1993/Subtitle-Converter#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-D9lk+GWUxWhWf6T1by3cI0PzAuK0O53f8povS4m9ZLXu+EaX784ZulfNJWSHI8cudH2LoHeZ2z7vT6X1XqArDg==","shasum":"5d15eae048de6f0770b2252f5d0d8df3e40b1a69","tarball":"https://registry.npmjs.org/@arun-1993/subtitle-converter/-/subtitle-converter-1.0.2.tgz","fileCount":12,"unpackedSize":9017,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpH0t5X5me7KuY1IfPDzHMqvRFpJGdMuuSoj9bEfBjSAiEAkQuXKUOMpuyyKnmHUVLypDSw1CEDsIMaSvNqU5Jehog="}]},"_npmUser":{"name":"arun-1993","email":"arun0306.r@gmail.com"},"directories":{},"maintainers":[{"name":"arun-1993","email":"arun0306.r@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/subtitle-converter_1.0.2_1737384502535_0.18000375251936096"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-06T16:37:11.635Z","modified":"2025-01-20T14:48:22.886Z","1.0.0":"2025-01-06T16:37:11.885Z","1.0.1":"2025-01-07T04:14:43.511Z","1.0.2":"2025-01-20T14:48:22.718Z"},"bugs":{"url":"https://github.com/arun-1993/Subtitle-Converter/issues","email":"arun0306.r@gmail.com"},"author":{"name":"Arun Ravindran","email":"arun0306.r@gmail.com"},"license":"ISC","homepage":"https://github.com/arun-1993/Subtitle-Converter#readme","keywords":["convert","subtitle","subtitles","srt","vtt"],"repository":{"type":"git","url":"git+https://github.com/arun-1993/Subtitle-Converter.git"},"description":"A simple tool to convert subtitles from one format to another","maintainers":[{"name":"arun-1993","email":"arun0306.r@gmail.com"}],"readme":"# Subtitle Format Converter\n\nA simple command-line tool to convert subtitle files between different formats. Currently, it supports converting between **.vtt** (WebVTT) and **.srt** (SubRip Subtitle) formats.\n\n## Installation\n\nInstall the Subtitle Format Converter globally using npm:\n\n```bash\nnpm i -g @arun-1993/subtitle-converter\n```\n\nAlternatively, you can clone the repository and build it locally:\n\n```bash\ngit clone https://github.com/arun-1993/Subtitle-Converter.git\ncd Subtitle-Converter\nnpm i\nnpm run build\nnpm i -g\n```\n\n## Usage\n\nOnce installed, you can use the `convertsubtitle` command to convert subtitles:\n\n```bash\nconvertsubtitle sourcefile destinationfile\n```\n\n- **sourcefile**: The input subtitle file.\n- **destinationfile**: The output subtitle file.\n\nIf you do not specify a destination file, the tool will automatically determine the destination filename based on the source file’s extension:\n\n- If the source is `.srt`, the output will be `.vtt`.\n- If the source is `.vtt` or any other file type, the output will be `.srt`.\n\n### Example\n\nConvert a `.srt` file to `.vtt`:\n\n```bash\nconvertsubtitle example1.srt example2.vtt\n```\n\nConvert a `.vtt` file to `.srt` (without specifying a destination file):\n\n```bash\nconvertsubtitle example.vtt\n```\n\nThis will create `example.srt` in the same directory.\n\n## License\n\nThis project is licensed under the ISC License - see the [LICENSE](./LICENSE.txt) file for details.\n\n## Contributing\n\nContributions are welcome! Please fork this repository, create a branch, and submit a pull request.\n\n---\n\nFor more information or to report issues, visit the [GitHub repository](https://github.com/arun-1993/Subtitle-Converter).\n","readmeFilename":"README.md"}