# ttml2srt
[![npm](https://img.shields.io/npm/v/ttml2srt.svg?style=flat-square)](https://npmjs.com/ttml2srt)
[![npm downloads](https://img.shields.io/npm/dm/ttml2srt.svg?style=flat-square)](https://npmjs.com/ttml2srt)

## Install
```
npm i ttml2srt
```

## Usage
```
const { ttml2srt } = require('ttml2srt');
const ttml2src = <YOUR TTML STRING>;
console.log(ttml2srt(ttml2src));
```
