Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakeburden/1337cat
https://github.com/jakeburden/1337cat
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/jakeburden/1337cat
- Owner: jakeburden
- Created: 2016-02-24T04:10:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-19T15:52:50.000Z (about 8 years ago)
- Last Synced: 2025-01-05T18:46:30.806Z (4 days ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
Awesome Lists containing this project
README
# 1337cat
Writable stream that transforms data from a stream into l33tsp34k, concatenates that data, and calls a callback with the result.
[![build status](http://img.shields.io/travis/jekrb/1337cat.svg?style=flat)](http://travis-ci.org/jekrb/1337cat)
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
Concatenates l33tsp34k!
```
npm install 1337cat -S
```## Usage
```js
const fs = require('fs')
const leetcat = require('1337cat')fs.createReadStream(__dirname + '/leet.txt')
.pipe(leetcat(buf => {
console.log(buf.toString()) // '1337\n'
}))
```