{"_id":"@boydaihungst/convert-srt-to-ass","name":"@boydaihungst/convert-srt-to-ass","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.4":{"name":"@boydaihungst/convert-srt-to-ass","version":"1.0.4","description":"Convert SRT subtitles to ASS","main":"dist/index.js","types":"src/types.d.ts","type":"module","bin":{"srt2ass":"dist/cli.js"},"scripts":{"build":"tsc --build","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["karaoke","ass","srt","convert"],"author":{"name":"Guillaume Lebigot","email":"axel@teri-chan.net"},"contributors":[{"name":"Huy Hoang","email":"boydaihungst@gmai.com"}],"license":"MIT","bugs":{"url":"https://github.com/boydaihungst/srt2ass/issues","email":"boydaihungst@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/boydaihungst/srt2ass.git"},"dependencies":{"ass-stringify":"^0.1.3"},"devDependencies":{"@types/node":"^17.0.40","@typescript-eslint/eslint-plugin":"^5.27.1","@typescript-eslint/parser":"^5.27.1","eslint":"^8.17.0","ts-node":"^10.8.1","typescript":"^4.7.3"},"_id":"@boydaihungst/convert-srt-to-ass@1.0.4","gitHead":"838da0a2a2f7c57d9c548fba261800fc233ec4b1","homepage":"https://github.com/boydaihungst/srt2ass#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-igVPbEFVWy+aZSjvOIv9s3y2ERVxqe0Mb5eUJf5z8KZMFb8a1zP2sNeUztbrxz/k4hHqZ9SBwbkriwjc0qqqWQ==","shasum":"9b79ca53aef59ad693c4d837bafe95aaaa1ecae4","tarball":"https://registry.npmjs.org/@boydaihungst/convert-srt-to-ass/-/convert-srt-to-ass-1.0.4.tgz","fileCount":12,"unpackedSize":19790,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9j8xBAHWXgN0fybitS59GcwFS/fJ4QTLv/TKIu+yYaAIgatBFOQBiQWUo6SjBU4616JLixk5SCV7OdjCXVCBQmx0="}]},"_npmUser":{"name":"boydaihungst","email":"boydaihungst@gmail.com"},"directories":{},"maintainers":[{"name":"boydaihungst","email":"boydaihungst@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/convert-srt-to-ass_1.0.4_1707946920321_0.24649798334687612"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-14T21:42:00.240Z","1.0.4":"2024-02-14T21:42:00.494Z","modified":"2024-02-14T21:42:00.803Z"},"maintainers":[{"name":"boydaihungst","email":"boydaihungst@gmail.com"}],"description":"Convert SRT subtitles to ASS","homepage":"https://github.com/boydaihungst/srt2ass#readme","keywords":["karaoke","ass","srt","convert"],"repository":{"type":"git","url":"git+https://github.com/boydaihungst/srt2ass.git"},"contributors":[{"name":"Huy Hoang","email":"boydaihungst@gmai.com"}],"author":{"name":"Guillaume Lebigot","email":"axel@teri-chan.net"},"bugs":{"url":"https://github.com/boydaihungst/srt2ass/issues","email":"boydaihungst@gmail.com"},"license":"MIT","readme":"# srt2ass\n\nThis is a converter for SRT files to ASS, written in nodeJS.\n\nThis is used by [Karaoke Mugen](https://karaokes.moe) but can be freely used by just anything else.\n\nWARNING : this is an ES Module.\n\n## Installation\n\nRun `npm install -g srt2ass` to install as a global module (and get the CLI version)\n\nRun `npm install srt2ass` to install as a module for your project.\n\n## Usage\n\n### Module\n\nAs a module here's the method to use it :\n\n#### convertToASS(srt: string)\n\nReturns a correctly formatted ASS file as a string. You need to provide the contents of the SRT file as the first parameter.\n\n### CLI\n\nThe CLI version is used as follows :\n\n```sh\nsrt2ass myfile.srt\n```\n\nIt produces an ASS file on stdout.\n\n## Build\n\nIf you wish to build from source, use `npm run-script build` to get standard JS in the `dist` folder.\n\n## Test\n\nYou can test code with the `srt` file included in the test directory :\n\n```sh\nnode dist/index.cjs test/srt.srt\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}