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

[Request] Node API #97

Open
matthizou opened this issue Jul 25, 2021 · 0 comments
Open

[Request] Node API #97

matthizou opened this issue Jul 25, 2021 · 0 comments

Comments

@matthizou
Copy link

Requested Update

Right now the only way to make the ES check is to use the command line.
This proposal is to also have the possibility to consume it from without node (as a function) - without spawning a child process to execute the command.

Why Is This Update Needed?

Many FE build tools are written in Node, and having an API to do the ES check would be great. It would be faster than spawning a process, error handling could be fine-tuned.
This is seen in many places - i.e: webpack or babel do it.

Feasibility

Looking at the main file, it should be easy to split it in 2 (the command line part and the actual processing)
I'll be happy to open a PR if the proposal gets a go-ahead

Are There Examples Of This Requested Update Elsewhere?

Read about references issues here. Provide paragraph text responses to each header.

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

No branches or pull requests

1 participant