{"_id":"@supabase/sql-to-rest","_rev":"26-3f135bfef240db9b97652a726d53e857","name":"@supabase/sql-to-rest","dist-tags":{"latest":"0.1.8"},"versions":{"0.0.1":{"name":"@supabase/sql-to-rest","version":"0.0.1","license":"MIT","_id":"@supabase/sql-to-rest@0.0.1","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"dist":{"shasum":"60dfd8817f8359fca4c5a498e3ebd047e4f7b138","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.0.1.tgz","fileCount":16,"integrity":"sha512-JK8ycNYTs73m3DMt/xo/qm2Cvh9VEMvhasMKXvSlsq5NyjWhFXHyHmCIy5dKipe0e5bzBhnRrKGeCJ+KpJ43/w==","signatures":[{"sig":"MEQCIFF+0jaVJ7XovRhzLR6sVfm8Za5vtWeIn1NYnSkgBV47AiBjNLvFxnIMSk+y7UC/EGgUzkhkS2rvXFySogH8VH5nZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":348832},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"db607057af1fb35048ccdb3e1bc00213fe5f87d1","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"_npmVersion":"9.7.2","description":"TypeScript library that translates SQL queries to the equivalent [PostgREST](https://github.com/PostgREST/postgrest)-compitable HTTP requests and client library code. Works on both browser and server.","directories":{},"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.0.1_1715968988252_0.8169354687551553","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@supabase/sql-to-rest","version":"0.0.2","license":"MIT","_id":"@supabase/sql-to-rest@0.0.2","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"dist":{"shasum":"74c1f11ecf6c234a1bd1abdc5455e486c7c2e684","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.0.2.tgz","fileCount":30,"integrity":"sha512-SiFqPTHoa3w1u0tpa8ebKhAKxzxAOvJ44wFlg/F1wmpDyRBNBlFEarK4+L/tWgvmwxb2Vk28y7a8C/D+R2d5IQ==","signatures":[{"sig":"MEYCIQDOu6/qNepQ4UsaaRwPVTxtFdswpFZclFlyvJkdkjA9qgIhAOslQQekgG5unuLH2oGlvjXUIhciF1/JzIDd2uyQ6wpO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":127076},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"db607057af1fb35048ccdb3e1bc00213fe5f87d1","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"_npmVersion":"9.7.2","description":"TypeScript library that translates SQL queries to the equivalent [PostgREST](https://github.com/PostgREST/postgrest)-compitable HTTP requests and client library code. Works on both browser and server.","directories":{},"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.0.2_1715969630145_0.1402365242413568","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@supabase/sql-to-rest","version":"0.0.3","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.0.3","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"f3e13f826460887f5a99243ebcc549839f05c6dd","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.0.3.tgz","fileCount":30,"integrity":"sha512-QJo6ZU4gnJ3hd6gMEx5FOtnMSOKVhjCuvEFAEsf7osvCLzLik3XLCr27tnuj79WVcTO/N4WHDKXO7ekCZT/x/A==","signatures":[{"sig":"MEUCIF0Ez6Y9oJlssiX0ffNOhapC1yU4ha5ubs6DlNLIjkwdAiEA2vXmkKLNPlBRMzVyJRjh6LT3vzLaG1R3ho5YIHVjBhQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":127457},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"db607057af1fb35048ccdb3e1bc00213fe5f87d1","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"TypeScript library that translates SQL queries to the equivalent [PostgREST](https://github.com/PostgREST/postgrest)-compitable HTTP requests and client library code. Works on both browser and server.","directories":{},"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.0.3_1715970092166_0.40296172822703125","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@supabase/sql-to-rest","version":"0.0.4","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.0.4","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"f6c0da0cf4f02e20d57276ccff2d5a8b01dcbdbd","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.0.4.tgz","fileCount":8,"integrity":"sha512-H9z2uq9/UmGb8eiuwwqDooNUHPjnErjietNLrBaL9hSN1kThtLFLFKsnTSxRqmtNCvvpRim3kFKWpBB5m1ldYQ==","signatures":[{"sig":"MEYCIQCb3d1D2QdDTpeeCbuYYNbbg9hsu6utTP2QRBdRcf7aMgIhAO0h9Rtx5Fitu/CICSxJYsDmsY68rmV/1qCYxwKKeHpC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":285217},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"db607057af1fb35048ccdb3e1bc00213fe5f87d1","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"TypeScript library that translates SQL queries to the equivalent [PostgREST](https://github.com/PostgREST/postgrest)-compitable HTTP requests and client library code. Works on both browser and server.","directories":{},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.0.4_1715971222277_0.16543468737343958","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@supabase/sql-to-rest","version":"0.0.5","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.0.5","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"e1085a51e13866a49d16387ef64698c74ac5899c","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.0.5.tgz","fileCount":8,"integrity":"sha512-2UU8CGVRRidnO/Vyu2Di8GO9CmB459oJerRflx64N7OsKH/DBjetDeM2fLqa4q50FXN2yrZJ38mOet2dAH7nRA==","signatures":[{"sig":"MEUCIFEiNJhY0Pd7BqbK5LPb2mrGxHchqEKSMiCV4r4J7t40AiEArezoxxSheUedHeY5Uz8XMNcAVB5UMWDXmlT/1gAaVzQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":285337},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"8e92d49bd91d8935e4df160829a586a82bd39897","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"TypeScript library that translates SQL queries to the equivalent [PostgREST](https://github.com/PostgREST/postgrest)-compitable HTTP requests and client library code. Works on both browser and server.","directories":{},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.0.5_1715971677919_0.15365603794598792","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@supabase/sql-to-rest","version":"0.1.0","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.1.0","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"ad48987d8a091749211b91a95dbefd42e5f80883","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.1.0.tgz","fileCount":9,"integrity":"sha512-H07wMw4//XvFmRtEPH+dEGc01a0xvADLmxbSENeYTJuOQi+xJFFuf2DTF2qSzyxMbCviF5wwttTIXGKkUw6CyQ==","signatures":[{"sig":"MEUCIQD0mXViVwT1My7522yS5kEPYOnQw0iQDC4afNzGaI0cIwIgGQfQFAuHAY9Tobb+mnJxo2pdFlhrA6niA280cxQ/dRs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":286532},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"e9b3070f48a5775be06b0de5b154dce60dbc5933","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"[![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www.npmjs.com/package/@supabase/sql-to-rest) [![License: MIT](https://img.shields.io/npm/l/@supabase/sql-to-rest)](#license)","directories":{},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.1.0_1715972211003_0.5925418625127248","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@supabase/sql-to-rest","version":"0.1.1","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.1.1","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"7ae29793f5cfe4c26c2645d1198d2189dad4c912","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.1.1.tgz","fileCount":9,"integrity":"sha512-HalcaXuxi/byJuaBMopQE8MtfpwTu8lkGfviq7OisrAS8FwRZHn0zmR3nqiL7RLtsYNDFHnAT01U4T4q8jwu8A==","signatures":[{"sig":"MEYCIQCEIOyoaWaIWHWkhaxph7BGDnbZ/wiYtqJbd1uxm509+QIhAKaTqxAU7IH7oggnnFyBTlbzc5oy6qX9wofKG58Z6QOw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":295560},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"eaeb69afdea2fd7aab21b1acba09f46b0aa0fc86","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"[![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www.npmjs.com/package/@supabase/sql-to-rest) [![License: MIT](https://img.shields.io/npm/l/@supabase/sql-to-rest)](#license)","directories":{},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.1.1_1715979606055_0.5857127038004575","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@supabase/sql-to-rest","version":"0.1.2","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.1.2","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"a002e5f3047beae34d8bbfcadd6e714700481de6","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.1.2.tgz","fileCount":9,"integrity":"sha512-QiNJri/VoYbQ/2VgWRMGEDrAQ8mHL2+8JudXZE/6gcuO5ftRkxQYn2ZhsAqdcE8RvZh+hQKoE/xK13t1O0J++w==","signatures":[{"sig":"MEYCIQDkKd9VFOVUqGPN74+lK/FLsyHshm7uBGe7NruYg3X01gIhAKBecAhzlCn74kDUKRSTpnjjbldMAG1YkZaQ6z8z9QUM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":295910},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"5bb2ea62c694b901aadc7d378070e8454e3089ba","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"[![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www.npmjs.com/package/@supabase/sql-to-rest) [![License: MIT](https://img.shields.io/npm/l/@supabase/sql-to-rest)](#license)","directories":{},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.1.2_1715985765145_0.6436177414036146","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@supabase/sql-to-rest","version":"0.1.3","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.1.3","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"c7b6401f9e3ec701eb87106379891748d1d1534b","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.1.3.tgz","fileCount":9,"integrity":"sha512-WXaYrn/KxEhGECXIm4sL3fjF8Xs16wvAPqwwHNJQ7scmhgqe1bhTneFgqfrRsps6yKnkNQFUHjTmP0IOgeAyjA==","signatures":[{"sig":"MEUCIQDjW7ERH9qXyIx4kDNvRRjhKrNZxGHwPtUJXjURH04WOQIgL5ejjmEal5/DeoIb6wumdDVJTKlz7Fx8aA7XQ3/tppo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":317097},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"f6e0618312ee84d824ddcb6eb51256901b5f94ef","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"[![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www.npmjs.com/package/@supabase/sql-to-rest) [![License: MIT](https://img.shields.io/npm/l/@supabase/sql-to-rest)](#license)","directories":{},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.1.3_1716237543018_0.12269170551177222","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@supabase/sql-to-rest","version":"0.1.4","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.1.4","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"00eb4c2c318a5d068d9f1c4eb903f0d7e2116981","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.1.4.tgz","fileCount":9,"integrity":"sha512-CZmkvybmPuk3ggtIE+wITfaLEJKWi8H0z/ktS5tm/R9N+Q+YjsBykNs6WMjLxZsc4VNIJnZE5Fi2dLElXyRnDw==","signatures":[{"sig":"MEYCIQCzTYAvY1gmMdOr9P2fQlHjHkbOIIChUoSHs/UyXQfM2AIhAPINfGgTcw0K//YsgMHVWpE1Hx0+ZrwnWF9SCIK0DwBU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":323138},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"aa9b6441d731c3ca7a6b4c1e7c26cad098e20b81","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"[![Tests](https://github.com/supabase-community/sql-to-rest/actions/workflows/tests.yml/badge.svg)](https://github.com/supabase-community/sql-to-rest/actions?query=branch%3Amain) [![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www","directories":{},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.1.4_1716256934693_0.9452692163956415","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@supabase/sql-to-rest","version":"0.1.5","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.1.5","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"434b283fc73091838d4f66c96d5378a010d50149","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.1.5.tgz","fileCount":9,"integrity":"sha512-gd+HavtjO0YqynqCCtOMEZzReYrDY+0c2kZplAipLaiQGxMGh7VwkIua47zTK+VH8uEt9SyzwO4zMcfapN3chA==","signatures":[{"sig":"MEYCIQD7OcZQhUd8PSwP12iX3zfsjCD69IMF7zk5662OZvWn2AIhAPoxXbsHupBaBujXhntol7idtT47OTYmNXyugvRurAxd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":323632},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"547502e16b8cb771612196e058fef05f717b55f3","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"[![Tests](https://github.com/supabase-community/sql-to-rest/actions/workflows/tests.yml/badge.svg)](https://github.com/supabase-community/sql-to-rest/actions?query=branch%3Amain) [![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www","directories":{},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.1.5_1717603167971_0.8169584176797382","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@supabase/sql-to-rest","version":"0.1.6","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.1.6","maintainers":[{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"08d4dacd5278f67aaa9653f5f7c915e3e9a834af","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.1.6.tgz","fileCount":9,"integrity":"sha512-06KgjeINtc6405XQvfnchBE1azEsU8G2NElfadmvVHKmHa5l2bFzjbtFbpaYgpgTzccHlcDmBaCgedVf2Gyl8Q==","signatures":[{"sig":"MEUCIALDOLm0BiOnM3iS7++3ZtKM2MamNu4zranrCkLEC062AiEAiJ80urMIqveKqcllnkOZIbW48EQyJMxno0IxBOfOleo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":326054},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"26152f582045f73578d8956ec520ce5f6c24100e","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"9.7.2","description":"[![Tests](https://github.com/supabase-community/sql-to-rest/actions/workflows/tests.yml/badge.svg)](https://github.com/supabase-community/sql-to-rest/actions?query=branch%3Amain) [![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www","directories":{},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"prettier":"^3.2.5","libpg-query":"^15.1.0","@babel/parser":"^7.24.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.4.3","@babel/core":"^7.23.6","common-tags":"^1.8.2","@jest/globals":"^29.7.0","sql-formatter":"^15.0.2","@babel/preset-env":"^7.23.6","@types/common-tags":"^1.8.4","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.1.6_1717703053995_0.07164050007347122","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@supabase/sql-to-rest","version":"0.1.7","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.1.7","maintainers":[{"name":"etienne_supa","email":"etienne@supabase.io"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"ziinc_supabase","email":"tzeyiing@supabase.com"},{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"lakshan-supabase","email":"lakshan@supabase.io"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"ceeteelam","email":"charisxl@gmail.com"},{"name":"kevin-supabase","email":"kevin@supabase.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"32f9ebf375072749269ddfb7dc366a2450fc9d97","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.1.7.tgz","fileCount":9,"integrity":"sha512-46Z13LSmx9ycP1DPQXV4PPLoECXzZbb5v9IxQ51a4XfaM7xdbxQ2It9cq0MjqAhrteFLi6sJXUojURKO6Pk79g==","signatures":[{"sig":"MEUCIFCSZJM7rFciYYaXlhkoRe4TFUN4KGIaYLwiLc9Oqn7/AiEAvpfrnJg4c+XwFgSu7G5TcC3XiXZtJvW/r4ie8iEEvGs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":363213},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js"}},"gitHead":"c0b435e0b311634785e7d60f023df3cf789d500e","scripts":{"test":"vitest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"10.8.3","description":"[![Tests](https://github.com/supabase-community/sql-to-rest/actions/workflows/tests.yml/badge.svg)](https://github.com/supabase-community/sql-to-rest/actions?query=branch%3Amain) [![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www","directories":{},"sideEffects":false,"_nodeVersion":"22.9.0","dependencies":{"prettier":"^3.2.5","@babel/parser":"^7.24.5","@supabase/pg-parser":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"^3.2.0","typescript":"^5.4.3","common-tags":"^1.8.2","sql-formatter":"^15.0.2","@types/common-tags":"^1.8.4","@total-typescript/tsconfig":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.1.7_1748987976216_0.47318754233581806","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@supabase/sql-to-rest","version":"0.1.8","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"license":"MIT","_id":"@supabase/sql-to-rest@0.1.8","maintainers":[{"name":"etienne_supa","email":"etienne@supabase.io"},{"name":"kiwicopple","email":"pcopplestone@gmail.com"},{"name":"ange1ico","email":"angelico.delosreyes@gmail.com"},{"name":"awalias","email":"antwilson@hotmail.co.uk"},{"name":"gregnr","email":"greg.nmr@gmail.com"},{"name":"phamhieu1998","email":"phamhieu1998@gmail.com"},{"name":"inian","email":"inian1234@gmail.com"},{"name":"stdim","email":"sdimitrovski@gmail.com"},{"name":"ziinc_supabase","email":"tzeyiing@supabase.com"},{"name":"kamilogorek","email":"kamil.ogorek@gmail.com"},{"name":"lakshan-supabase","email":"lakshan@supabase.io"},{"name":"soedirgo","email":"bobbie@soedirgo.dev"},{"name":"ceeteelam","email":"charisxl@gmail.com"},{"name":"kevin-supabase","email":"kevin@supabase.com"}],"homepage":"https://github.com/supabase-community/sql-to-rest#readme","bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"dist":{"shasum":"3a64521d3fd650634f3da1a4c292c552e4c21b55","tarball":"https://registry.npmjs.org/@supabase/sql-to-rest/-/sql-to-rest-0.1.8.tgz","fileCount":9,"integrity":"sha512-v9Xl5I9qz8SEiK0jVm7v910fwpvAG6rxP/WB7V7agDWGfWZFUsGHCcGV0f6av8l51RghNo4rkRwhGxWKHuLnJg==","signatures":[{"sig":"MEQCID+N/S+Pxg7GZG4nPiF+R3hpYZyXNjEQRAP/3MekpMipAiACQEdtL0jEgCpu+cR/6uzDlxySjnALoMsL86nCSF7acA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":363214},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"gitHead":"a087bf5cec047825d6e04fa423008d5804535823","scripts":{"test":"vitest","build":"tsup --clean","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"gregnr","email":"greg.nmr@gmail.com"},"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"_npmVersion":"10.8.3","description":"[![Tests](https://github.com/supabase-community/sql-to-rest/actions/workflows/tests.yml/badge.svg)](https://github.com/supabase-community/sql-to-rest/actions?query=branch%3Amain) [![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www","directories":{},"sideEffects":false,"_nodeVersion":"22.9.0","dependencies":{"prettier":"^3.2.5","@babel/parser":"^7.24.5","@supabase/pg-parser":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"^3.2.0","typescript":"^5.4.3","common-tags":"^1.8.2","sql-formatter":"^15.0.2","@types/common-tags":"^1.8.4","@total-typescript/tsconfig":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/sql-to-rest_0.1.8_1748988616831_0.19125826346276242","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2024-05-17T18:03:08.155Z","modified":"2026-06-03T07:36:25.329Z","0.0.1":"2024-05-17T18:03:08.480Z","0.0.2":"2024-05-17T18:13:50.343Z","0.0.3":"2024-05-17T18:21:32.420Z","0.0.4":"2024-05-17T18:40:22.438Z","0.0.5":"2024-05-17T18:47:58.143Z","0.1.0":"2024-05-17T18:56:51.202Z","0.1.1":"2024-05-17T21:00:06.197Z","0.1.2":"2024-05-17T22:42:45.310Z","0.1.3":"2024-05-20T20:39:03.167Z","0.1.4":"2024-05-21T02:02:14.855Z","0.1.5":"2024-06-05T15:59:28.116Z","0.1.6":"2024-06-06T19:44:14.156Z","0.1.7":"2025-06-03T21:59:36.392Z","0.1.8":"2025-06-03T22:10:17.095Z"},"bugs":{"url":"https://github.com/supabase-community/sql-to-rest/issues/new/choose"},"license":"MIT","homepage":"https://github.com/supabase-community/sql-to-rest#readme","keywords":["SQL","REST","PostgREST","PostgreSQL","translator"],"repository":{"url":"git+https://github.com/supabase-community/sql-to-rest.git","type":"git"},"description":"[![Tests](https://github.com/supabase-community/sql-to-rest/actions/workflows/tests.yml/badge.svg)](https://github.com/supabase-community/sql-to-rest/actions?query=branch%3Amain) [![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www","maintainers":[],"readme":"# SQL to PostgREST translator\n\n[![Tests](https://github.com/supabase-community/sql-to-rest/actions/workflows/tests.yml/badge.svg)](https://github.com/supabase-community/sql-to-rest/actions?query=branch%3Amain)\n[![Package](https://img.shields.io/npm/v/@supabase/sql-to-rest)](https://www.npmjs.com/package/@supabase/sql-to-rest)\n[![License: MIT](https://img.shields.io/npm/l/@supabase/sql-to-rest)](#license)\n\nTypeScript library that translates SQL queries to the equivalent [PostgREST](https://github.com/PostgREST/postgrest)-compitable HTTP requests and client library code. Works on both browser and server.\n\n### What is PostgREST?\n\n[PostgREST](https://postgrest.org/) is a REST API that auto-generates endpoints based on relations in your database (`public` schema only by default). It uses JWTs and RLS policies to handle authorization.\n\n### How can SQL be converted to REST?\n\nThe PostgREST API supports a lot of SQL-like features including:\n\n- Vertical filtering (select only the columns you care about)\n- Horizontal filtering (filter rows by comparing data in columns: `=`, `>`, `<`, `in`, `like`, etc)\n- Sorting\n- Limit and offset\n- Resource embeddings (joins to other relations using foreign keys)\n- Aggregate operations (`count()`, `sum()`, `avg()`, `min()`, `max()`)\n- Nested `AND`/`OR` expressions\n- Aliasing and casting\n- JSON columns (selecting, filtering, and sorting)\n\nThis library takes the SQL input and translates it to 1-to-1 to the equivalent PostgREST syntax. Any unsupported SQL will [throw an error](#sql-is-a-very-open-language---how-can-it-all-translate-to-rest).\n\n### Example\n\nThe following SQL:\n\n```sql\nselect\n  title,\n  description\nfrom\n  books\nwhere\n  description ilike '%cheese%'\norder by\n  title desc\nlimit\n  5\noffset\n  10\n```\n\nWill get translated to:\n\n_cURL_\n\n```shell\ncurl -G http://localhost:54321/rest/v1/books \\\n  -d \"select=title,description\" \\\n  -d \"description=ilike.*cheese*\" \\\n  -d \"order=title.desc\" \\\n  -d \"limit=5\" \\\n  -d \"offset=10\"\n```\n\n_Raw HTTP_\n\n```http\nGET /rest/v1/books?select=title,description&description=ilike.*cheese*&order=title.desc&limit=5&offset=10 HTTP/1.1\nHost: localhost:54321\n```\n\n_supabase-js_\n\n```js\nconst { data, error } = await supabase\n  .from('books')\n  .select(\n    `\n    title,\n    description\n    `\n  )\n  .ilike('description', '%cheese%')\n  .order('title', { ascending: false })\n  .range(10, 15)\n```\n\n## Install\n\n```shell\nnpm i @supabase/sql-to-rest\n```\n\n```shell\nyarn add @supabase/sql-to-rest\n```\n\n## Usage\n\n_Note: This library is pre-1.0, so expect slight API changes over time._\n\n```js\nimport { processSql, renderHttp, formatCurl } from '@supabase/sql-to-rest'\n\n// Process SQL into intermediate PostgREST AST\nconst statement = await processSql(`\n  select\n    *\n  from\n    books\n`)\n\n// Render the AST into an HTTP request\nconst httpRequest = await renderHttp(statement)\n\n// Format the HTTP request as a cURL command (requires base URL)\nconst curlCommand = formatCurl('http://localhost:54321/rest/v1', httpRequest)\n\nconsole.log(curlCommand)\n// curl http://localhost:54321/rest/v1/books\n\n// Or use it directly\nconst response = await fetch(`http://localhost:54321/rest/v1${httpRequest.fullPath}`, {\n  method: httpRequest.method,\n})\n```\n\n### `processSql()`\n\nTakes a SQL string and converts it into a PostgREST abstract syntax tree (AST) called a `Statement`. This is an intermediate object that can later be rendered to your language/protocol of choice.\n\n```js\nimport { processSql } from '@supabase/sql-to-rest'\n\nconst statement = await processSql(`\n  select\n    *\n  from\n    books\n`)\n```\n\nOutputs a `Promise<Statement>`:\n\n```js\n{\n  type: 'select',\n  from: 'books',\n  targets: [\n    {\n      type: 'column-target',\n      column: '*',\n      alias: undefined,\n    },\n  ],\n  filter: undefined,\n  sorts: [],\n  limit: undefined\n}\n```\n\n### `renderHttp()`\n\nTakes the intermediate `Statement` and renders it as an HTTP request.\n\n```js\nimport { processSql, renderHttp } from '@supabase/sql-to-rest'\n\nconst statement = await processSql(`\n  select\n    *\n  from\n    books\n`)\n\nconst httpRequest = await renderHttp(statement)\n```\n\nOutputs a `Promise<HttpRequest>`:\n\n```js\n{\n  method: 'GET',\n  path: '/books',\n  params: URLSearchParams {},\n  fullPath: [Getter] // combines path with the query params\n}\n```\n\nAn `HttpRequest` can also be formatted as a `cURL` command or as raw HTTP.\n\n#### cURL command\n\n```js\nimport {\n  // ...\n  formatCurl,\n} from '@supabase/sql-to-rest'\n\n// ...\n\nconst curlCommand = formatCurl('http://localhost:54321/rest/v1', httpRequest)\n```\n\nOutputs:\n\n```shell\ncurl http://localhost:54321/rest/v1/books\n```\n\n#### Raw HTTP\n\n```js\nimport {\n  // ...\n  formatHttp,\n} from '@supabase/sql-to-rest'\n\n// ...\n\nconst rawHttp = formatHttp('http://localhost:54321/rest/v1', httpRequest)\n```\n\nOutputs:\n\n```http\nGET /rest/v1/books HTTP/1.1\nHost: localhost:54321\n```\n\n### `renderSupabaseJs()`\n\nTakes the intermediate `Statement` and renders it as [`supabase-js`](https://github.com/supabase/supabase-js) client code.\n\n```js\nimport { processSql, renderSupabaseJs } from '@supabase/sql-to-rest'\n\nconst statement = await processSql(`\n  select\n    *\n  from\n    books\n`)\n\nconst { code } = await renderSupabaseJs(statement)\n```\n\nOutputs a `Promise<SupabaseJsQuery>`, where `code` contains:\n\n```js\nconst { data, error } = await supabase.from('books').select()\n```\n\nThe rendered JS code is automatically formatted using `prettier`.\n\n## How does it work?\n\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"./assets/diagram-dark.png\">\n  <img alt=\"SQL to REST diagram\" src=\"./assets/diagram-light.png\">\n</picture>\n\n1. The SQL string is parsed into a PostgreSQL abstract syntax tree (AST) using [`pg-parser`](https://github.com/supabase-community/pg-parser), a JavaScript SQL parser that uses C code from the official PostgreSQL codebase (compiled to WASM). Supports Postgres 17 syntax.\n2. The PostgreSQL AST is translated into a much smaller and simpler PostgREST AST. Since PostgREST supports a subset of SQL syntax, any unsupported SQL operation will throw an `UnsupportedError` with a description of exactly what wasn't supported.\n3. The intermediate PostgREST AST can be rendered to your language/protocol of choice. Currently supports HTTP (with `cURL` and raw HTTP formatters), and [`supabase-js`](https://github.com/supabase/supabase-js) code (which wraps PostgREST). Other languages are on the roadmap (PR's welcome!)\n\n## Roadmap\n\n### SQL features\n\n#### Statements\n\n- [x] `select` statements ([`GET` requests](https://postgrest.org/en/latest/references/api/tables_views.html#read))\n- [ ] `insert` statements ([`POST` requests](https://postgrest.org/en/latest/references/api/tables_views.html#insert))\n  - [ ] `on conflict update` ([upsert](https://postgrest.org/en/latest/references/api/tables_views.html#upsert))\n- [ ] `update` statements ([`PATCH` requests](https://postgrest.org/en/latest/references/api/tables_views.html#update))\n- [ ] `delete` statements ([`DELETE` requests](https://postgrest.org/en/latest/references/api/tables_views.html#delete))\n- [ ] `explain` statements ([Execution plan](https://postgrest.org/en/latest/references/observability.html#execution-plan))\n\n#### [Filters](https://postgrest.org/en/latest/references/api/tables_views.html#horizontal-filtering)\n\n##### Column operators\n\n- [x] `=` (`eq`)\n- [x] `>` (`gt`)\n- [x] `>=` (`gte`)\n- [x] `<` (`lt`)\n- [x] `<=` (`lte`)\n- [x] `<>` or `!=` (`neq`)\n- [x] `like` (`like`)\n- [x] `ilike` (`ilike`)\n- [x] `~` (`match`)\n- [x] `~*` (`imatch`)\n- [x] `in` (`in`)\n- [ ] `is` (`is`): _partial support, only `is null` for now_\n- [ ] `is distinct from` (`isdistinct`)\n- [x] `@@` (`fts`, `plfts`, `phfts`, `wfts`)\n- [ ] `@>` (`cs`)\n- [ ] `<@` (`cd`)\n- [ ] `&&` (`ov`)\n- [ ] `<<` (`sl`)\n- [ ] `>>` (`sr`)\n- [ ] `&<` (`nxr`)\n- [ ] `&>` (`nxl`)\n- [ ] `-|-` (`adj`)\n\n##### Logical operators\n\n- [x] `not` (`not`)\n- [x] `or` (`or`)\n- [x] `and` (`and`)\n- [ ] `all` (`all`)\n- [ ] `any` (`any`)\n\n#### [Ordering](https://postgrest.org/en/latest/references/api/tables_views.html#ordering)\n\n- [x] `asc` (`asc`)\n- [x] `desc` (`desc`)\n- [x] `nulls first` (`nullsfirst`)\n- [x] `nulls last` (`nullslast`)\n\n#### [Pagination](https://postgrest.org/en/latest/references/api/pagination_count.html)\n\n- [x] `limit` (`limit`)\n- [x] `offset` (`offset`)\n- [ ] HTTP range headers\n\n#### [Aggregates](https://postgrest.org/en/latest/references/api/aggregate_functions.html)\n\n##### Functions\n\n- [x] `count()`\n- [x] `sum()`\n- [x] `avg()`\n- [x] `max()`\n- [x] `min()`\n\n##### Features\n\n- [x] aggregate over entire table\n- [x] aggregate on joined table column\n- [x] aggregate with `group by`\n- [x] aggregate with `group by` on joined table column\n\n#### [Joins](https://postgrest.org/en/latest/references/api/resource_embedding.html) (Resource Embedding)\n\nSQL joins are supported using PostgREST resource embeddings with the [spread `...` syntax](https://postgrest.org/en/latest/references/api/resource_embedding.html#spread-embedded-resource) (flattens joined table into primary table).\n\n#### [Aliases](https://postgrest.org/en/latest/references/api/tables_views.html#renaming-columns)\n\n- [x] column aliases\n- [x] table aliases\n\n#### [Casts](https://postgrest.org/en/latest/references/api/tables_views.html#casting-columns)\n\n- [x] column casts (in select target only)\n- [x] aggregate function casts (in select target only)\n\n#### [JSON columns](https://postgrest.org/en/latest/references/api/tables_views.html#json-columns)\n\nJSON columns (eg. `select metadata->'person'->>'name'`) are supported in the following places:\n\n- [x] select targets\n- [x] filters\n- [x] sorts\n\n### Renderers\n\n- [x] HTTP\n  - [x] cURL formatter\n  - [x] Raw HTTP formatter\n- [x] [`supabase-js`](https://github.com/supabase/supabase-js)\n- [ ] [`supabase-flutter`](https://github.com/supabase/supabase-flutter)\n- [ ] [`supabase-swift`](https://github.com/supabase/supabase-swift)\n- [ ] [`supabase-py`](https://github.com/supabase-community/supabase-py)\n- [ ] [`supabase-csharp`](https://github.com/supabase-community/postgrest-csharp)\n- [ ] [`supabase-kt`](https://github.com/supabase-community/supabase-kt)\n\n## FAQs\n\n### Are you parsing SQL from scratch?\n\nThankfully no. We use [`pg-parser`](https://github.com/supabase-community/pg-parser) which compiles source code from the real PostgreSQL parser to WASM and wraps it in JavaScript bindings.\n\nThis means we never have to worry about the SQL itself getting parsed incorrectly - it uses the exact same code as the actual PostgreSQL database. This library uses code from PostgreSQL 15.\n\n### SQL is a very open language - how can it all translate to REST?\n\nIt can't. PostgREST only supports a subset of SQL-like features (by design), so this library only translates features that can be mapped 1-to-1.\n\nWhen it detects SQL that doesn't translate (eg. sub-queries), it will throw an `UnsupportedError` with a description of exactly what couldn't be translated.\n\n### How can I be confident that my SQL is translating correctly?\n\nWe've built [unit tests](./src/renderers/http.test.ts) for every feature supported. The vast majority of PostgREST features have been implemented, but it doesn't cover 100% yet (see [Roadmap](#roadmap)). If you discover an error in the translation, please [submit an issue](https://github.com/supabase-community/sql-to-rest/issues/new/choose).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}