{"_id":"@derme302/localforage-capacitorsqlitedriver","_rev":"5-227932c42cf339ec76cca93d97197a67","name":"@derme302/localforage-capacitorsqlitedriver","dist-tags":{"latest":"1.3.0"},"versions":{"1.1.1":{"name":"@derme302/localforage-capacitorsqlitedriver","version":"1.1.1","author":{"name":"derme302"},"license":"MIT","_id":"@derme302/localforage-capacitorsqlitedriver@1.1.1","maintainers":[{"name":"derme302","email":"derme@outlook.com"}],"dist":{"shasum":"8995717cb6dcbda308328f37da7a92f72a556761","tarball":"https://registry.npmjs.org/@derme302/localforage-capacitorsqlitedriver/-/localforage-capacitorsqlitedriver-1.1.1.tgz","fileCount":8,"integrity":"sha512-T6qX3adHq3wIgRDF4IlywF3pBoFrnKqP0bQyAN43JCyukoeFYPGCdk40vY2WZBipAhSM8AZAp3EHJ/dHfcHU+w==","signatures":[{"sig":"MEQCIH2F8eMRISIDmhYaJ3Vj1tpbzf7o7LqxEs9jstyhfNQKAiBvQ9hT70e8SdqihOB1Skhqn5fPWcNBRTdYkyaoYhs74Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11223},"main":"dist/SQLiteDriver.js","types":"dist/SQLiteDriver.d.ts","gitHead":"486b68c4e9919526b351e11f146c174e1ee2a758","scripts":{"build":"tsc"},"_npmUser":{"name":"derme302","actor":{"name":"derme302","type":"user","email":"derme@outlook.com"},"email":"derme@outlook.com"},"_npmVersion":"10.8.2","description":"Custom Ionic Storage driver using @capacitor-community/sqlite","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.4"},"peerDependencies":{"@ionic/storage":"^3.0.0 || ^4.0.0","@capacitor/core":"^5.0.0 || ^6.0.0 || ^7.0.0","@capacitor-community/sqlite":"^5.0.0 || ^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/localforage-capacitorsqlitedriver_1.1.1_1750414442500_0.970248367920636","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@derme302/localforage-capacitorsqlitedriver","version":"1.1.2","author":{"name":"derme302"},"license":"MIT","_id":"@derme302/localforage-capacitorsqlitedriver@1.1.2","maintainers":[{"name":"derme302","email":"derme@outlook.com"}],"dist":{"shasum":"2cb463746d0ae4261d88009e830de2260b3e5795","tarball":"https://registry.npmjs.org/@derme302/localforage-capacitorsqlitedriver/-/localforage-capacitorsqlitedriver-1.1.2.tgz","fileCount":8,"integrity":"sha512-iezyCtVJzrSv1wXhE/VrgZoKN4KUbxWh1s8uS5nhjra2HibiDzA9JMr4ffVUTWloINXgSjH+yt1PNtBgVtKwOA==","signatures":[{"sig":"MEUCIA/dIklu9mt1mElrTx19doBp9CUTsLyzmZ5jMQsn7NGxAiEAgni/rsTIcI3OOtrMp+LWBRMOuz2aVoc1yN5FsGGgKyI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11223},"main":"dist/SQLiteDriver.js","types":"dist/SQLiteDriver.d.ts","gitHead":"0006956eecbfb4ad9f0cf3e5aeb30eaa1dcb2912","scripts":{"build":"tsc"},"_npmUser":{"name":"derme302","actor":{"name":"derme302","type":"user","email":"derme@outlook.com"},"email":"derme@outlook.com"},"_npmVersion":"10.8.2","description":"Custom Ionic Storage driver using @capacitor-community/sqlite","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.4"},"peerDependencies":{"@ionic/storage":"^3.0.0 || ^4.0.0","@capacitor/core":"^5.0.0 || ^6.0.0 || ^7.0.0","@capacitor-community/sqlite":"^5.0.0 || ^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/localforage-capacitorsqlitedriver_1.1.2_1750414846464_0.8425873530919434","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@derme302/localforage-capacitorsqlitedriver","version":"1.2.0","author":{"name":"derme302"},"license":"MIT","_id":"@derme302/localforage-capacitorsqlitedriver@1.2.0","maintainers":[{"name":"derme302","email":"derme@outlook.com"}],"dist":{"shasum":"30a589c246e5535a0e910766ae1da685ee9dd0b0","tarball":"https://registry.npmjs.org/@derme302/localforage-capacitorsqlitedriver/-/localforage-capacitorsqlitedriver-1.2.0.tgz","fileCount":10,"integrity":"sha512-DFnK6vpW4ZvVXHN/F1uKAU6nMdVfCFMKfGbDuNm+eKIrSiBqOyUKBQL3VZL8cf2WzBHkKR0AJdTCc/CP1JsvBg==","signatures":[{"sig":"MEUCIQCkPmtz0R+A1ZSOL4zsWye3930IBH/KtT5gdsjVk6WCrQIgMoUk0MzKpAo9NbMLkXLIGzQQwMxRIK/ZurbEKCJeb7Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14043},"main":"dist/SQLiteDriver.js","type":"module","types":"dist/SQLiteDriver.d.ts","exports":{".":{"import":"./dist/SQLiteDriver.js"}},"gitHead":"e9d9dfb883931ac4b52a68cf82db0830b6214efb","scripts":{"build":"tsc"},"_npmUser":{"name":"derme302","email":"derme@outlook.com"},"_npmVersion":"10.8.2","description":"Custom Ionic Storage driver using @capacitor-community/sqlite","directories":{},"_nodeVersion":"20.19.4","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.4"},"peerDependencies":{"@ionic/storage":"^3.0.0 || ^4.0.0","@capacitor/core":"^5.0.0 || ^6.0.0 || ^7.0.0","@capacitor-community/sqlite":"^5.0.0 || ^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/localforage-capacitorsqlitedriver_1.2.0_1754710871711_0.06968331589621646","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@derme302/localforage-capacitorsqlitedriver","version":"1.2.1","author":{"name":"derme302"},"license":"MIT","_id":"@derme302/localforage-capacitorsqlitedriver@1.2.1","maintainers":[{"name":"derme302","email":"derme@outlook.com"}],"dist":{"shasum":"2eafef255061063689f75cd1981970e8105c5acc","tarball":"https://registry.npmjs.org/@derme302/localforage-capacitorsqlitedriver/-/localforage-capacitorsqlitedriver-1.2.1.tgz","fileCount":9,"integrity":"sha512-ul7PmuoaC9ZzPBeBeCAWDHkVgY8u+dN/iPVheNBymCsml07oxf+Q/eX2UA41tSFShIhRBlqcgSzN9siMnTyywg==","signatures":[{"sig":"MEUCIF9G46OHeQSi5ojNaRbl/aqP/kgYx/ORt1OwhAB9BKfVAiEAi12lbjtFZfk3VNUX8y/wjwIAMfuNb6FWl6CJ+l99TqE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15893},"main":"dist/SQLiteDriver.js","type":"module","types":"dist/SQLiteDriver.d.ts","module":"dist/SQLiteDriver.js","exports":{".":{"import":"./dist/SQLiteDriver.js","require":"./dist/cjs/SQLiteDriver.js"},"./package.json":"./package.json"},"gitHead":"aadb14d45269a5dfd503b94a9b31d9b86772aecc","scripts":{"build":"npm run build:esm && npm run build:cjs","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.json"},"_npmUser":{"name":"derme302","email":"derme@outlook.com"},"_npmVersion":"10.8.2","description":"Custom Ionic Storage driver using @capacitor-community/sqlite","directories":{},"_nodeVersion":"20.19.4","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.4"},"peerDependencies":{"@ionic/storage":"^3.0.0 || ^4.0.0","@capacitor/core":"^5.0.0 || ^6.0.0 || ^7.0.0","@capacitor-community/sqlite":"^5.0.0 || ^6.0.0 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/localforage-capacitorsqlitedriver_1.2.1_1754914029088_0.698927479878255","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@derme302/localforage-capacitorsqlitedriver","version":"1.3.0","description":"Custom Ionic Storage driver using @capacitor-community/sqlite","repository":{"url":"git+https://github.com/derme302/localforage-capacitorsqlitedriver.git"},"type":"module","main":"dist/SQLiteDriver.js","module":"dist/SQLiteDriver.js","types":"dist/SQLiteDriver.d.ts","exports":{".":{"import":"./dist/SQLiteDriver.js","require":"./dist/cjs/SQLiteDriver.js"},"./package.json":"./package.json"},"scripts":{"build:esm":"tsc -p tsconfig.json","build:cjs":"tsc -p tsconfig.cjs.json","build":"npm run build:esm && npm run build:cjs"},"author":{"name":"derme302"},"license":"MIT","dependencies":{},"devDependencies":{"typescript":"^5.5.4"},"peerDependencies":{"@capacitor/core":"^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0","@capacitor-community/sqlite":"^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0","@ionic/storage":"^3.0.0 || ^4.0.0"},"gitHead":"b59dd8999af97c29c110bf74d882576ce0e73fb0","_id":"@derme302/localforage-capacitorsqlitedriver@1.3.0","bugs":{"url":"https://github.com/derme302/localforage-capacitorsqlitedriver/issues"},"homepage":"https://github.com/derme302/localforage-capacitorsqlitedriver#readme","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-JWVku8UZYPhqG/JMy1Wl/Fpng4ba9YlqIgSqFMzgal7Ot+OloeQm5ZXAkfh4aX1jjAlJuND4RwoNaY29itF+eQ==","shasum":"9e6e4c3d3bdfcf9cd4637cc6a161ebd1003eb216","tarball":"https://registry.npmjs.org/@derme302/localforage-capacitorsqlitedriver/-/localforage-capacitorsqlitedriver-1.3.0.tgz","fileCount":9,"unpackedSize":16011,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@derme302%2flocalforage-capacitorsqlitedriver@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAOsHaazd/Rt02CsSR5C3Tk046Pd+mIds6G5zXrmCAT5AiArOh+0w4ZZPWMO70olqxp1dEh3rwc9HH1H+8bVylwipw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ab589b3-1a8c-4990-9033-108fccad97f1"}},"directories":{},"maintainers":[{"name":"derme302","email":"derme@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/localforage-capacitorsqlitedriver_1.3.0_1770526763480_0.9747389140473748"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-20T10:14:02.417Z","modified":"2026-02-08T04:59:23.918Z","1.1.1":"2025-06-20T10:14:02.682Z","1.1.2":"2025-06-20T10:20:46.642Z","1.2.0":"2025-08-09T03:41:11.880Z","1.2.1":"2025-08-11T12:07:09.403Z","1.3.0":"2026-02-08T04:59:23.620Z"},"author":{"name":"derme302"},"license":"MIT","description":"Custom Ionic Storage driver using @capacitor-community/sqlite","maintainers":[{"name":"derme302","email":"derme@outlook.com"}],"readme":"# localForage Capacitor SQLite Driver\n\nA custom localForage driver using [@capacitor-community/sqlite](https://github.com/capacitor-community/sqlite) for Ionic Storage. Designed to be a drop in replacement for [localforage-cordovasqlitedriver](https://github.com/thgreasi/localForage-cordovaSQLiteDriver).\n\n## Install and Use\n\n```bash\nnpm install @derme302/localforage-capacitorsqlitedriver\n```\n\n```ts\nimport { CAPACITOR_SQLITE_DRIVER } from '@derme302/localforage-capacitorsqlitedriver';\n\nbootstrapApplication(AppComponent, {\n  providers: [\n    {\n    importProvidersFrom(IonicStorageModule.forRoot({\n      driverOrder: [CAPACITOR_SQLITE_DRIVER, Drivers.IndexedDB, Drivers.LocalStorage]\n    }))\n});\n```\nThen use `Storage` as usual.\n\n```ts\nimport { Storage } from '@ionic/storage-angular';\nimport { SQLiteDriver } from '@derme302/localforage-capacitorsqlitedriver';\n\nexport class StorageService {\n  public isReady: boolean = false;\n  private _storage: Storage | null = null;\n\n  constructor(private storage: Storage) {\n    this.init();\n  }\n\n  async init() {\n    await this.storage.defineDriver(new SQLiteDriver());\n    const storage = await this.storage.create();\n    this._storage = storage;\n    this.isReady = true;\n  }\n}\n```\n\n---\n\n## 🛠 Build the Package\n\n```bash\nnpm install\nnpm run build\n```\n\nThis generates the `dist/` folder.\n","readmeFilename":"README.md","homepage":"https://github.com/derme302/localforage-capacitorsqlitedriver#readme","repository":{"url":"git+https://github.com/derme302/localforage-capacitorsqlitedriver.git"},"bugs":{"url":"https://github.com/derme302/localforage-capacitorsqlitedriver/issues"}}