Node.js SDK

Node.js logging
that just works

Add powerful, centralized logging to your Node.js apps in under a minute. Full TypeScript support, beautiful console output, and seamless cloud sync.

TypeScript ready
Zero config
terminal
$ npm install @loggydev/loggy-node
added 1 package in 0.8s
$ node app.js
[12:34:56] INFO Server started on port 3000
[12:34:57] INFO User authenticated {userId: 42 }
[12:34:58] WARN Rate limit approaching
[12:34:59] Synced to Loggy cloud
TypeScript
Real-time sync

Get started in 3 steps

From npm install to production-ready logging in under a minute

1

Install the SDK

$ npm i @loggydev/loggy-node
2

Initialize Loggy

import { CreateLoggy }
from '@loggydev/loggy-node'
const loggy = CreateLoggy({
accessToken: 'your-token'
})
3

Start logging

loggy.info('Hello world!')
loggy.warn('Watch out')
loggy.error('Oops!', err)

Built for Node.js developers

Everything you need for production-grade logging

TypeScript Native

Full type definitions included. Autocomplete for every method, type-safe metadata.

Zero Dependencies

Lightweight package with only chalk for colors. No bloat, no conflicts.

End-to-End Encryption

AES-256-GCM + RSA-OAEP encryption. Your logs encrypted before leaving your server.

Batched Uploads

Logs are batched and sent efficiently. Minimal overhead, maximum performance.

Beautiful Console

Colored, formatted output locally. Timestamps, levels, and metadata beautifully displayed.

Structured Metadata

Attach any JSON object to logs. Search and filter by any field in the dashboard.

Works with your stack

Express, AstroJS, Fastify, NestJS, Next.js, or vanilla Node — Loggy integrates seamlessly.

Express.js middleware support
Async/await friendly
ESM and CommonJS support
Node.js 16+ compatible
// Express.js example
import express from 'express'
import { CreateLoggy } from '@loggydev/loggy-node'
const app = express()
const loggy = CreateLoggy({
accessToken: process.env.LOGGY_TOKEN
})
app.get('/', (req, res) => {
loggy.info('Homepage visited', {
ip: req.ip,
userAgent: req.headers['user-agent']
})
res.send('Hello!')
})

Why developers choose Loggy

Compared to other Node.js logging solutions

Feature Loggy Winston Pino Bunyan
Cloud Dashboard
E2E Encryption
Real-time Streaming
TypeScript Support ~
Zero Config
Alerting

Ready to level up your Node.js logging?

Start for free. No credit card required.