This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
delatinise-cli with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A CLI tool to remove accents from text files.
Install this globally and you'll have access to this tool anywhere on your system.
npm install -g delatinise-cli
To run it:
The path can be a file or directory. It will create a folder called delatinised and put all processed files in it.
delatinise-cli tries to figure out the encoding of the files you want to treat. By default, it converts them to UTF-8, since after the conversion, we don't have accents any more.
The conversion process, by its nature, is susceptible to race conditions. So it is possible that a file converted by
delatinise-cli and put into the delatinised folder may have been deleted or modified by the time the execution is finished.
Licensed under the MIT license