mailchimp-dc
v1.0.1
Published
Get the Data Center (dc) value from a Mailchimp API key.
Downloads
4
Maintainers
Readme
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 = 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