🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@truncus/cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@truncus/cli

CLI for Truncus Email API — send transactional emails from the command line

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@truncus/cli

Command-line interface for Truncus Email.

Installation

npm install -g @truncus/cli

Quick Start

# Authenticate
truncus login

# Send an email
truncus send \
  --to user@example.com \
  --from noreply@mail.yourdomain.com \
  --subject "Hello" \
  --html "<p>Hi there!</p>"

# Read HTML from file
truncus send --to user@example.com --from noreply@mail.yourdomain.com \
  --subject "Report" --file ./report.html

# Check status
truncus status <email-id>

# Validate without sending
truncus validate \
  --to user@example.com \
  --from noreply@mail.yourdomain.com \
  --subject "Test"

# List domains
truncus domains list

Commands

CommandDescription
truncus loginStore API key
truncus login --logoutClear credentials
truncus sendSend an email
truncus validateDry-run validation
truncus status <id>Check email status
truncus domains listList verified domains

Environment Variables

  • TRUNCUS_API_KEY — alternative to truncus login
  • TRUNCUS_BASE_URL — override API base URL

Keywords

truncus

FAQs

Package last updated on 05 Mar 2026

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