mailchimp-dc
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 = ; ;//=> '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