xypriss 2.2.3 → 2.2.4
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.
- package/README.md +30 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,7 +52,36 @@ npm install xypriss-security
|
|
|
52
52
|
|
|
53
53
|
## Quick Start
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
### 🚀 Recommended: Use XyPriss CLI for Instant Setup
|
|
56
|
+
|
|
57
|
+
The fastest way to get started with XyPriss is using our CLI tool:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Install the CLI globally
|
|
61
|
+
npm install -g xypriss-cli
|
|
62
|
+
|
|
63
|
+
# Create a new XyPriss project
|
|
64
|
+
xypcli init
|
|
65
|
+
|
|
66
|
+
# Follow the interactive prompts to configure your project
|
|
67
|
+
# Choose TypeScript/JavaScript, enable features like auth, file upload, etc.
|
|
68
|
+
|
|
69
|
+
# Start development server
|
|
70
|
+
cd your-project-name
|
|
71
|
+
npm run dev
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The CLI automatically generates a complete project structure with:
|
|
75
|
+
- ✅ Pre-configured TypeScript/JavaScript setup
|
|
76
|
+
- ✅ Authentication system (optional)
|
|
77
|
+
- ✅ File upload support (optional)
|
|
78
|
+
- ✅ Multi-server configuration (optional)
|
|
79
|
+
- ✅ All dependencies installed
|
|
80
|
+
- ✅ Ready-to-run development server
|
|
81
|
+
|
|
82
|
+
### Manual Setup
|
|
83
|
+
|
|
84
|
+
If you prefer manual setup, create a basic server with XyPriss:
|
|
56
85
|
|
|
57
86
|
```typescript
|
|
58
87
|
import { createServer } from "xypriss";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xypriss",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "XyPriss is a lightweight, TypeScript-first, open-source Node.js web framework crafted for developers seeking a familiar Express-like API without Express dependencies. It features built-in security middleware, a robust routing system, and performance optimizations to build scalable, secure web applications effortlessly. Join our community and contribute on GitHub!",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|