@titanpl/native 1.0.0

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 (3) hide show
  1. package/index.js +39 -0
  2. package/package.json +18 -0
  3. package/t.native.d.ts +2043 -0
package/index.js ADDED
@@ -0,0 +1,39 @@
1
+ // titan.js - Named exports for users who prefer imports over the global `t`
2
+
3
+ export const fetch = t.fetch;
4
+ export const log = t.log;
5
+ export const read = t.read;
6
+
7
+ // Authentication & Security
8
+ export const jwt = t.jwt;
9
+ export const password = t.password;
10
+
11
+ // Database
12
+ export const db = t.db;
13
+
14
+ // File System & Path
15
+ export const fs = t.fs;
16
+ export const path = t.path;
17
+
18
+ // Crypto & Buffer
19
+ export const crypto = t.crypto;
20
+ export const buffer = t.buffer;
21
+
22
+ // Storage & Sessions
23
+ export const ls = t.ls;
24
+ export const localStorage = t.localStorage;
25
+ export const session = t.session;
26
+ export const cookies = t.cookies;
27
+
28
+ // System
29
+ export const os = t.os;
30
+ export const net = t.net;
31
+ export const proc = t.proc;
32
+
33
+ // Utilities
34
+ export const time = t.time;
35
+ export const url = t.url;
36
+ export const response = t.response;
37
+ export const valid = t.valid;
38
+
39
+ export const defineAction = (handler) => handler;
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "@titanpl/native",
3
+ "version": "1.0.0",
4
+ "description": "Titan native utilities package",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "types": "./t.native.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./t.native.d.ts",
11
+ "default": "./index.js"
12
+ }
13
+ },
14
+ "dependencies": {
15
+ "@titanpl/core": "26.16.0",
16
+ "@titanpl/node": "26.16.0"
17
+ }
18
+ }