@folkforms/line-endings

0.0.12 • Public • Published

line-endings

Checks and/or writes line endings.

Options

  • -l/--line-ending LF/CRLF Line ending to use
  • -c/--check <path> Check line endings and fail if any do not match the specified line ending
  • -w/--write <path> Fix any files that do not match the specified line ending
  • -i/--ignore <path> Use the given ignore file. Will default to using .gitignore (if it exists.)

-l/--line-ending and at least one of -c/--check or -w/--write must be specified.

Readme

Keywords

none

Package Sidebar

Install

npm i @folkforms/line-endings

Weekly Downloads

6

Version

0.0.12

License

ISC

Unpacked Size

8.81 kB

Total Files

21

Last publish

Collaborators

  • folkforms