0.1.22 • Published 4d ago
framer-api
Licence
MIT
Version
0.1.22
Deps
2
Size
422 kB
Vulns
0
Weekly
0
Programmatically interact with Framer projects.

npm install framer-api
Compatibility
Works with any modern JavaScript runtime.
- Node.js 22+
- Bun 1.1+
- Deno 1.4+
- Cloudflare Workers
Getting Started
- Open your project in Framer
- Open settings (Cmd+K → "open settings")
- Find the "API Keys" section
- Create and copy your API key
Set the FRAMER_API_KEY environment variable, or pass it as the second argument to connect().
Quick Start
import { connect } from "framer-api"
const framer = await connect("https://framer.com/projects/Website--aabbccdd1122")
const info = await framer.getProjectInfo()
await framer.disconnect()
With Node.js 24+ or Bun 1.3+, use using for automatic cleanup:
using framer = await connect(projectUrl)
Documentation
Feedback
Have questions or feedback? Email us at server-api-feedback@framer.com