Skip to content

Commit b88b761

Browse files
committed
rewrote the AI processor
1 parent 9c9eeda commit b88b761

4 files changed

Lines changed: 23 additions & 432 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -12,59 +12,22 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [16.x, 18.x, 20.x]
15+
node-version: [18.x, 20.x]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
cache: 'npm'
2525

2626
- name: Install dependencies
2727
run: npm ci
2828

29-
- name: Run linter
30-
run: npm run lint
31-
3229
- name: Run tests
33-
run: npm run test:coverage
30+
run: npm test
3431

3532
- name: Build package
3633
run: npm run build
37-
38-
- name: Upload coverage to Codecov
39-
uses: codecov/codecov-action@v3
40-
with:
41-
file: ./coverage/lcov.info
42-
flags: unittests
43-
name: codecov-umbrella
44-
fail_ci_if_error: true
45-
46-
publish:
47-
needs: test
48-
runs-on: ubuntu-latest
49-
if: github.ref == 'refs/heads/main'
50-
51-
steps:
52-
- uses: actions/checkout@v3
53-
54-
- name: Use Node.js
55-
uses: actions/setup-node@v3
56-
with:
57-
node-version: '18.x'
58-
registry-url: 'https://registry.npmjs.org'
59-
cache: 'npm'
60-
61-
- name: Install dependencies
62-
run: npm ci
63-
64-
- name: Build package
65-
run: npm run build
66-
67-
- name: Publish to npm
68-
run: npm publish --access public
69-
env:
70-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# Advanced Dev Utils 🚀
1+
# DevTools Pro 🚀
22

3-
A comprehensive TypeScript utility library packed with advanced features including AI-powered processing, real-time streaming, intelligent caching, and much more. Built for modern developers who need powerful, production-ready utilities.
3+
A comprehensive TypeScript utility library packed with smart features, real-time streaming, intelligent caching, and much more. Built for modern developers who need powerful, production-ready utilities - **no API keys required!**
44

55
## ✨ Features
66

7-
### 🧠 AI-Powered Processing
8-
- **AIProcessor**: Sentiment analysis, text generation, and entity extraction
9-
- **Smart Caching**: AI-driven cache optimization with intelligent eviction
10-
- **Data Validation**: AI-enhanced validation with automatic error correction
7+
### 🧠 Smart Processing (No API Keys!)
8+
- **AIProcessor**: Local sentiment analysis, text classification, and entity extraction
9+
- **Smart Caching**: Intelligent cache optimization with adaptive eviction
10+
- **Data Validation**: Enhanced validation with automatic error correction
1111

1212
### ⚡ Real-Time Capabilities
1313
- **RealtimeStream**: WebSocket-based streaming with compression and encryption
1414
- **Performance Monitor**: Real-time performance tracking and bottleneck detection
1515
- **Advanced Logger**: Multi-output logging with anomaly detection
1616

1717
### 🔧 Comprehensive Utilities
18-
- **String Utils**: NLP-enhanced string manipulation
18+
- **String Utils**: Advanced string manipulation and analysis
1919
- **Array Utils**: Functional programming operations with statistical analysis
2020
- **Object Utils**: Deep object manipulation and validation
2121
- **Math Utils**: Advanced mathematical and statistical functions
@@ -30,10 +30,10 @@ A comprehensive TypeScript utility library packed with advanced features includi
3030
- **CryptoUtils**: Advanced encryption, hashing, and JWT management
3131
- **APIHelper**: Intelligent HTTP client with caching and retry logic
3232

33-
## 🚀 Installation
33+
## Installation
3434

3535
```bash
36-
npm install advanced-dev-utils
36+
npm install devtools-pro
3737
```
3838

3939
## 📖 Quick Start
@@ -47,18 +47,17 @@ import {
4747
CryptoUtils,
4848
StringUtils,
4949
AsyncQueue
50-
} from 'advanced-dev-utils';
50+
} from 'devtools-pro';
5151

52-
// Smart caching with AI optimization
52+
// Smart caching with intelligent optimization
5353
const cache = new SmartCache({
5454
maxSize: 1000,
5555
ttl: 300000,
5656
compression: true
5757
});
5858

59-
// AI-powered text processing
59+
// Local AI processing (no API key needed!)
6060
const aiProcessor = new AIProcessor({
61-
model: 'gpt-3.5-turbo',
6261
temperature: 0.7
6362
});
6463

@@ -70,10 +69,7 @@ const stream = new RealtimeStream({
7069
});
7170

7271
// Performance monitoring
73-
const monitor = new PerformanceMonitor({
74-
sampleRate: 1000,
75-
enableMemoryTracking: true
76-
});
72+
const monitor = new PerformanceMonitor();
7773

7874
// Async task processing
7975
const queue = new AsyncQueue({
@@ -352,7 +348,7 @@ MIT License - see [LICENSE](LICENSE) file for details.
352348

353349
## 📞 Support
354350

355-
- 📧 Email: support@advanced-dev-utils.com
351+
- 📧 Email: anipaleja@gmail.com
356352
- 💬 Discord: [Join our community](https://discord.gg/advanced-dev-utils)
357353
- 📚 Documentation: [docs.advanced-dev-utils.com](https://docs.advanced-dev-utils.com)
358354
- 🐛 Issues: [GitHub Issues](https://github.com/yourname/advanced-dev-utils/issues)

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "advanced-dev-utils",
2+
"name": "devtools-pro",
33
"version": "1.0.0",
4-
"description": "A comprehensive TypeScript utility library with AI-powered features, real-time streaming, intelligent caching, and advanced utilities for modern developers.",
4+
"description": "A comprehensive TypeScript utility library with smart features, real-time streaming, intelligent caching, and advanced utilities for modern developers.",
55
"main": "dist/index.js",
66
"module": "dist/index.esm.js",
77
"types": "dist/index.d.ts",
@@ -60,12 +60,12 @@
6060
"license": "MIT",
6161
"repository": {
6262
"type": "git",
63-
"url": "git+https://github.com/anishpaleja/advanced-dev-utils.git"
63+
"url": "git+https://github.com/anishpaleja/devtools-pro.git"
6464
},
6565
"bugs": {
66-
"url": "https://github.com/anishpaleja/advanced-dev-utils/issues"
66+
"url": "https://github.com/anishpaleja/devtools-pro/issues"
6767
},
68-
"homepage": "https://github.com/anishpaleja/advanced-dev-utils#readme",
68+
"homepage": "https://github.com/anishpaleja/devtools-pro#readme",
6969
"engines": {
7070
"node": ">=16.0.0"
7171
},

0 commit comments

Comments
 (0)