mailchimp-dc

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i mailchimp-dc

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • radiovisual