Code files

This commit is contained in:
Akhil
2017-07-31 11:33:31 +05:30
parent 073a63ebdd
commit b9ae409ec0
801 changed files with 17535 additions and 0 deletions
@@ -0,0 +1,6 @@
'use strict'
process.stdin.on('data', data => {
process.stderr.write(`Converting: "${data}" to base64\n`)
process.stdout.write(data.toString('base64') + '\n')
})
@@ -0,0 +1,4 @@
'use strict'
const encode = require('base64-encode-stream')
process.stdin.pipe(encode()).pipe(process.stdout)
@@ -0,0 +1,16 @@
{
"name": "piping",
"version": "1.0.0",
"main": "base64.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "David Mark Clements",
"license": "MIT",
"dependencies": {
"base64-encode-stream": "^1.0.0"
},
"devDependencies": {},
"keywords": [],
"description": ""
}