🎉 Initial public release of the official Node.js SDK for the toSVG API.
This release provides programmatic access to toSVG’s core features:
✨ Features
- Image to SVG conversion
- SVG optimization
- Background removal
- TypeScript support (ESM + CJS builds)
- Clean and simple developer-first API
📦 Installation
npm install @tosvg/node🚀 Quick example
import { Tosvg } from '@tosvg/node';
const client = new Tosvg({
apiKey: process.env.TOSVG_API_KEY,
});
await client.convert({
file: 'logo.png',
output: 'svg',
});
🔗 Links
API documentation: https://tosvg.com/api
Website: https://tosvg.com/