Automated Action 545563e776 Implement comprehensive real-time chat API with NestJS
- Complete NestJS TypeScript implementation with WebSocket support
- Direct messaging (DM) and group chat functionality
- End-to-end encryption with AES encryption and key pairs
- Media file support (images, videos, audio, documents) up to 100MB
- Push notifications with Firebase Cloud Messaging integration
- Mention alerts and real-time typing indicators
- User authentication with JWT and Passport
- SQLite database with TypeORM entities and relationships
- Comprehensive API documentation with Swagger/OpenAPI
- File upload handling with secure access control
- Online/offline status tracking and presence management
- Message editing, deletion, and reply functionality
- Notification management with automatic cleanup
- Health check endpoint for monitoring
- CORS configuration for cross-origin requests
- Environment-based configuration management
- Structured for Flutter SDK integration

Features implemented:
 Real-time messaging with Socket.IO
 User registration and authentication
 Direct messages and group chats
 Media file uploads and management
 End-to-end encryption
 Push notifications
 Mention alerts
 Typing indicators
 Message read receipts
 Online status tracking
 File access control
 Comprehensive API documentation

Ready for Flutter SDK development and production deployment.
2025-06-21 17:13:05 +00:00

93 lines
2.4 KiB
JSON

{
"name": "strtok3",
"version": "10.3.1",
"description": "A promise based streaming tokenizer",
"author": {
"name": "Borewit",
"url": "https://github.com/Borewit"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Borewit"
},
"scripts": {
"clean": "del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'test/**/*.js' 'test/**/*.js.map'",
"compile-src": "tsc -p lib",
"compile-test": "tsc -p test",
"compile": "yarn run compile-src && yarn run compile-test",
"build": "yarn run clean && yarn run compile",
"eslint": "eslint lib test",
"lint:md": "remark -u preset-lint-recommended .",
"lint:ts": "biome check",
"lint": "yarn run lint:md && yarn run lint:ts",
"fix": "yarn run biome lint --write",
"test": "mocha",
"bun:test": "bun run --bun test",
"test-coverage": "c8 yarn run test",
"send-codacy": "c8 report --reporter=text-lcov | codacy-coverage",
"start": "yarn run compile && yarn run lint && yarn run cover-test"
},
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "https://github.com/Borewit/strtok3.git"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"node": "./lib/index.js",
"default": "./lib/core.js"
},
"./core": "./lib/core.js"
},
"types": "lib/index.d.ts",
"files": [
"lib/**/*.js",
"lib/**/*.d.ts"
],
"bugs": {
"url": "https://github.com/Borewit/strtok3/issues"
},
"dependencies": {
"@tokenizer/token": "^0.3.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/chai": "^5.2.2",
"@types/chai-as-promised": "^8.0.2",
"@types/debug": "^4.1.12",
"@types/mocha": "^10.0.10",
"@types/node": "^22.15.21",
"c8": "^10.1.3",
"chai": "^5.2.0",
"chai-as-promised": "^8.0.1",
"del-cli": "^6.0.0",
"mocha": "^11.5.0",
"node-readable-to-web-readable-stream": "^0.4.2",
"remark-cli": "^12.0.1",
"remark-preset-lint-recommended": "^7.0.1",
"token-types": "^6.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"uint8array-extras": "^1.4.0"
},
"keywords": [
"tokenizer",
"reader",
"token",
"async",
"promise",
"parser",
"decoder",
"binary",
"endian",
"uint",
"stream",
"streaming"
],
"packageManager": "yarn@4.9.1"
}