JSPM

  • Created
  • Published
  • Downloads 1098
  • Score
    100M100P100Q131885F
  • License MIT

Squirreling SQL Engine

Package Exports

  • squirreling
  • squirreling/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (squirreling) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Squirreling SQL Engine

squirreling engine

npm downloads minzipped workflow status mit license coverage dependencies

Squirreling is a lightweight SQL engine for JavaScript applications, designed to provide efficient and easy-to-use database functionalities in the browser.

Features

  • Lightweight and fast
  • Easy to integrate with JavaScript applications
  • Supports standard SQL queries
  • In-memory database for quick data access
  • Robust error handling and validation

Usage

import { executeSql } from 'squirreling'

const source = [
  { id: 1, name: 'Alice' },
  { id: 2, name: 'Bob' },
]

const result = executeSql({ source, query: 'SELECT UPPER(name) AS name_upper FROM users' })
console.log(result)
// Output: [ { name_upper: 'ALICE' }, { name_upper: 'BOB' } ]