Skip to content

Commit

Permalink
Add event link to parser doc
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Oct 9, 2012
1 parent abe998b commit a215676
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 3 additions & 2 deletions doc/parser.md
Expand Up @@ -2,7 +2,7 @@
language: en
layout: page
title: "Parsing"
date: 2012-10-09T16:08:40.532Z
date: 2012-10-09T16:24:28.047Z
comments: false
sharing: false
footer: false
Expand All @@ -11,7 +11,7 @@ github: https://github.com/wdavidw/node-csv-parser
---


The library extend the EventEmitter and emit the following events:
The library extend the [EventEmitter][event] and emit the following events:

* *row*
Emitted by the parser on each line with the line content as an array of fields.
Expand All @@ -28,3 +28,4 @@ Parse a string which may hold multiple lines.
Private state object is enriched on each character until
transform is called on a new line.

[event]: http://nodejs.org/api/events.html
7 changes: 6 additions & 1 deletion lib/parser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/parser.coffee
Expand Up @@ -7,7 +7,7 @@ stream = require 'stream'
Parsing
=======
The library extend the EventEmitter and emit the following events:
The library extend the [EventEmitter][event] and emit the following events:
* *row*
Emitted by the parser on each line with the line content as an array of fields.
Expand Down Expand Up @@ -132,4 +132,7 @@ Parser.prototype.error = (e) ->
module.exports = (csv) -> new Parser csv
module.exports.Parser = Parser

###
[event]: http://nodejs.org/api/events.html
###

0 comments on commit a215676

Please sign in to comment.