@morojs/moro 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ![Moro Logo](https://img.shields.io/badge/MoroJS-2563eb?style=for-the-badge&logo=typescript&logoColor=white)
6
6
 
7
- **High-performance multi-runtime framework with intelligent routing**
7
+ **High-performance multi-runtime framework with intelligent routing**
8
8
  *Functional • Type-safe • Multi-environment • Production-ready*
9
9
 
10
10
  [![npm version](https://badge.fury.io/js/@morojs%2Fmoro.svg)](https://badge.fury.io/js/@morojs%2Fmoro)
@@ -81,22 +81,22 @@ Deploy the **same code** everywhere:
81
81
 
82
82
  ```typescript
83
83
  // Node.js (default)
84
- import { createApp } from 'moro';
84
+ import { createApp } from '@morojs/moro';
85
85
  const app = createApp();
86
86
  app.listen(3000);
87
87
 
88
88
  // Vercel Edge Functions
89
- import { createAppEdge } from 'moro';
89
+ import { createAppEdge } from '@morojs/moro';
90
90
  const app = createAppEdge();
91
91
  export default app.getHandler();
92
92
 
93
93
  // AWS Lambda
94
- import { createAppLambda } from 'moro';
94
+ import { createAppLambda } from '@morojs/moro';
95
95
  const app = createAppLambda();
96
96
  export const handler = app.getHandler();
97
97
 
98
98
  // Cloudflare Workers
99
- import { createAppWorker } from 'moro';
99
+ import { createAppWorker } from '@morojs/moro';
100
100
  const app = createAppWorker();
101
101
  export default { fetch: app.getHandler() };
102
102
  ```
@@ -109,7 +109,7 @@ export default { fetch: app.getHandler() };
109
109
  ```typescript
110
110
  // Express - Order matters, easy to break
111
111
  app.use(cors()); // Must be first
112
- app.use(helmet()); // Must be early
112
+ app.use(helmet()); // Must be early
113
113
  app.use(bodyParser()); // Must be before validation
114
114
  app.use(rateLimit()); // Must be before routes
115
115
  app.use(validation()); // Must be before handler
@@ -197,7 +197,7 @@ await app.loadModule(UsersModule);
197
197
  - [**Migration Guide**](./docs/MIGRATION.md) - From Express, Fastify, NestJS
198
198
  - [**Performance Guide**](./docs/PERFORMANCE.md) - Optimization and benchmarks
199
199
  - [**Runtime System**](./docs/RUNTIME.md) - Multi-runtime deployment guide
200
- - [**Examples Repository**](../MoroJS%20Examples/) - Working examples
200
+ - [**Examples Repository**](../Moro-JS/examples/) - Working examples
201
201
 
202
202
  ### **Key Concepts**
203
203
  - **Multi-Runtime Support** - Same API works on Node.js, Edge, Lambda, and Workers
@@ -207,12 +207,12 @@ await app.loadModule(UsersModule);
207
207
 
208
208
  ## Why Choose Moro?
209
209
 
210
- **Same API everywhere** - Write once, deploy to any runtime
211
- **No middleware dependencies** - Framework handles optimal ordering
212
- **Full type safety** - Zod provides end-to-end TypeScript inference
213
- **Clean APIs** - Chainable and schema-first approaches
214
- **Production ready** - Circuit breakers, rate limiting, events
215
- **Performance optimized** - Runtime-specific adapters
210
+ **Same API everywhere** - Write once, deploy to any runtime
211
+ **No middleware dependencies** - Framework handles optimal ordering
212
+ **Full type safety** - Zod provides end-to-end TypeScript inference
213
+ **Clean APIs** - Chainable and schema-first approaches
214
+ **Production ready** - Circuit breakers, rate limiting, events
215
+ **Performance optimized** - Runtime-specific adapters
216
216
 
217
217
  ## Contributing
218
218
 
@@ -228,6 +228,6 @@ MIT © [Moro Framework Team](https://morojs.com)
228
228
 
229
229
  **Ready to deploy everywhere with one codebase?**
230
230
 
231
- [Get Started](./docs/GETTING_STARTED.md) • [GitHub](https://github.com/MoroJS/moro) • [npm](https://www.npmjs.com/package/@morojs/moro)
231
+ [Get Started](./docs/GETTING_STARTED.md) • [GitHub](https://github.com/Moro-JS/moro) • [npm](https://www.npmjs.com/package/@morojs/moro)
232
232
 
233
- </div>
233
+ </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morojs/moro",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "High-performance Node.js framework with intelligent routing, automatic middleware ordering, type-safe Zod validation, and functional architecture",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",