# SQL.js - JS로 컴파일된 SQLite

> Clean Markdown view of GeekNews topic #3219. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3219](https://news.hada.io/topic?id=3219)
- GeekNews Markdown: [https://news.hada.io/topic/3219.md](https://news.hada.io/topic/3219.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-11-18T09:38:22+09:00
- Updated: 2020-11-18T09:38:22+09:00
- Original source: [sql.js.org](https://sql.js.org/)
- Points: 12
- Comments: 0

## Topic Body

- 브라우저에서 JS로 실행되는 SQL DB

- 메모리에 가상 DB파일을 만들어서 사용하므로 변경은 유지되지 않음

ㅤ→ DB를 Typed Array로 만들어서 Export 가능

ㅤ→ 기존 SQLite 파일 Import 가능

ㅤ→ 온라인 SQL 데모 기능등에 적합

- emscripten 으로 SQLite를 WASM으로 컴파일

- SQLite 는 Public Domain 이지만, SQL.js 는 MIT 라이센스

## Comments



_No public comments on this page._
