Skip to content

haerphi/NodeEscapeCharacter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text art escape character

Hi, welcome in my npm package to convert your text art !

Warning

The convert edit the file, I doesn't create a new file with the result.

Setup

Git

  • Clone the repertory : git clone https://github.com/haerphi/NodeEscapeCharacter.git
  • Move in the folder
  • Install depedencies : npm i or npm install
  • Convert your file : `node . PathToYourFile``
  • Enjoy

Npm

A little example:

const escapecharater = require('escapecharacter');

//convert will return a string
let test = escapecharater.convert('./textArt.txt');
console.log(test);

//convertFile will modify the file
escapecharater.convertFile('./textArt.txt');

If you check the source code of convert, you'll notice it just use
fs.readFileSync(path, 'utf8');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published