
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@mdxe/deploy
Advanced tools
Unified deployment interface for MDX projects - deploy to .do, Cloudflare, Vercel, or GitHub Pages
Unified deployment interface for MDX projects. Deploy to .do, Cloudflare, Vercel, or GitHub Pages with a single API.
pnpm add @mdxe/deploy
import { deploy } from '@mdxe/deploy'
// Detects platform from wrangler.toml, vercel.json, or defaults to .do
const result = await deploy({
projectDir: './my-project',
name: 'my-site',
})
console.log(`Deployed to ${result.platform}: ${result.url}`)
// Deploy to .do platform (default)
await deploy({
projectDir: './my-project',
platform: 'do',
})
// Deploy to Cloudflare
await deploy({
projectDir: './my-project',
platform: 'cloudflare',
})
// Deploy to Vercel
await deploy({
projectDir: './my-project',
platform: 'vercel',
production: true,
})
// Deploy to GitHub Pages
await deploy({
projectDir: './my-project',
platform: 'github',
repository: 'user/repo',
})
The package automatically detects the best platform based on:
wrangler.toml → Cloudflare, vercel.json → Vercelimport { detectPlatform } from '@mdxe/deploy'
const detection = detectPlatform('./my-project')
console.log(detection)
// { platform: 'do', confidence: 0.9, framework: 'nextjs', isStatic: false }
import { deployToDo, deployToCloudflare, deployToVercel, deployToGitHub } from '@mdxe/deploy'
await deployToDo({ projectDir: '.' })
await deployToCloudflare({ projectDir: '.' })
await deployToVercel({ projectDir: '.' })
await deployToGitHub({ projectDir: '.' })
import { getDeploymentStatus, cancelDeployment, deleteDeployment } from '@mdxe/deploy'
// Check status (Vercel)
const status = await getDeploymentStatus('vercel', 'deployment-id')
// Cancel deployment
await cancelDeployment('vercel', 'deployment-id')
// Delete deployment
await deleteDeployment('vercel', 'deployment-id')
import { registerProvider, type DeployProvider } from '@mdxe/deploy'
const customProvider: DeployProvider = {
platform: 'custom',
name: 'Custom Platform',
async deploy(options) {
// Your deployment logic
return { success: true, url: 'https://...' }
},
supports(options) {
return true
},
}
registerProvider(customProvider)
FAQs
Unified deployment interface for MDX projects - deploy to .do, Cloudflare, Vercel, or GitHub Pages
We found that @mdxe/deploy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.