A simple HTTP framework for Node.js (version 1.2.0). Provides a minimal API for building web servers with routing, request handling, and middleware support. Designed for quick prototyping and small applications. Differentiates by focusing on simplicity and a single main export called Sweet Potato. Active development, but limited documentation and community adoption compared to Express.js. TypeScript types included.
npm install potato-frameworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic HTTP server with SweetPotato routing and built-in Node http module.
Use `app.handle.bind(app)` or wrap in arrow function: `(req, res) => app.handle(req, res)`
Remove any import from 'potato-framework/createServer'
Upgrade Node.js to v18.12.0+ or use a transpiler like Babel.
Manually decode params with `decodeURIComponent()` if needed.
Bind the handle method: `const server = createServer(app.handle.bind(app));`
Use `import` statements and ensure `"type": "module"` in package.json
Upgrade Node.js to v18.12.0 or later.
No dependency data recorded yet.