Socket
Socket
Sign inDemoInstall

00-js

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

00-js

Node.js library for interacting with the 00 API.


Version published
Weekly downloads
24
increased by84.62%
Maintainers
0
Weekly downloads
 
Created
Source

00 Node.js SDK

Community made SDK for interacting with the 00 (short for DoubleZero) API.

This package is inspired by the official Resend Node.js SDK.

This package is not officially maintained by 00.

Install

npm install 00-js
# or
pnpm add 00-js
# or
yarn add 00-js

Setup

First, you need to deploy your 00 API. You can do this by following the instructions here.

Then, create an API token in your dashboard.

import { DoubleZero } from '00-js';

const doubleZero = new DoubleZero({
  baseUrl: 'https://double-zero.example.com',
  token: 'your_api_token',
});

Usage

Sending emails is very simple.

await doubleZero.emails.send({
  from: 'you@example.com',
  to: 'user@gmail.com',
  subject: 'Test email from Node.js!',
  html: '<h1>Hello world from 00!</h1>',
});

License

MIT License

Keywords

FAQs

Package last updated on 10 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc