Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
integrations-lib
Advanced tools
Shared library to work with 3rd Party APIs with shared interfaces
Abstracts multiple APIs to give you a shared library to call against different services such as Mail, Calendar, Work Tracking.
Everything is handled within the library using REST calls and data transformations. It can be an alternate to services such as Nylas or Kloudless.
You may use the library for free, and purchase a one-time access token for complete library usage.
Free Tier
See all available methods and interfaces in the Wiki
import {
Integrations,
IntegrationOptions,
MailServiceType,
} from "integrations-lib"
// after successful oauth, pass in a set of access tokens.
const opts: IntegrationOptions = {
authorizers: {
Microsoft: {
apiToken: "<user access token>",
},
Google: {
apiToken: "<user access token>",
},
},
}
const integrations = new Integrations(opts, "DEMO_TOKEN")
const outlook = integrations.getMailService(MailServiceType.Microsoft)
const gmail = integrations.getMailService(MailServiceType.Google)
const draftMessage = {
to: ["integrations@getamna.com"],
cc: [],
bcc: [],
subject: "Whoa, this library works!",
body: "Hey, we just sent you and email from our awesome library!",
}
sendMail()
async function sendMail() {
// send an email
const gmailResp = await gmail.send(draftMessage)
const outlookResp = await outlook.send(draftMessage)
}
This library does not provide UI for authentication to an OAuth Provider. If you purchased a token, you can purchase our OAuth Helper for Javascript that works with most 3rd party providers.
You can obtain tokens from Google and Microsoft for testing
All interface definitions can be found in our Public Github Repo
Not all methods have been implemented. There may also be slight variations between two APIs. Please read the wiki.
Library supporters have the ability to open support tickets. Because we are strapped on resources, we will prioritize token purchasers first.
FAQs
Shared library to work with 3rd Party APIs with shared interfaces
We found that integrations-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.