{"_id":"@expo/knex-expo-sqlite-dialect","_rev":"29-87c5b370d892f457b12a771098c1b23b","name":"@expo/knex-expo-sqlite-dialect","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@expo/knex-expo-sqlite-dialect","version":"0.0.1","keywords":["expo","sqlite","knex","dialect"],"author":{"name":"650 Industries, Inc."},"license":"MIT","_id":"@expo/knex-expo-sqlite-dialect@0.0.1","maintainers":[{"name":"kadikraman","email":"hellokadi@gmail.com"},{"name":"radoslawkrzemien","email":"radoslaw.krzemien@swmansion.com"},{"name":"aleqsio","email":"mikucki@gmail.com"},{"name":"marklawlor","email":"mwlawlor@gmail.com"},{"name":"gabrieldonadel","email":"donadeldev@gmail.com"},{"name":"simek","email":"gosimek@gmail.com"},{"name":"keith-kurak","email":"keith@expo.io"},{"name":"christopherwalter","email":"chris@christopherwalter.com"},{"name":"kbrandwijk","email":"kim.brandwijk@gmail.com"},{"name":"fiber-god","email":"datwheat@gmail.com"},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"tsapeta","email":"npm@tsapeta.com"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"},{"name":"wkozyra","email":"wojciech.kozyra@swmansion.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"lukmccall","email":"kosmatylukasz@gmail.com"},{"name":"jonsamp","email":"sampjon@gmail.com"},{"name":"princefleaswallow","email":"mhampton@hey.com"},{"name":"kudochien","email":"ckchien@gmail.com"}],"homepage":"https://github.com/expo/knex-expo-sqlite-dialect#readme","bugs":{"url":"https://github.com/expo/knex-expo-sqlite-dialect/issues"},"dist":{"shasum":"d9470602a68693e0e6e50ac3b990f72a64d5452d","tarball":"https://registry.npmjs.org/@expo/knex-expo-sqlite-dialect/-/knex-expo-sqlite-dialect-0.0.1.tgz","fileCount":6,"integrity":"sha512-nCSBIW3uZqQiK/HyoXTJnuxUGxcM5ayYxppwMECGCQ90ouiTkboGFoS6nRzIIqwhvb41vsdikE0m6C9IWdcTig==","signatures":[{"sig":"MEUCIBIgvGq8pvnvMoy7hvM7W31Hj38OA8dNx12/tjcCsDqHAiEAhjP4EDxuS/xSUqbL7HXWNBoUW8PxNJ5lMK+C3UqH7p8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5500},"main":"index.js","types":"types.d.ts","gitHead":"250ff3c4d28c6359ffeec0df9cb6f98c8635a19e","_npmUser":{"name":"kudochien","email":"ckchien@gmail.com"},"repository":{"url":"git+https://github.com/expo/knex-expo-sqlite-dialect.git","type":"git","directory":"packages/knex-expo-sqlite-dialect"},"_npmVersion":"9.8.1","description":"Knex.js dialect for Expo SQLite","directories":{},"sideEffects":false,"_nodeVersion":"18.18.0","dependencies":{"assert":"^2.1.0","events":"^3.3.0","tty-browserify":"^0.0.1","crypto-browserify":"^3.12.0","node-libs-browser":"^2.2.1","stream-browserify":"^3.0.0","timers-browserify":"^2.0.12","babel-plugin-module-resolver":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"knex":"^3.1.0","@babel/core":"^7.20.0","expo-sqlite":"~13.1.0"},"peerDependencies":{"knex":"*","expo-sqlite":"*"},"_npmOperationalInternal":{"tmp":"tmp/knex-expo-sqlite-dialect_0.0.1_1702448347843_0.35644137994793734","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@expo/knex-expo-sqlite-dialect","version":"0.1.0","keywords":["expo","sqlite","knex","dialect"],"author":{"name":"650 Industries, Inc."},"license":"MIT","_id":"@expo/knex-expo-sqlite-dialect@0.1.0","maintainers":[{"name":"fiber-god","email":"datwheat@gmail.com"},{"name":"betoatexpo","email":"beto@expo.io"},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"quinlanj","email":"quinlanjung@gmail.com"},{"name":"expoadmin","email":"support@expo.io"},{"name":"tsapeta","email":"npm@tsapeta.com"},{"name":"exponent","email":"exponent.team@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"lukmccall","email":"kosmatylukasz@gmail.com"},{"name":"jonsamp","email":"sampjon@gmail.com"},{"name":"princefleaswallow","email":"mhampton@hey.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"keith-kurak","email":"keith@expo.io"},{"name":"alanhughes","email":"hughesno1@gmail.com"},{"name":"simek","email":"gosimek@gmail.com"},{"name":"gabrieldonadel","email":"donadeldev@gmail.com"},{"name":"douglowder","email":"douglowder@mac.com"},{"name":"kadikraman","email":"hellokadi@gmail.com"},{"name":"aleqsio","email":"mikucki@gmail.com"},{"name":"radoslawkrzemien","email":"radoslaw.krzemien@swmansion.com"},{"name":"expo-bot","email":"brent+expobotnpm@expo.io"},{"name":"philpl","email":"phil@kitten.sh"},{"name":"marklawlor","email":"mwlawlor@gmail.com"}],"homepage":"https://github.com/expo/knex-expo-sqlite-dialect#readme","bugs":{"url":"https://github.com/expo/knex-expo-sqlite-dialect/issues"},"dist":{"shasum":"6dfab071a51399cb8518c7f77e81bb6b8c5d0f0e","tarball":"https://registry.npmjs.org/@expo/knex-expo-sqlite-dialect/-/knex-expo-sqlite-dialect-0.1.0.tgz","fileCount":6,"integrity":"sha512-NydPs4ZAHarYcKkBR/U+wLNZdtAsIzvlMztsBMMfs3jV82HUcJEfEsD4QGC9DZmi2l+ewYykA8cSivJHY1h9wQ==","signatures":[{"sig":"MEUCIAQYr2M+l/btQGUY5rMGUM7qr/OpsCoFK/9yvDR+WRm2AiEA6HaKh2kQEJ7IX+E0fBihJqC+3381vjq3VtAmwjZ0hsY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5496},"main":"index.js","types":"types.d.ts","gitHead":"39e5f92ef22b59337995fe1de27d9c6eb1edf730","_npmUser":{"name":"kudochien","email":"ckchien@gmail.com"},"repository":{"url":"git+https://github.com/expo/knex-expo-sqlite-dialect.git","type":"git","directory":"packages/knex-expo-sqlite-dialect"},"_npmVersion":"10.9.2","description":"Knex.js dialect for Expo SQLite","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"assert":"^2.1.0","events":"^3.3.0","tty-browserify":"^0.0.1","crypto-browserify":"^3.12.1","node-libs-browser":"^2.2.1","stream-browserify":"^3.0.0","timers-browserify":"^2.0.12","babel-plugin-module-resolver":"^5.0.2"},"_hasShrinkwrap":false,"devDependencies":{"knex":"^3.1.0","@babel/core":"^7.20.0","expo-sqlite":"~15.2.12"},"peerDependencies":{"knex":"*","expo-sqlite":"*"},"_npmOperationalInternal":{"tmp":"tmp/knex-expo-sqlite-dialect_0.1.0_1749476285608_0.9766705981905441","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2023-12-13T06:19:07.772Z","modified":"2026-09-23T11:26:32.776Z","0.0.1":"2023-12-13T06:19:08.090Z","0.1.0":"2025-06-09T13:38:05.826Z"},"bugs":{"url":"https://github.com/expo/knex-expo-sqlite-dialect/issues"},"author":{"name":"650 Industries, Inc."},"license":"MIT","homepage":"https://github.com/expo/knex-expo-sqlite-dialect#readme","keywords":["expo","sqlite","knex","dialect"],"repository":{"url":"git+https://github.com/expo/knex-expo-sqlite-dialect.git","type":"git","directory":"packages/knex-expo-sqlite-dialect"},"description":"Knex.js dialect for Expo SQLite","maintainers":[{"email":"ide+npm@jameside.com","name":"ide"},{"email":"brentvatne@gmail.com","name":"brentvatne"},{"email":"support@expo.io","name":"expoadmin"},{"email":"exponent.team@gmail.com","name":"exponent"},{"email":"me@bycedric.com","name":"bycedric"},{"email":"ckchien@gmail.com","name":"kudochien"},{"email":"hughesno1@gmail.com","name":"alanhughes"},{"email":"npm@tsapeta.com","name":"tsapeta"},{"email":"brent+expobotnpm@expo.io","name":"expo-bot"},{"email":"phil@kitten.sh","name":"philpl"},{"email":"ccheever@gmail.com","name":"ccheever"},{"email":"sz.dziedz@gmail.com","name":"szdziedzic"},{"email":"wschurman@gmail.com","name":"wschurman"}],"readme":"# @expo/knex-expo-sqlite-dialect\n\nKnex.js dialect for Expo SQLite\n\n## Installation\n\n1. Install the package\n\n`yarn add @expo/knex-expo-sqlite-dialect`\n\n2. Add babel preset to the **babel.config.js**\n\n```diff\n--- a/babel.config.js\n+++ b/babel.config.js\n@@ -3,6 +3,7 @@ module.exports = function (api) {\n   return {\n     presets: [\n       'babel-preset-expo',\n+      'module:@expo/knex-expo-sqlite-dialect/babel-preset',\n     ],\n   };\n };\n```\n\n3. Add the custom dialect for knex constructor\n\n```ts\nimport ExpoSQLiteDialect from '@expo/knex-expo-sqlite-dialect';\nimport Knex from 'knex';\n\nconst knex = Knex({\n  client: ExpoSQLiteDialect,\n  connection: {\n    filename: 'MyDB.db',\n  },\n});\n```\n\n## Components\n\n### [`packages/knex-expo-sqlite-dialect`](https://github.com/expo/knex-expo-sqlite-dialect/tree/main/packages/knex-expo-sqlite-dialect)\n\nThe main package\n\n> [**babel-preset**](https://github.com/expo/knex-expo-sqlite-dialect/blob/main/packages/knex-expo-sqlite-dialect/babel-preset.js)\n\nSince Knex.js is developed on Node.js runtime, some of Node.js dependencies are not available on React Native. The Babel preset uses the [`babel-plugin-module-resolver`](https://www.npmjs.com/package/babel-plugin-module-resolver) plugin to alias these Node.js modules to other supported modules.\n\n### [`apps/example`](https://github.com/expo/knex-expo-sqlite-dialect/tree/main/apps/example)\n\nThe example app replicated from the [`with-sqlite` example](https://github.com/expo/examples/blob/master/with-sqlite) with Knex.js integration.\n","readmeFilename":"README.md"}