New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

evelmo

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evelmo

TypeScript SDK for Evelmo audit logging

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

evelmo

TypeScript SDK for Evelmo audit logging.

Installation

npm install evelmo

Quick Start

import { Evelmo } from 'evelmo';

const evelmo = new Evelmo({
  apiKey: process.env.EVELMO_API_KEY!,
});

await evelmo.log({
  action: 'user.invited',
  actionType: 'C',
  eventName: 'User Invited',
  actor: { id: 'user_123', name: 'John' },
  target: { id: 'user_456', type: 'user' },
});

API

new Evelmo(config)

Create a new Evelmo client.

const evelmo = new Evelmo({
  apiKey: 'vrt_live_...',    // Required
  baseUrl: 'https://...',    // Optional, defaults to https://api.evelmo.com
});

evelmo.log(input)

Create an audit log entry.

await evelmo.log({
  action: 'user.invited',           // Action identifier
  actionType: 'C',                  // C=Create, R=Read, U=Update, D=Delete, A=Action
  eventName: 'User Invited',        // Human-readable event name
  actor: {                          // Who performed the action
    id: 'user_123',
    name: 'John Doe',               // Optional
    email: 'john@example.com',      // Optional
  },
  target: {                         // What was affected
    id: 'user_456',
    type: 'user',
    name: 'Jane Smith',             // Optional
  },
  context: {                        // Optional request context
    ip: '192.168.1.1',
    userAgent: 'Mozilla/5.0...',
    location: 'US',
  },
  metadata: {                       // Optional additional data
    role: 'admin',
    team: 'engineering',
  },
  occurredAt: new Date(),           // Optional, defaults to now
});

License

MIT

Keywords

audit

FAQs

Package last updated on 18 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