delatinise-cli

0.1.16 • Public • Published

delatinise-cli

Build Status

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:

delatinise <path>

The path can be a file or directory. It will create a folder called delatinised and put all processed files in it.

Encoding

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.

Race Conditions

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.

Note: To execute the accent removal task, we use the string.js latinise() method.

License

Licensed under the MIT license

Dependencies (5)

Dev Dependencies (2)

Package Sidebar

Install

npm i delatinise-cli

Weekly Downloads

0

Version

0.1.16

License

MIT

Last publish

Collaborators

  • rodrigo-medeiros