Skip to content

Commit

Permalink
Merge pull request #303 from C2FO/issue301
Browse files Browse the repository at this point in the history
Added import/require example #301
  • Loading branch information
doug-martin authored Dec 19, 2019
2 parents 51d114a + 5f9281e commit e8d1ebb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# v3.7.0

* [ADDED] Ability to Transform Header [#287](https://github.com/C2FO/fast-csv/issues/287)
* [ADDED] Example require and import to README [#301](https://github.com/C2FO/fast-csv/issues/301)

# v3.6.0

Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ Fast-csv is library for parsing and formatting csvs or any other delimited value

`npm install -S fast-csv`

## Usage

To use `fast-csv` in `javascript` you can require the module/

```js
const csv = require('fast-csv');
```

To import with typescript

```typescript
import * as csv from 'fast-csv';
```

## Documentation

* [Parsing Docs](./docs/parsing.md)
Expand Down Expand Up @@ -55,3 +69,4 @@ MIT <https://github.com/C2FO/fast-csv/raw/master/LICENSE>
* Website: <http://c2fo.com>
* Twitter: [http://twitter.com/c2fo](http://twitter.com/c2fo) - 877.465.4045


0 comments on commit e8d1ebb

Please sign in to comment.