@mastashake08/dash-transformer
v1.0.3-alpha
Published
JavaScript TransformStream for sending video data over DASH protocol
Downloads
3
Maintainers
Readme
dash-transformer
npm package template.
Installation
Clone repository with Git:
git clone https://github.com/mastashake08/dash-transformer.git
cd dash-transformer
Usage
import { DashTransformer } from '@mastashake08/dash-transformer'
readable.pipeThrough(new DashTransformer(digestUrl)).pipeTo(writable)
Testing
Run tests:
npm test
Run tests in watch mode:
npm run test:watch
Run tests with coverage:
npm run test:coverage
View coverage in browser:
npm run test:coverage:report
open coverage/index.html
Lint files:
npm run lint
Fix lint errors:
npm run lint:fix
Release
Only collaborators with credentials can release and publish:
npm run release
git push --follow-tags && npm publish
To see what files are going to be published, run the command:
npm pack --dry-run
# tar tvf $(npm pack)