Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/asciicast-read-stream
Read an Asciicast as a stream of frames.
https://github.com/derhuerst/asciicast-read-stream
asciicast asciinema
Last synced: 5 days ago
JSON representation
Read an Asciicast as a stream of frames.
- Host: GitHub
- URL: https://github.com/derhuerst/asciicast-read-stream
- Owner: derhuerst
- License: isc
- Created: 2017-05-27T09:27:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T15:52:24.000Z (over 4 years ago)
- Last Synced: 2024-10-03T23:55:43.927Z (about 1 month ago)
- Topics: asciicast, asciinema
- Language: JavaScript
- Homepage: https://github.com/derhuerst/asciicast-read-stream
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# asciicast-read-stream
**Read an [Asciicast](https://asciinema.org) as a stream of frames.**
[![npm version](https://img.shields.io/npm/v/asciicast-read-stream.svg)](https://www.npmjs.com/package/asciicast-read-stream)
[![build status](https://img.shields.io/travis/derhuerst/asciicast-read-stream.svg)](https://travis-ci.org/derhuerst/asciicast-read-stream)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/asciicast-read-stream.svg)
[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)## Installing
```shell
npm install asciicast-read-stream
```## Usage
```js
const read = require('.')read(someAsciicast)
.on('meta', console.log)
.on('data', console.log)
.on('error', console.error)
```## Contributing
If you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/asciicast-read-stream/issues).