Express Middleware
Many Express middleware packages work with Shokupan using the compatibility layer.
useExpress Adapter
Section titled “useExpress Adapter”import { useExpress } from 'shokupan';import helmet from 'helmet';
app.use(useExpress(helmet()));Native Alternatives
Section titled “Native Alternatives”For better performance, use native Shokupan plugins:
import { SecurityHeaders, Compression, Cors } from 'shokupan';
app.use(SecurityHeaders());app.use(Compression());app.use(Cors());Next Steps
Section titled “Next Steps”- Plugins - Native Shokupan plugins