node-dos2unix icon indicating copy to clipboard operation
node-dos2unix copied to clipboard

A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.

Results 8 node-dos2unix issues
Sort by recently updated
recently updated
newest added

node_modules\@dpwolfe\dos2unix\node_modules\async\lib\async.js:43 if (fn === null) throw new Error("Callback was already called."); Error: Callback was already called. The node program can convert line breaks normally, but it will output an error....

Bumps [node.extend](https://github.com/dreamerslab/node.extend) from 1.0.10 to 2.0.2. Commits - [`e4508dd`](https://github.com/dreamerslab/node.extend/commit/e4508dd9f7ba803ae8948ed1164c6613a5707cc2) v2.0.2 - [`3f8fcdc`](https://github.com/dreamerslab/node.extend/commit/3f8fcdc4cbd1d76b449f86beaa72e41b1315b51a) [meta] add LICENSE.md - [`8693525`](https://github.com/dreamerslab/node.extend/commit/8693525ed0887ef0bb4b4b45c50b484144d78188) Merge tag 'v1.1.7' - [`503209d`](https://github.com/dreamerslab/node.extend/commit/503209dd76c96c0b98ee0b86c0914ad6b2be23ed) v1.1.7 - [`886192a`](https://github.com/dreamerslab/node.extend/commit/886192aa3fd5c4952f101b7ff3d9a61c16cbe19d) v2.0.1 - [`d63002d`](https://github.com/dreamerslab/node.extend/commit/d63002dbc5ac2bc89c264a81bfb72769ec924f1b) [Fix] Prevent...

dependencies

A small extra check to prevent failure when getting the length.

``` /xxxx/node_modules/dos2unix/lib/dos2unix.js:82 len = data.length, ^ TypeError: Cannot read property 'length' of null at Readable.onReadable (/xxxx/node_modules/dos2unix/lib/dos2unix.js:82:23) at emitNone (events.js:105:13) at Readable.emit (events.js:207:7) at emitReadable_ (_stream_readable.js:502:10) at emitReadable (_stream_readable.js:496:7) at onEofChunk...

There is no such function at all. I can't run the task correctly...

When using this dos2unix on windows so as to work on some nodeJS modules which expect the input in the unix format, default options is not working. It says glob...

Hi, I added these for my own purposes and thought I would create a pull request to see if your interested. If not, no problem.

Rework the entire codebase to provide EventEmitter events instead of just buffering stdout/stderr.

enhancement