1.0.1 • Published 8 years ago

mailchimp-dc v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

mailchimp-dc Build Status

Get the Data Center (dc) value from a Mailchimp API key.

Extract the Data Center (dc) value from your Mailchimp API key in the format of: 0000000000000000-us10

Install

$ npm install --save mailchimp-dc

Usage

const dc = require('mailchimp-dc');

dc('00000000-us10');
//=> 'us10'

API

mailchimpDc(input)

Returns a string with the Data Center Value.

input

Type: string

The API Key you want to extract the Data Center value from.

License

MIT © Michael Wuergler