@jackdbd/sqlite-utils
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@jackdbd/sqlite-utils

Utility functions to work with SQLite.

Table of Contents

Installation

npm install @jackdbd/sqlite-utils

⚠️ Warning:

This library declares better-sqlite3 as peer dependency.

Usage

You can import the top-level module:

import {
  bulkInsert,
  foreignKeys,
  pragmaDict,
  tableInfo
} from '@jackdbd/sqlite-utils'

or a specific ES module:

import {
  foreignKeys,
  pragmaDict,
  tableInfo
} from '@jackdbd/sqlite-utils/pragmas'

import { bulkInsert } from '@jackdbd/sqlite-utils/transactions'

API

API docs generated with TypeDoc

Readme

Keywords

Package Sidebar

Install

npm i @jackdbd/sqlite-utils

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

42.8 kB

Total Files

51

Last publish

Collaborators

  • jackdbd