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

Expose/export internal API #18

Open
kristianmandrup opened this issue Mar 5, 2017 · 2 comments
Open

Expose/export internal API #18

kristianmandrup opened this issue Mar 5, 2017 · 2 comments

Comments

@kristianmandrup
Copy link

kristianmandrup commented Mar 5, 2017

I see you only expose fus as a binary expecting args bin

With compile function defined using let but not exported. Please improve the internals to allow for better composability and for tools such as gulp to use the API/library directly without involving the shell.

I might send you a PR for this. Just cloned the repo to play around...

Or perhaps this is the locked-api.js with export let generateOutput = function(input) { ??
I will try my luck. Better use const and improve/document the internal API.

@zhanzhenzhen
Copy link
Owner

I'll consider it. Yes this is the locked-api.js.

@zhanzhenzhen
Copy link
Owner

Yes it's generateOutput.

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

2 participants