New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@mastra/deployer

Package Overview
Dependencies
Maintainers
7
Versions
1440
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has malicious versions linked to the ongoing "Mastra AI framework compromise" supply chain attack.

Affected versions:

1.42.1
View campaign page

@mastra/deployer

Source
npmnpm
Version
1.68.0-alpha.6
Version published
Weekly downloads
500K
-8.85%
Maintainers
7
Weekly downloads
 
Created
Source

@mastra/deployer

Core deployment infrastructure for Mastra applications, handling build, packaging, and deployment processes.

Installation

npm install @mastra/deployer

Usage

import { Deployer } from '@mastra/deployer';

// Create a deployer instance
const deployer = new Deployer({
  dir: '/path/to/project',
  type: 'Deploy', // or 'Dev' for development mode
});

// Install dependencies
await deployer.install();

// Write package.json
await deployer.writePackageJson();

// Get Mastra instance
const { mastra } = await deployer.getMastra();

Documentation

  • @mastra/deployer documentation

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.

FAQs

Package last updated on 18 Sep 2026

Related posts