All Projects → jurosh → nodejs-eol-converter-cli

jurosh / nodejs-eol-converter-cli

Licence: Apache-2.0 license
Newline (EOL) coverter CLI for NodeJs. CRLF -> LF or backwards conversion.

Programming Languages

javascript
184084 projects - #8 most used programming language
HCL
1544 projects

Projects that are alternatives of or similar to nodejs-eol-converter-cli

Create-EXEFromPS1
Takes one PowerShell script and any number of supplementary files or even a directory and creates an exe using Windows's built in iexpress program. The exe will run on any machine with PowerShell 2.0+.
Stars: ✭ 81 (+145.45%)
Mutual labels:  converter
jsons2xsd
Highly configurable converter from JSON-schema to XML-schema (XSD).
Stars: ✭ 65 (+96.97%)
Mutual labels:  converter
it-tools
Aggregated set of useful tools that every developer may need once in a while.
Stars: ✭ 222 (+572.73%)
Mutual labels:  converter
svg2ass
Svg2ass - convert SVG vector graphics to ASS subtitle draw instructions.
Stars: ✭ 22 (-33.33%)
Mutual labels:  converter
osx-callhistory-decryptor
macOS (incl big sur) call history decryptor/converter to CSV format.
Stars: ✭ 19 (-42.42%)
Mutual labels:  converter
avro-to-typescript
Compile Apache Avro schema files to TypeScript classes
Stars: ✭ 31 (-6.06%)
Mutual labels:  converter
unicode-formatter
Convert portions of text to fancy text using unicode fonts for use on Twitter and other sites that don't support rich text
Stars: ✭ 31 (-6.06%)
Mutual labels:  converter
docx-you-want
An unusual PDF-to-DOCX converter.
Stars: ✭ 40 (+21.21%)
Mutual labels:  converter
i7n-pdfhtml
pdfHTML is an iText 7 add-on for C# (.NET) that allows you to easily convert HTML and CSS into standards compliant PDFs that are accessible, searchable and usable for indexing.
Stars: ✭ 111 (+236.36%)
Mutual labels:  converter
xml-avro
Convert XSD -> AVSC and XML -> AVRO
Stars: ✭ 32 (-3.03%)
Mutual labels:  converter
LC2KiCad
A C++ utility that converts EasyEDA (LCEDA) file to KiCad 5 Documents.
Stars: ✭ 103 (+212.12%)
Mutual labels:  converter
convertron3000
Convertron3000 commodore 64 graphics converter
Stars: ✭ 24 (-27.27%)
Mutual labels:  converter
cvscan
Your not so typical resume parser
Stars: ✭ 46 (+39.39%)
Mutual labels:  converter
o2d3m
Wavefront OBJ to Doom3 map converter.
Stars: ✭ 15 (-54.55%)
Mutual labels:  converter
Wallpaper-Engine-Pkg-to-Zip
Simple program to convert the wallpaper engine pkg files to zip and back!
Stars: ✭ 57 (+72.73%)
Mutual labels:  converter
tyson
A TypeScript serialization/deserialization library to convert objects to/from JSON
Stars: ✭ 25 (-24.24%)
Mutual labels:  converter
to-json-schema
Converts JS objects to JSON Schema
Stars: ✭ 83 (+151.52%)
Mutual labels:  converter
crimson
Bioinformatics tool outputs converter to JSON or YAML
Stars: ✭ 30 (-9.09%)
Mutual labels:  converter
recode-converter
A modern & simple audio converter for video files
Stars: ✭ 22 (-33.33%)
Mutual labels:  converter
csv2keepassxml
Convert CSV files into KeePass 2 XML files.
Stars: ✭ 31 (-6.06%)
Mutual labels:  converter

Newlines (EOL) converter CLI

Having troubles with different line endings? 😳

This library will simply convert files of your choice to Windows (CRLF), or popular LF line ends used on Linux and Mac.

Installation:

npm i -g eol-converter-cli

API: eolConverter OptionalModifier "glob_files_regex"

  • OptionalModifier can be empty, warmup, or crlf - see examples.
  • For files paths resolution is used GLOB regex

Examples

Run just warmup - to see which files will be affected:

eolConverter warmup "**/*.js"

Run conversions (cannot be undone):

To LF (Unix & Mac default)

eolConverter "**/*.js"
eolConverter "**/*.{js,jsx,ts,tsx}"
eolConverter "src/**/*.js"
eolConverter "{src,tests}/**/*.js"

To CRLF (Windows default)

eolConverter crlf "**/*.js"

Tips

PS: Don't forget to configure you favourite IDE to work with desired line endings, so that you won't need this tool again! 😏

Please give project if you like it!

License

Apache 2.0 © Juraj Husár

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].