Permalink
Commits on Jul 1, 2012
  1. Bump to version 0.0.16

    wdavidw committed Jul 1, 2012
  2. Remove generated test files

    wdavidw committed Jul 1, 2012
  3. Don't ignore *.tmp file

    wdavidw committed Jul 1, 2012
  4. Cover API argument in readme

    wdavidw committed Jul 1, 2012
  5. Merge pull request #34 from eladb/default-write-linebreaks

    Worms David committed Jul 1, 2012
    Fallback writeOptions.lineBreak not consistent, default to "\r\n"
  6. Headers are not emitted on sourceless writes

    eladb committed Jul 1, 2012
    If csv is used without a source and `{header:true}`, headers are not
    emitted.
  7. Fallback writeOptions.lineBreak not consistent

    eladb committed Jul 1, 2012
    When using `csv` without a source (only to generate a CSV output), the `lineBreaks` option [falls back](https://github.com/wdavidw/node-csv-parser/blob/b8be8163badb857f3ea1f8066a7b38a248f214ed/lib/csv.js#L417) to `\r` (old mac). When an `Array` source is used, `lineBreaks` [falls back](https://github.com/wdavidw/node-csv-parser/blob/b8be8163badb857f3ea1f8066a7b38a248f214ed/lib/csv.js#L77) to `\r\n` (windows).
    
    This change makes this consistent to `windows` (`\r\n`).
    
    BTW, mac today is also using `\r` since it is now a UNIX variant (BSD), so I'm not sure using the term `mac` makes a lot of sense.
Commits on Jun 20, 2012
  1. Bump to version 0.0.15

    wdavidw committed Jun 20, 2012
  2. Remove hard-coded utf8 encoding

    wdavidw committed Jun 20, 2012
  3. Cosmetics

    wdavidw committed Jun 20, 2012
  4. Write method now accept an array; Transform may return an integer; Ca…

    wdavidw committed Jun 20, 2012
    …tch and handle errors in transform callback
  5. Merge pull request #32 from eladb/new-columns

    Worms David committed Jun 20, 2012
    writeOptions.newColumns
Commits on Jun 14, 2012
  1. writeOptions.newColumns

    eladb committed Jun 14, 2012
    If `writeOptions.columns` is not defined and `writeOptions.newColumns` is defined, any new keys
    added to the object returned by `transform()` will be added as an output column.
    
    See adaltas/node-csv#31
Commits on Apr 3, 2012
  1. Bump to version 0.0.13

    wdavidw committed Apr 3, 2012
Commits on Apr 1, 2012
  1. Bump to version 0.0.12

    wdavidw committed Apr 1, 2012
  2. Merge pull request #26 from visup/patch-1

    wdavidw committed Apr 1, 2012
    Added flag to optionally output column names in the CSV stream
Commits on Mar 31, 2012
Commits on Mar 30, 2012
  1. Convert escape to coffee

    wdavidw committed Mar 30, 2012
  2. Convert delimiter to coffee

    wdavidw committed Mar 30, 2012
  3. Convert lineBreaks to coffee

    wdavidw committed Mar 30, 2012
  4. Convert from to to coffee

    wdavidw committed Mar 30, 2012
  5. Ignore node_modules

    wdavidw committed Mar 30, 2012
  6. Update license

    wdavidw committed Mar 30, 2012
  7. Convert write test to coffee

    wdavidw committed Mar 30, 2012
  8. Convert trim test to coffee

    wdavidw committed Mar 30, 2012
  9. Merge pull request #24 from timoxley/expressodep

    wdavidw committed Mar 30, 2012
    Setup expresso as a local dependency.