Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @eyedea-sockets/mailchimp with all npm packages installed. Try it out:

@eyedea-sockets/mailchimp lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

require("@syncano/cli/package.json"); // @syncano/cli is a peer dependency. // require("@eyedea-sockets/mailchimp/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@eyedea-sockets/mailchimp v0.1.5

Syncano Socket to manage mailchimp subscriptions

Syncano Socket to manage mailchimp subscriptions

Syncano Socket CircleCI branch Codecov branch JavaScript Style Guide npm license

Main Socket features:

  • mailchimp/signup — sign up email to the mailchimp list

Getting Started

Install package in your project:

cd my_project
npm install @syncano/cli --save-dev
npm install @eyedea-sockets/mailchimp --save
export SOCKET_MAILCHIMP_API_KEY=<mailchimp api key> // or you will be asked during deploy
npx s deploy

Use it:

import Syncano from '@syncano/client'

const s = new Syncano(<instaneName>)

// List and email
const params = {
  listId: 12345
  email: 'test@test.pl'
}
const signupStatus = await s.get('mailchimp/signup', params)
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free