Libraries
Node.js
Learn how to integrate using the Node.js SDK
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Learn how to integrate using the Node.js SDK
npm install resend
yarn add resend
pnpm add resend
import { PearsDB } from 'pearsdb';
const pearsdb = new PearsDB('pdb_123456789');
(async function () {
try {
const data = await pearsdb.create({
name: 'Bill Stern',
company: 'Acme Corp',
to: ['delivered@resend.dev'],
subject: 'Hello World'
});
console.log(data);
} catch (error) {
console.error(error);
}
})();
npx next dev