1337cat 中文文档教程
1337cat
将数据从流转换为 l33tsp34k、连接该数据并使用结果调用回调的可写流。
连接 l33tsp34k!
npm install 1337cat -S
Usage
const fs = require('fs')
const leetcat = require('1337cat')
fs.createReadStream(__dirname + '/leet.txt')
.pipe(leetcat(buf => {
console.log(buf.toString()) // '1337\n'
}))
1337cat
Writable stream that transforms data from a stream into l33tsp34k, concatenates that data, and calls a callback with the result.
Concatenates l33tsp34k!
npm install 1337cat -S
Usage
const fs = require('fs')
const leetcat = require('1337cat')
fs.createReadStream(__dirname + '/leet.txt')
.pipe(leetcat(buf => {
console.log(buf.toString()) // '1337\n'
}))