1.0.0 • Published 1 year ago
transform-input-output v1.0.0
Transform Input Output
This module takes two files, one input and one output file. It reads the input file, transforms the text so that every character is doubled, and saves the transformed text in the output file. Does not modify the input file.
Install
npm install transform-input-output
USAGE
textTransform(a, b)
// Load library
var textTransform = require('transform-input-output');
// if test.txt = "Hello World!"
// Create transformed file
textTransform("test.txt", "test2.txt");
//then test2.txt => "HHeelllloo WWoorrlldd!!"
Test
npm test
License ISC