{"_id":"dos2unix","_rev":"24-c891b8d2cdae3234f98d18bea9d1f519","name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","dist-tags":{"latest":"1.1.2"},"versions":{"0.2.0":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"0.2.0","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"q":"~0.9.2","glob":"~3.1.21","buffered-reader":"~1.0.1","node.extend":"~1.0.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.0","fs-extra":"~0.6.0"},"keywords":[],"_id":"dos2unix@0.2.0","dist":{"shasum":"39f0d84aa1b82e8d1a28bfcdd4f682ed61349b66","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-0.2.0.tgz","integrity":"sha512-J8Ab3wPg3deA+fgbhJZ86S+V74XHVC7+aZ7eq2BO4ekYMWx1QrSGNIeGiYXSXBRdGiwA9TRWiTgKRaHZQN1D/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrKdr7oxTWbvMfku6rWKmqKrpRT6CmY7gqy+J7Xkvf2gIhAKEyJKuH/vTWhwU7p1suiWAOKWi0dk+w7HrMFkHNuRRq"}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}]},"0.2.1":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"0.2.1","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"q":"~0.9.2","glob":"~3.1.21","buffered-reader":"~1.0.1","node.extend":"~1.0.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.0","fs-extra":"~0.6.0"},"keywords":[],"_id":"dos2unix@0.2.1","dist":{"shasum":"b928351f770cf35187b07e390ca2e6f635ceecf3","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-0.2.1.tgz","integrity":"sha512-+lHQ7iPNgtheKAhy7ijhRoR/j8Va4NnQVNZNfjHC4yjL//iLxY+ql+7mp0Z4PeIc/3W1XNX3f3mEdO+JYa/lVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBoADkbl9p4JU39RJ4YP6QcKHZvw4CmPnPplFJn3YKr5AiBMzWwE2OiXba30IlewCC0NWrAKtbr0/GalpGmLIYTFsg=="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}]},"0.2.2":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"0.2.2","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"q":"~0.9.2","glob":"~3.1.21","buffered-reader":"~1.0.1","node.extend":"~1.0.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","fs-extra":"~0.6.0"},"keywords":[],"_id":"dos2unix@0.2.2","dist":{"shasum":"18a4080f2339f182968c8b481213d2e19f069522","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-0.2.2.tgz","integrity":"sha512-pqADf9j2wzEkmNpaW5q76L1VzhReKMke3On6cPoVqxuXEzXcZmZJXNY5G6UFXaEY6l+mqYdzfnenvnEOda1ZxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICg3h3MdRiDHsH6RijdjE+Kl/YLBgP7UtdrDQmcFHwGRAiEA+R/Iy0uS5JvA2rv8Cm16yUE683cQCGcHyROLgM6K2LQ="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}]},"0.3.0":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"0.3.0","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"q":"~0.9.2","glob":"~3.1.21","buffered-reader":"~1.0.1","node.extend":"~1.0.0"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","fs-extra":"~0.6.0"},"keywords":[],"_id":"dos2unix@0.3.0","dist":{"shasum":"a3fa842cefc5afd975b4e96eb672d1a5065a8d18","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-0.3.0.tgz","integrity":"sha512-YQfbJYDnmcnXaDqiDlyc7GRuqSwczlmzeXIcZiIoV+IkpDIZW9tXrI2iT4FDF7z8jYPw4q5Uk3XGSg/R4Q+Kfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDdqFzQcGc2LKTyKQ04B/uvtWZJ11Kt9fXcPvv/PU/vAIgNRCQsMRNu04EapertDIoNoOj9i/gAzNeSVn6vr+14LE="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}]},"1.0.0":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"1.0.0","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"q":"~0.9.3","glob":"~3.2.1","readable-stream":"~1.0.2","node.extend":"~1.0.5"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","fs-extra":"~0.6.0"},"keywords":["dos2unix","unix2dos","crlf","lf","carriage return","line feed","newline","new line","line endings"],"_id":"dos2unix@1.0.0","dist":{"shasum":"3c8fa3be79ac6737e7d4557052544f6dd829a9a6","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-1.0.0.tgz","integrity":"sha512-YdxqqNM7GDZI+TqnWKzLqRfYNz4cpYEw6giCUNetJhFrmmfJi+XjYSjSVggSaqH0UB8wTjRfR5WOnAw+7kx6CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+wX39r4qD4PQep80h0DdYk8yFwGDmDvKftDI5QAhdnAIgP/nS9b4HUB6uQkl3uW2Hfdk48UM1Dx10cAsK4Jz+5ws="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}]},"1.0.1":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"1.0.1","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"q":"~0.9.3","glob":"~3.2.1","readable-stream":"~1.0.2","node.extend":"~1.0.5"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","fs-extra":"~0.6.0"},"keywords":["dos2unix","unix2dos","crlf","lf","carriage return","line feed","newline","new line","line endings"],"_id":"dos2unix@1.0.1","dist":{"shasum":"dc15003d0451ea166dd2f6ec889455ad5aec21cd","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-1.0.1.tgz","integrity":"sha512-JkOuqLAgvtjbyygWdMLabXWkXaOALrDOvA0/CIjKVCjG8Ctu1Zb9WKmBxPij0ncbGaDO6HyO5gliUSXqYsgFYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQLuwxcjWKwideMbuKvLZijtcbVE8dTRltghzxIMoAzAIhALMLAArl7AzkgMFaqRiLzuxuR8K7iYtNeFje59oxTBv5"}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}]},"1.0.2":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"1.0.2","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"q":"~0.9.3","glob":"~3.2.1","readable-stream":"~1.0.2","node.extend":"~1.0.5"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","fs-extra":"~0.6.0"},"keywords":["dos2unix","unix2dos","crlf","lf","carriage return","line feed","newline","new line","line endings"],"_id":"dos2unix@1.0.2","dist":{"shasum":"b51f5bd4510226fbd448dceb4fb1d358575e407d","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-1.0.2.tgz","integrity":"sha512-e1cBYVJQo5Xor3roGnlzOPwZtvsliTyuBf2yj2tv9zLwGhcgXRWeYIIOqKFCOvvzuaN2IrRL9aHH22oHjRt49w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtbzFVTeTknGX+u4D/0aHac+ElZ8hHFrju3D/Z0qoCNwIgGok19BrdfHZp9zvFOCDyRKumoVucbFOs1m+HIG61C90="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}]},"1.1.0":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"1.1.0","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"async":"~0.2.9","glob":"~3.2.1","readable-stream":"~1.0.2","node.extend":"~1.0.5"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","fs-extra":"~0.6.0"},"keywords":["dos2unix","unix2dos","crlf","lf","carriage return","line feed","newline","new line","line endings"],"_id":"dos2unix@1.1.0","dist":{"shasum":"b95c37598635026d8bee84eda07193e29638f50a","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-1.1.0.tgz","integrity":"sha512-+yyrXJEoN92zct21qbDeQEEB52IOgWxHB5PXWsJA1YyANdo1WRWLUOiHsiq0X8ZMPL7HmhpDboRrwYVTsT31gA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhZaz5SWsM2CiFTmfyMXn1HbqutA2Qz5OySpLA+j/lrwIhAJTmW5Ya5U0JE7upI3/gn7cbPy3UBiShsFTFGvdH0hDe"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}]},"1.1.1":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"1.1.1","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://jamesgreene.net/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"async":"~0.2.9","glob":"~3.2.1","readable-stream":"~1.0.2","node.extend":"~1.0.5"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","fs-extra":"~0.6.0"},"keywords":["dos2unix","unix2dos","crlf","lf","carriage return","line feed","newline","new line","line endings"],"_id":"dos2unix@1.1.1","dist":{"shasum":"473c2e3a27107adf5a5da84b08a5ebba06f6b825","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-1.1.1.tgz","integrity":"sha512-mqBHikYFGGEY7XSYTiGenb/vDfcKoUYie6V2BdQnOtjXDGl+hjVrfAMM51di0/onYH5v7/wBPDdQy3z6+S+qGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFe4XhgnJSTAtaPmRHBggoBhPrW5a5B9Dw4R/Tj8cmQAiEAj1pEc1y1gErT8vYbLdL8Skl1LxzulYTbNt5m4bUfIbs="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}]},"1.1.2":{"name":"dos2unix","description":"A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.","version":"1.1.2","homepage":"https://github.com/JamesMGreene/node-dos2unix","author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://greene.io/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"licenses":[{"type":"MIT","url":"https://github.com/JamesMGreene/node-dos2unix/blob/master/LICENSE-MIT"}],"main":"index","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt travis --verbose"},"dependencies":{"async":"~0.2.9","glob":"~3.2.1","readable-stream":"~1.0.2","node.extend":"~1.0.5"},"devDependencies":{"grunt-contrib-jshint":"~0.4.3","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","fs-extra":"~0.6.0"},"keywords":["dos2unix","unix2dos","crlf","lf","carriage return","line feed","newline","new line","line endings"],"gitHead":"f2a0d4dbb0879cdd7ab90b120401780bef2cfcf0","_id":"dos2unix@1.1.2","_shasum":"2e3f3d70f88e5fb52ce44d2e3e3cec1cbdee49a2","_from":".","_npmVersion":"3.3.4","_nodeVersion":"0.10.40","_npmUser":{"name":"jamesmgreene","email":"james.m.greene@gmail.com"},"maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}],"dist":{"shasum":"2e3f3d70f88e5fb52ce44d2e3e3cec1cbdee49a2","tarball":"https://registry.npmjs.org/dos2unix/-/dos2unix-1.1.2.tgz","integrity":"sha512-kQDio/UbRMjOo3GNKYxnMnynXVxQmYL9u5os0+ZUPyaahiYvgL8fX0ut2nG9pk5hTybKXoVu01+yQ+oWr0sxXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrKVmGBeAfb9npUoxJnyykc65HEck8o60zBvEKkw7l6wIhANoxJuBxD6Husr7edvf7qja+63QrYWcKutwVKYvQRA0F"}]}}},"readme":"[![Build Status](https://travis-ci.org/JamesMGreene/node-dos2unix.png?branch=master)](https://travis-ci.org/JamesMGreene/node-dos2unix)\n\n# dos2unix\n\nA Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using [`dos2unix`][dos2unix].\nThe module also supports cross-platform globbing patterns.\n\n## Getting Started\nInstall the module with: `npm install dos2unix`\n\n```js\nvar D2UConverter = require('dos2unix').dos2unix;\nvar d2u = new D2UConverter({ glob: { cwd: __dirname } })\n  .on('error', function(err) {\n    console.error(err);\n  })\n  .on('end', function(stats) {\n    console.log(stats);\n  });\nd2u.process(['docs/*']);\n```\n\n## Examples\n```js\n// Reference the module\nvar D2UConverter = new require('dos2unix').dos2unix;\n\n// Setup default options\nvar defaultOptions = {\n  glob: {\n    cwd: __dirname\n  },\n  maxConcurrency: 50\n};\n\n// Create a new `dos2unix` instance and add important event listeners\nvar d2u = new D2UConverter(defaultOptions)\n  .on('error', function(err) {\n    console.error(err);\n  })\n  .on('end', function(stats) {\n    console.log(stats);\n  });\n\n// Convert line endings of a single non-binary, non-irregular file from\n// '\\r\\n' to '\\n'.\nd2u.process(['docs/README.txt']);\n\n// Convert the line endings of multiple non-binary, non-irregular files from\n// '\\r\\n' to '\\n'.\nd2u.process(['docs/README.txt', 'examples/HelloWorld.js']);\n\n// Convert the line endings of all non-binary and non-irregular files in the\n// 'docs' directory (non-recursively) from '\\r\\n' to '\\n'.\nd2u.process(['docs/*']);\n\n// Convert the line endings of all non-binary and non-irregular files under the\n// 'examples' directory (RECURSIVELY) from '\\r\\n' to '\\n'.\nd2u.process(['examples/**/*']);\n\n// Convert the line endings of all non-binary and non-irregular files in the\n// 'docs' directory (non-recursively) AND the same type of files under the\n// 'examples' directory (RECURSIVELY) from '\\r\\n' to '\\n'.\nd2u.process(['docs/*', 'examples/**/*']);\n\n// Override the globbing options (per the `glob` module's documentation)\nvar globOptions = {\n  glob: {\n    cwd: 'docs'\n  }\n};\nd2u.process(['*.txt'], globOptions);\n```\n\n## Events\n - `start`\n - `processing.start`\n - `processing.skip`\n - `convert.start`\n - `convert.error` / `convert.end`\n - `processing.error` / `processing.end`\n - `error` / `end`\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests\nfor any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n - 1.1.1: Published to NPM on 2013-05-31.\n    - Set the `maxConcurrency` config default value to `0` (\"unlimited\"). Also updated a little code\n      so that a `maxConcurrency` config value of `0` or less will result in \"unlimited\", i.e. process\n      the whole array of globbed files at once.\n - 1.1.0: Published to NPM on 2013-05-31.\n    - Added the `maxConcurrency` config options to throttle how many files can be processed\n      simultaneously. This helps avoid issues across the board as most systems have an implicit\n      number of file handles that can be opened as once. It also provides those running on\n      hardware with limited resources to maintain better control of consumption.\n    - Under the covers: swapped in the `async` module to replace `q`, particularly for its\n      `parallelLimit` function.\n - 1.0.2: Published to NPM on 2013-05-25.\n    - Now omitting directories from the glob results as trying to convert their non-existent line\n      endings throws errors.\n - 1.0.1: Published to NPM on 2013-05-01.\n    - Converted 1 stray `console.error` call to an event emission as intended.\n - 1.0.0: Published to NPM on 2013-05-01.\n    - Completely remade: redid the whole API to be an EventEmitter, gutted the implementation, etc.\n - 0.3.0: Published to NPM on 2013-04-03.\n    - Hardened the unit tests, which led to exposing and fixing a critical bug in the `dos2unix`\n      conversion implementation.\n - 0.2.2: Published to NPM on 2013-04-02.\n    - Changed tests to write to the OS tmpdir instead of local to the repo, hopefully this fixes\n      the Travis-CI build.\n    - Also patched a globbing issue where all paths were relative to the CWD even if the `glob`\n      command was executed relative to a different directory.\n - 0.2.1: Published to NPM on 2013-04-02.\n    - README fixes.\n - 0.2.0: Published to NPM on 2013-04-02.\n    - Initial release.\n\n## License\nCopyright (c) 2013 James M. Greene  \nLicensed under the MIT license.\n\n\n\n[dos2unix]: http://sourceforge.net/projects/dos2unix/?source=dlp \"dos2unix site\"","maintainers":[{"name":"jamesmgreene","email":"james.m.greene@gmail.com"}],"time":{"modified":"2022-06-15T22:20:17.464Z","created":"2013-04-02T13:01:56.553Z","0.2.0":"2013-04-02T13:01:58.411Z","0.2.1":"2013-04-02T13:25:09.278Z","0.2.2":"2013-04-02T21:19:45.543Z","0.3.0":"2013-04-03T05:28:29.865Z","1.0.0":"2013-05-01T05:16:17.200Z","1.0.1":"2013-05-01T12:06:37.607Z","1.0.2":"2013-05-25T19:02:53.427Z","1.1.0":"2013-05-31T05:02:13.637Z","1.1.1":"2013-05-31T12:48:11.623Z","1.1.2":"2015-10-01T05:14:09.052Z"},"author":{"name":"James M. Greene","email":"james.m.greene@gmail.com","url":"http://greene.io/"},"repository":{"type":"git","url":"git://github.com/JamesMGreene/node-dos2unix.git"},"homepage":"https://github.com/JamesMGreene/node-dos2unix","keywords":["dos2unix","unix2dos","crlf","lf","carriage return","line feed","newline","new line","line endings"],"bugs":{"url":"https://github.com/JamesMGreene/node-dos2unix/issues"},"readmeFilename":"README.md","users":{"snowdream":true,"ymk":true}}