isite 2026.4.4 → 2026.6.1
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/AGENTS.md +72 -0
- package/README.md +5 -0
- package/apps/client-side/site_files/js/angular.min.js +1 -1
- package/desktop.ini +2 -0
- package/docs/agent-guide.md +51 -0
- package/docs/ai-context.md +130 -0
- package/docs/api-map.json +288 -0
- package/docs/examples-for-ai.md +186 -0
- package/docs/index.html +1009 -0
- package/docs/llms.txt +39 -0
- package/docs/script.js +86 -0
- package/docs/style.css +445 -0
- package/isite_files/js/angular.js +1 -1
- package/lib/eval.js +50 -44
- package/llms.txt +40 -0
- package/package.json +1 -1
package/llms.txt
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# isite
|
|
2
|
+
|
|
3
|
+
isite is a CommonJS Node.js web framework for building multi-language websites with automatic routing, server-side site file parsing, sessions, cookies, permissions, MongoDB helpers, uploads/downloads, WebSocket support, custom apps, and utility functions.
|
|
4
|
+
|
|
5
|
+
## Main documentation
|
|
6
|
+
|
|
7
|
+
- Documentation site: ./docs/index.html
|
|
8
|
+
- AI context: ./docs/ai-context.md
|
|
9
|
+
- API map: ./docs/api-map.json
|
|
10
|
+
- AI examples: ./docs/examples-for-ai.md
|
|
11
|
+
- Agent guide: ./AGENTS.md
|
|
12
|
+
- Package entry point: ./index.js
|
|
13
|
+
- README: ./README.md
|
|
14
|
+
|
|
15
|
+
## Main source areas
|
|
16
|
+
|
|
17
|
+
- Routing and request/response helpers: ./lib/routing.js
|
|
18
|
+
- File helpers: ./lib/fsm.js
|
|
19
|
+
- MongoDB wrapper: ./lib/mongodb.js
|
|
20
|
+
- Collection wrapper: ./lib/collection.js
|
|
21
|
+
- Security: ./lib/security.js
|
|
22
|
+
- Sessions: ./lib/sessions.js
|
|
23
|
+
- WebSocket: ./lib/ws.js and ./lib/wsClient.js
|
|
24
|
+
- Server-side parser: ./lib/parser.js
|
|
25
|
+
- Custom apps: ./lib/app.js
|
|
26
|
+
- General utilities: ./object-options/lib/fn.js
|
|
27
|
+
- Events: ./object-options/lib/event.js
|
|
28
|
+
|
|
29
|
+
## Canonical startup example
|
|
30
|
+
|
|
31
|
+
```js
|
|
32
|
+
var isite = require('isite');
|
|
33
|
+
var site = isite({ port: 8080 });
|
|
34
|
+
|
|
35
|
+
site.loadLocalApp('client-side');
|
|
36
|
+
site.loadLocalApp('security');
|
|
37
|
+
|
|
38
|
+
site.run();
|
|
39
|
+
```
|
|
40
|
+
|