Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node API #6

Open
3 tasks
asg017 opened this issue May 2, 2021 · 1 comment
Open
3 tasks

Node API #6

asg017 opened this issue May 2, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@asg017
Copy link
Owner

asg017 commented May 2, 2021

Currently dataflow is a CLI that you install and use by itself, but I could see how a Node API would be useful. Here's some ideas of what could be exposed (and how users could use it):

  • Compiling .ojs code to .js
    • Dataflow specific compiling, not compiling ojs in general (use the compiler for that)
    • For plugins like webpack, esbuild, rollup, etc.
  • Start the dataflow run dev server with options
  • Export the StandardLibrary to make it install-able (basically with observablehq/htl
@asg017 asg017 added this to the Beta milestone May 2, 2021
@asg017 asg017 added the enhancement New feature or request label May 2, 2021
@knoopx
Copy link

knoopx commented Nov 12, 2022

fyi running dataflow under electron with nodeIntegration: true is a quick way to achieve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants