{"library":"smash-middleware-helloworld","title":"smash-middleware-helloworld","type":"library","description":"smash-middleware-helloworld is a middleware for the smash-cli framework, providing a simple hello world example for plugin development. Currently at version 0.0.25, it is part of the smash-cli ecosystem and demonstrates how to create custom middleware. This package is in early development (pre-1.0), with no regular release cadence. It is intended as a learning tool or starting point for building smash-cli middleware. Differentiator: tightly integrated with smash-cli, not suitable for standalone use.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install smash-middleware-helloworld"],"cli":null},"imports":["import helloWorld from 'smash-middleware-helloworld'","import helloWorld from 'smash-middleware-helloworld'","import helloWorld from 'smash-middleware-helloworld'; import type { Middleware } from 'smash-cli'"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/chenhaihong/smash-cli","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/smash-middleware-helloworld","openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"import smash from 'smash-cli';\nimport helloWorld from 'smash-middleware-helloworld';\n\nconst app = smash();\napp.use(helloWorld());\napp.start();","lang":"typescript","description":"Demonstrates how to create a smash-cli app and add the hello world middleware.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}