sql-js / sql-js/sql.js

Feature request: Support ES module

Open
#284 9 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hi,

It would be nice to add a module target to the project.
This would allow to dynamically import the library with import() function, and would probably work better with some bundlers (thinking about rollup now).
I'm trying to work on it, but I'm not used to work with coffeescript and make, so any help is welcome !

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the CoffeeScript and make-based build configuration, then trace how the current module target is produced. Done means the library supports dynamic import() and works with the Rollup bundler as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript, javascript
Domain
build-system, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.