nwdb-sdk 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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 NUP WHITE Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,85 @@
1
+ # NW DB SDK
2
+
3
+ Official JavaScript/TypeScript SDK for [NW DB](https://nwdb.dev) — AI-native Database as a Service.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install nwdb-sdk
9
+ ```
10
+
11
+ ## Quick Start — Supabase-style client (recommended)
12
+
13
+ ```typescript
14
+ import { createClient } from 'nwdb-sdk';
15
+
16
+ const db = createClient('https://api.nwdb.dev', 'nwdb_your_api_key');
17
+
18
+ // SELECT with chainable filters — returns { data, error }
19
+ const { data, error } = await db
20
+ .from('leads')
21
+ .select('*')
22
+ .eq('status', 'hot')
23
+ .gte('score', 80)
24
+ .order('score', { ascending: false })
25
+ .limit(20);
26
+
27
+ // Single row
28
+ const { data: lead } = await db.from('leads').select('*').eq('id', leadId).single();
29
+
30
+ // INSERT
31
+ const { data: created } = await db.from('leads').insert({
32
+ name: 'Acme Inc', status: 'hot', score: 90,
33
+ });
34
+
35
+ // UPDATE (id-addressed)
36
+ await db.from('leads').update({ status: 'warm' }).eq('id', leadId);
37
+
38
+ // DELETE (id-addressed)
39
+ await db.from('leads').delete().eq('id', leadId);
40
+
41
+ // Raw SQL escape hatch
42
+ const { data: rows } = await db.rpc("SELECT * FROM leads WHERE score > 80");
43
+ ```
44
+
45
+ The query builder is **thenable** — `await` runs it directly, no `.exec()` needed.
46
+ Every call resolves to `{ data, error }` (Supabase-compatible shape).
47
+
48
+ ### Filter operators
49
+ `eq` `neq` `gt` `gte` `lt` `lte` `like` `ilike` — e.g. `.ilike('name', 'acme')`.
50
+
51
+ Filter values are sanitised against injection (`,` `(` `)` and control chars are
52
+ rejected). For arbitrary free-text predicates use `db.rpc(sql)`.
53
+
54
+ ## Legacy explicit-method client
55
+
56
+ The original `NWDB` class is still exported and supported:
57
+
58
+ ```typescript
59
+ import NWDB from 'nwdb-sdk';
60
+
61
+ const db = new NWDB({ apiKey: 'nwdb_...', apiUrl: 'https://api.nwdb.dev' });
62
+
63
+ await db.createTable('users', [
64
+ { name: 'name', type: 'string', required: true },
65
+ { name: 'email', type: 'string', required: true },
66
+ ]);
67
+ await db.createRecord('users', { name: 'Taro', email: 'taro@example.com' });
68
+
69
+ // Vector search
70
+ await db.createCollection('docs', 768);
71
+ await db.upsertVector('docs', { id: 'doc1', vector: [/* 768 numbers */], content: 'Hello' });
72
+ const hits = await db.searchVectors('docs', { query: 'greeting', top_k: 5 });
73
+
74
+ // AI Agents
75
+ await db.triggerAgent('cleansing', 'users');
76
+ ```
77
+
78
+ ## Get an API key
79
+
80
+ Sign up at [nwdb.dev](https://nwdb.dev) → create a workspace → copy the key from
81
+ **Settings → API Keys**. Plans: Hobby ¥1,000 / Pro ¥5,000 / Scale ¥20,000 (monthly).
82
+
83
+ ## License
84
+
85
+ MIT
@@ -0,0 +1,175 @@
1
+ /**
2
+ * NW DB — Official JavaScript / TypeScript SDK
3
+ *
4
+ * Two interfaces:
5
+ * 1. createClient(url, key) — Supabase-style chainable query builder (recommended)
6
+ * 2. new NWDB({ ... }) — explicit method client (legacy, still supported)
7
+ *
8
+ * Quickstart:
9
+ * import { createClient } from 'nwdb-sdk';
10
+ * const db = createClient('https://api.nwdb.dev', 'nwdb_xxx');
11
+ * const { data, error } = await db.from('leads').select('*').eq('status', 'hot').limit(20);
12
+ */
13
+ export interface NWDBConfig {
14
+ apiUrl?: string;
15
+ apiKey?: string;
16
+ token?: string;
17
+ workspaceId?: string;
18
+ }
19
+ export interface NWDBRecord {
20
+ id: string;
21
+ [key: string]: unknown;
22
+ }
23
+ export interface QueryResult {
24
+ rows: NWDBRecord[];
25
+ rowCount: number;
26
+ }
27
+ export interface VectorSearchResult {
28
+ id: string;
29
+ content?: string;
30
+ metadata?: Record<string, unknown>;
31
+ similarity: number;
32
+ }
33
+ export interface AgentRun {
34
+ id: string;
35
+ agent_type: string;
36
+ status: string;
37
+ records_processed: number;
38
+ errors: number;
39
+ }
40
+ /** Supabase-style result envelope. */
41
+ export interface Result<T> {
42
+ data: T | null;
43
+ error: {
44
+ message: string;
45
+ code?: string;
46
+ } | null;
47
+ count?: number;
48
+ }
49
+ interface Transport {
50
+ apiUrl: string;
51
+ headers: Record<string, string>;
52
+ }
53
+ /**
54
+ * Supabase-style query builder bound to one table.
55
+ * Thenable — `await` triggers the request.
56
+ */
57
+ declare class QueryBuilder<T = NWDBRecord> implements PromiseLike<Result<T[]>> {
58
+ private t;
59
+ private table;
60
+ private filters;
61
+ private _orderBy?;
62
+ private _order;
63
+ private _limit?;
64
+ private _offset?;
65
+ private _single;
66
+ private _columns?;
67
+ private mode;
68
+ private payload?;
69
+ constructor(t: Transport, table: string);
70
+ /** Column projection. NW DB returns all columns; projection is applied client-side. */
71
+ select(columns?: string): this;
72
+ insert(rows: Record<string, unknown> | Record<string, unknown>[]): this;
73
+ update(patch: Record<string, unknown>): this;
74
+ delete(): this;
75
+ private addFilter;
76
+ eq(c: string, v: unknown): this;
77
+ neq(c: string, v: unknown): this;
78
+ gt(c: string, v: unknown): this;
79
+ gte(c: string, v: unknown): this;
80
+ lt(c: string, v: unknown): this;
81
+ lte(c: string, v: unknown): this;
82
+ like(c: string, v: unknown): this;
83
+ ilike(c: string, v: unknown): this;
84
+ order(column: string, opts?: {
85
+ ascending?: boolean;
86
+ }): this;
87
+ limit(n: number): this;
88
+ range(from: number, to: number): this;
89
+ /** Return a single object instead of an array. */
90
+ single(): this;
91
+ private project;
92
+ private idFromFilters;
93
+ exec(): Promise<Result<T[]>>;
94
+ then<R1 = Result<T[]>, R2 = never>(onfulfilled?: ((v: Result<T[]>) => R1 | PromiseLike<R1>) | null, onrejected?: ((reason: unknown) => R2 | PromiseLike<R2>) | null): PromiseLike<R1 | R2>;
95
+ }
96
+ /** Supabase-style client. */
97
+ export interface NWDBClient {
98
+ from<T = NWDBRecord>(table: string): QueryBuilder<T>;
99
+ rpc(sql: string): Promise<Result<NWDBRecord[]>>;
100
+ raw: NWDB;
101
+ }
102
+ export declare function createClient(apiUrl: string, apiKey: string, opts?: {
103
+ workspaceId?: string;
104
+ }): NWDBClient;
105
+ export declare class NWDB {
106
+ private apiUrl;
107
+ private headers;
108
+ constructor(config?: NWDBConfig);
109
+ private request;
110
+ listTables(): Promise<{
111
+ tables: Array<{
112
+ name: string;
113
+ columns: unknown[];
114
+ }>;
115
+ }>;
116
+ createTable(name: string, columns: Array<{
117
+ name: string;
118
+ type: string;
119
+ required?: boolean;
120
+ }>): Promise<{
121
+ table: string;
122
+ }>;
123
+ deleteTable(name: string): Promise<{
124
+ success: boolean;
125
+ }>;
126
+ listRecords(table: string, options?: {
127
+ limit?: number;
128
+ offset?: number;
129
+ }): Promise<{
130
+ records: NWDBRecord[];
131
+ total: number;
132
+ }>;
133
+ getRecord(table: string, id: string): Promise<{
134
+ record: NWDBRecord;
135
+ }>;
136
+ createRecord(table: string, data: Record<string, unknown>): Promise<{
137
+ record: NWDBRecord;
138
+ }>;
139
+ updateRecord(table: string, id: string, data: Record<string, unknown>): Promise<{
140
+ record: NWDBRecord;
141
+ }>;
142
+ deleteRecord(table: string, id: string): Promise<{
143
+ success: boolean;
144
+ }>;
145
+ query(sql: string): Promise<QueryResult>;
146
+ listCollections(): Promise<{
147
+ collections: Array<{
148
+ name: string;
149
+ dimensions: number;
150
+ count: number;
151
+ }>;
152
+ }>;
153
+ createCollection(name: string, dimensions?: number): Promise<{
154
+ collection: string;
155
+ }>;
156
+ searchVectors(collection: string, options: {
157
+ vector?: number[];
158
+ query?: string;
159
+ top_k?: number;
160
+ }): Promise<{
161
+ results: VectorSearchResult[];
162
+ }>;
163
+ upsertVector(collection: string, data: {
164
+ id: string;
165
+ vector: number[];
166
+ content?: string;
167
+ metadata?: Record<string, unknown>;
168
+ }): Promise<{
169
+ success: boolean;
170
+ }>;
171
+ triggerAgent(agentType: 'cleansing' | 'normalization' | 'masking' | 'vectorization' | 'metadata', table: string): Promise<{
172
+ run: AgentRun;
173
+ }>;
174
+ }
175
+ export default NWDB;
package/dist/index.js ADDED
@@ -0,0 +1,287 @@
1
+ "use strict";
2
+ /**
3
+ * NW DB — Official JavaScript / TypeScript SDK
4
+ *
5
+ * Two interfaces:
6
+ * 1. createClient(url, key) — Supabase-style chainable query builder (recommended)
7
+ * 2. new NWDB({ ... }) — explicit method client (legacy, still supported)
8
+ *
9
+ * Quickstart:
10
+ * import { createClient } from 'nwdb-sdk';
11
+ * const db = createClient('https://api.nwdb.dev', 'nwdb_xxx');
12
+ * const { data, error } = await db.from('leads').select('*').eq('status', 'hot').limit(20);
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.NWDB = void 0;
16
+ exports.createClient = createClient;
17
+ const DEFAULT_API_URL = 'https://api.nwdb.dev';
18
+ /**
19
+ * The /records filter parser splits on `,` and matches `field.op(value)`.
20
+ * A value containing `,`, `(`, or `)` could inject extra filters (including
21
+ * tenant-boundary overrides), so we reject those characters defensively.
22
+ */
23
+ function safeFilterValue(v) {
24
+ if (v === null || v === undefined)
25
+ throw new Error('nwdb: filter value cannot be null/undefined');
26
+ const s = String(v);
27
+ if (s.length === 0)
28
+ throw new Error('nwdb: filter value cannot be empty');
29
+ if (s.length > 256)
30
+ throw new Error('nwdb: filter value too long');
31
+ if (/[,()\n\r\t\0]/.test(s)) {
32
+ throw new Error(`nwdb: filter value contains unsupported char: ${s.slice(0, 40)}`);
33
+ }
34
+ return s;
35
+ }
36
+ function safePathSegment(v) {
37
+ const s = String(v ?? '');
38
+ if (!/^[A-Za-z0-9._~-]+$/.test(s)) {
39
+ throw new Error(`nwdb: identifier contains unsupported char: ${s.slice(0, 40)}`);
40
+ }
41
+ return s;
42
+ }
43
+ async function rawRequest(t, path, options = {}) {
44
+ const res = await fetch(`${t.apiUrl}${path}`, {
45
+ ...options,
46
+ headers: { ...t.headers, ...(options.headers || {}) },
47
+ });
48
+ const text = await res.text();
49
+ if (!res.ok) {
50
+ let parsed = {};
51
+ try {
52
+ parsed = JSON.parse(text);
53
+ }
54
+ catch { /* keep empty */ }
55
+ const err = new Error(parsed.error || res.statusText);
56
+ err.code = parsed.code;
57
+ err.status = res.status;
58
+ throw err;
59
+ }
60
+ return (text ? JSON.parse(text) : {});
61
+ }
62
+ /**
63
+ * Supabase-style query builder bound to one table.
64
+ * Thenable — `await` triggers the request.
65
+ */
66
+ class QueryBuilder {
67
+ constructor(t, table) {
68
+ this.t = t;
69
+ this.table = table;
70
+ this.filters = [];
71
+ this._order = 'desc';
72
+ this._single = false;
73
+ this.mode = 'select';
74
+ safePathSegment(table);
75
+ }
76
+ /** Column projection. NW DB returns all columns; projection is applied client-side. */
77
+ select(columns = '*') {
78
+ this.mode = 'select';
79
+ this._columns = columns === '*' ? undefined : columns.split(',').map((c) => c.trim());
80
+ return this;
81
+ }
82
+ insert(rows) {
83
+ this.mode = 'insert';
84
+ this.payload = rows;
85
+ return this;
86
+ }
87
+ update(patch) {
88
+ this.mode = 'update';
89
+ this.payload = patch;
90
+ return this;
91
+ }
92
+ delete() {
93
+ this.mode = 'delete';
94
+ return this;
95
+ }
96
+ addFilter(op, column, value) {
97
+ this.filters.push(`${safePathSegment(column)}.${op}(${safeFilterValue(value)})`);
98
+ return this;
99
+ }
100
+ eq(c, v) { return this.addFilter('eq', c, v); }
101
+ neq(c, v) { return this.addFilter('neq', c, v); }
102
+ gt(c, v) { return this.addFilter('gt', c, v); }
103
+ gte(c, v) { return this.addFilter('gte', c, v); }
104
+ lt(c, v) { return this.addFilter('lt', c, v); }
105
+ lte(c, v) { return this.addFilter('lte', c, v); }
106
+ like(c, v) { return this.addFilter('like', c, v); }
107
+ ilike(c, v) { return this.addFilter('ilike', c, v); }
108
+ order(column, opts = {}) {
109
+ this._orderBy = safePathSegment(column);
110
+ this._order = opts.ascending ? 'asc' : 'desc';
111
+ return this;
112
+ }
113
+ limit(n) { this._limit = n; return this; }
114
+ range(from, to) {
115
+ this._offset = from;
116
+ this._limit = to - from + 1;
117
+ return this;
118
+ }
119
+ /** Return a single object instead of an array. */
120
+ single() { this._single = true; return this; }
121
+ project(rows) {
122
+ if (!this._columns)
123
+ return rows;
124
+ return rows.map((r) => {
125
+ const o = { id: r.id };
126
+ for (const c of this._columns)
127
+ o[c] = r[c];
128
+ return o;
129
+ });
130
+ }
131
+ idFromFilters() {
132
+ for (const f of this.filters) {
133
+ const m = f.match(/^id\.eq\((.+)\)$/);
134
+ if (m)
135
+ return m[1];
136
+ }
137
+ return null;
138
+ }
139
+ async exec() {
140
+ try {
141
+ if (this.mode === 'insert') {
142
+ const r = await rawRequest(this.t, `/api/v1/records/${this.table}/records`, { method: 'POST', body: JSON.stringify(this.payload) });
143
+ const data = (r.records ?? (r.record ? [r.record] : []));
144
+ return { data, error: null };
145
+ }
146
+ if (this.mode === 'update') {
147
+ const id = this.idFromFilters();
148
+ if (!id)
149
+ throw new Error('nwdb: update requires .eq("id", <uuid>)');
150
+ const r = await rawRequest(this.t, `/api/v1/records/${this.table}/records/${safePathSegment(id)}`, { method: 'PUT', body: JSON.stringify(this.payload) });
151
+ return { data: [r.record], error: null };
152
+ }
153
+ if (this.mode === 'delete') {
154
+ const id = this.idFromFilters();
155
+ if (!id)
156
+ throw new Error('nwdb: delete requires .eq("id", <uuid>)');
157
+ await rawRequest(this.t, `/api/v1/records/${this.table}/records/${safePathSegment(id)}`, { method: 'DELETE' });
158
+ return { data: [], error: null };
159
+ }
160
+ // select
161
+ const q = new URLSearchParams();
162
+ if (this.filters.length)
163
+ q.set('filter', this.filters.join(','));
164
+ q.set('limit', String(this._limit ?? 100));
165
+ if (this._offset)
166
+ q.set('offset', String(this._offset));
167
+ if (this._orderBy) {
168
+ q.set('orderBy', this._orderBy);
169
+ q.set('order', this._order);
170
+ }
171
+ const r = await rawRequest(this.t, `/api/v1/records/${this.table}/records?${q.toString()}`);
172
+ const rows = this.project(r.records ?? []);
173
+ const data = (this._single ? (rows[0] ?? null) : rows);
174
+ return { data, error: null, count: r.total };
175
+ }
176
+ catch (e) {
177
+ const err = e;
178
+ return { data: null, error: { message: err.message, code: err.code } };
179
+ }
180
+ }
181
+ // Thenable: `await db.from(...).select()...` works without an explicit `.exec()`
182
+ then(onfulfilled, onrejected) {
183
+ return this.exec().then(onfulfilled, onrejected);
184
+ }
185
+ }
186
+ function createClient(apiUrl, apiKey, opts = {}) {
187
+ const transport = {
188
+ apiUrl: (apiUrl || DEFAULT_API_URL).replace(/\/$/, ''),
189
+ headers: {
190
+ 'Content-Type': 'application/json',
191
+ 'X-API-Key': apiKey,
192
+ ...(opts.workspaceId ? { 'X-Workspace-ID': opts.workspaceId } : {}),
193
+ },
194
+ };
195
+ const raw = new NWDB({ apiUrl: transport.apiUrl, apiKey, workspaceId: opts.workspaceId });
196
+ return {
197
+ from(table) {
198
+ return new QueryBuilder(transport, table);
199
+ },
200
+ async rpc(sql) {
201
+ try {
202
+ const r = await rawRequest(transport, '/api/v1/query', { method: 'POST', body: JSON.stringify({ sql }) });
203
+ return { data: r.records ?? r.rows ?? [], error: null };
204
+ }
205
+ catch (e) {
206
+ const err = e;
207
+ return { data: null, error: { message: err.message, code: err.code } };
208
+ }
209
+ },
210
+ raw,
211
+ };
212
+ }
213
+ // ─────────────────────────────────────────────────────────────────────────
214
+ // Legacy explicit-method client (kept for backward compatibility)
215
+ // ─────────────────────────────────────────────────────────────────────────
216
+ class NWDB {
217
+ constructor(config = {}) {
218
+ this.apiUrl = (config.apiUrl || DEFAULT_API_URL).replace(/\/$/, '') + '/api/v1';
219
+ this.headers = {
220
+ 'Content-Type': 'application/json',
221
+ ...(config.apiKey ? { 'X-API-Key': config.apiKey } : {}),
222
+ ...(config.token ? { 'Authorization': `Bearer ${config.token}` } : {}),
223
+ ...(config.workspaceId ? { 'X-Workspace-ID': config.workspaceId } : {}),
224
+ };
225
+ }
226
+ async request(path, options = {}) {
227
+ const res = await fetch(`${this.apiUrl}${path}`, {
228
+ ...options,
229
+ headers: { ...this.headers, ...(options.headers || {}) },
230
+ });
231
+ if (!res.ok) {
232
+ const err = await res.json().catch(() => ({ error: res.statusText }));
233
+ throw new Error(err.error || res.statusText);
234
+ }
235
+ return res.json();
236
+ }
237
+ listTables() {
238
+ return this.request('/tables');
239
+ }
240
+ createTable(name, columns) {
241
+ return this.request('/tables', { method: 'POST', body: JSON.stringify({ name, columns }) });
242
+ }
243
+ deleteTable(name) {
244
+ return this.request(`/tables/${name}`, { method: 'DELETE' });
245
+ }
246
+ listRecords(table, options) {
247
+ const params = new URLSearchParams();
248
+ if (options?.limit)
249
+ params.set('limit', String(options.limit));
250
+ if (options?.offset)
251
+ params.set('offset', String(options.offset));
252
+ const qs = params.toString();
253
+ return this.request(`/records/${table}/records${qs ? '?' + qs : ''}`);
254
+ }
255
+ getRecord(table, id) {
256
+ return this.request(`/records/${table}/records/${id}`);
257
+ }
258
+ createRecord(table, data) {
259
+ return this.request(`/records/${table}/records`, { method: 'POST', body: JSON.stringify(data) });
260
+ }
261
+ updateRecord(table, id, data) {
262
+ return this.request(`/records/${table}/records/${id}`, { method: 'PUT', body: JSON.stringify(data) });
263
+ }
264
+ deleteRecord(table, id) {
265
+ return this.request(`/records/${table}/records/${id}`, { method: 'DELETE' });
266
+ }
267
+ query(sql) {
268
+ return this.request('/query', { method: 'POST', body: JSON.stringify({ sql }) });
269
+ }
270
+ listCollections() {
271
+ return this.request('/vectors/collections');
272
+ }
273
+ createCollection(name, dimensions = 768) {
274
+ return this.request('/vectors/collections', { method: 'POST', body: JSON.stringify({ name, dimensions }) });
275
+ }
276
+ searchVectors(collection, options) {
277
+ return this.request(`/vectors/collections/${collection}/search`, { method: 'POST', body: JSON.stringify(options) });
278
+ }
279
+ upsertVector(collection, data) {
280
+ return this.request(`/vectors/collections/${collection}/upsert`, { method: 'POST', body: JSON.stringify(data) });
281
+ }
282
+ triggerAgent(agentType, table) {
283
+ return this.request(`/agents/run/${agentType}`, { method: 'POST', body: JSON.stringify({ table }) });
284
+ }
285
+ }
286
+ exports.NWDB = NWDB;
287
+ exports.default = NWDB;
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "nwdb-sdk",
3
+ "version": "1.0.0",
4
+ "description": "Official JavaScript/TypeScript SDK for NW DB - AI-native Database as a Service",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist",
9
+ "README.md",
10
+ "LICENSE"
11
+ ],
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "prepublishOnly": "npm run build"
15
+ },
16
+ "keywords": ["database", "AI", "MCP", "vector-search", "DBaaS", "nwdb", "postgres"],
17
+ "author": "NUP WHITE Inc. <nupwhite@nupwhite.com>",
18
+ "license": "MIT",
19
+ "homepage": "https://nwdb.dev",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/nup-cloud/nw-db.git",
23
+ "directory": "sdk/javascript"
24
+ },
25
+ "bugs": {
26
+ "url": "https://github.com/nup-cloud/nw-db/issues"
27
+ },
28
+ "devDependencies": {
29
+ "typescript": "^5.5.0"
30
+ }
31
+ }