https://github.com/yhwh-script/sqlite
This is a SQLite module for yhwh-script
https://github.com/yhwh-script/sqlite
Last synced: about 1 year ago
JSON representation
This is a SQLite module for yhwh-script
- Host: GitHub
- URL: https://github.com/yhwh-script/sqlite
- Owner: yhwh-script
- License: unlicense
- Created: 2025-01-30T10:09:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-12T12:27:22.000Z (over 1 year ago)
- Last Synced: 2025-03-12T12:33:22.464Z (over 1 year ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
A [yhwh-script](https://github.com/yhwh-script) project with [SQLite WASM](https://www.npmjs.com/package/@sqlite.org/sqlite-wasm) built on
without examples.
# Quick Start
Just call `npm install` and `npm run dev`.
# FYI
You can create Single File Web-Components in dedicated `.html` files inside the `public/elements` folder. `npm run dev` and `npm run build` will generate maps in `src/elements/index.js` which are being fetched in the `/src/main.js` script for defining your CustomElements.
Please understand that the project structure is leaned on [valid-custom-element-names](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name), i.e. using a dash ("-") is mandatory.
In `/src/publicApis/index.js` you can define APIs for your custom-elements (for example to the SQLite module) via the window object.
Just stick to the examples and you are good to go. Have fun!