@seamailer/seamailer-js
v0.0.3
Published
Seamailer's Browser SDK
Downloads
220
Maintainers
Readme
Seamailer JS SDK
For collecting contact information from frontend forms
if you want to send emails try our Node SDK or use the API
Installing
npm install @seamailer/seamailer-js
Usage
import Seamailer from "seamailer-js"
const seamailer = new Seamailer("public api key")
seamailer.contacts.createContact({
email: "[email protected]",
firstName: "John",
lastName: "Doe",
company: "Acme Inc.",
tags: "tag1, tag2",
customFields: {
field1: "value1",
field2: "value2",
},
}).then();