# grunt-mailchimp-export-csv

> Export a mailchimp list to csv

Latest version **0.1.0** (published 2015-01-29) · 0 weekly downloads

## Install

```sh
npm install grunt-mailchimp-export-csv
pnpm add grunt-mailchimp-export-csv
yarn add grunt-mailchimp-export-csv
bun add grunt-mailchimp-export-csv
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-01-29 |
| First published | 2015-01-29 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Gerald Stockinger |
| Maintainers | gst1984 |
| Keywords | gruntplugin |

## Links

- npm: https://www.npmjs.com/package/grunt-mailchimp-export-csv
- Repository: https://github.com/gst1984/gruntmailchimpexportcsv
- Issues: https://github.com/gst1984/gruntmailchimpexportcsv/issues
- npm.io page: https://npm.io/package/grunt-mailchimp-export-csv

## Recent versions

- 0.1.0 (latest) — 2015-01-29

## README

# grunt-mailchimp-export-csv

> Export a mailchimp list to csv

## Getting Started
ATTENTION: This plugin is not really tested - no warranties for anything...

This plugin requires Grunt `~0.4.5`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-mailchimp-export-csv --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-mailchimp-export-csv');
```

## The "mailchimp_export_csv" task

Additionally this plugin requires a few node modules: 
fast-csv, fs, mailchimp

### Overview
In your project's Gruntfile, add a section named `mailchimp_export_csv` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
  mailchimp_export_csv: {
		websubscriber_list: {
			options : { 
					apiKey : '****', 
					listId : '****',
					csvFile : 'output.csv'
				},
		},
    },
});
```

### Options

apiKey - Mailchimp API - Key

listId - Mailchimp ListId (Attention there are two listIds - don't take the one from the web but from the lists/list call.

csvFile - outputfile

---
_Source: https://npm.io/package/grunt-mailchimp-export-csv · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
