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

Breakdance in browser #5

Closed
stevebeisner opened this issue May 12, 2017 · 1 comment
Closed

Breakdance in browser #5

stevebeisner opened this issue May 12, 2017 · 1 comment

Comments

@stevebeisner
Copy link

I was looking to improve my HTML to Markdown conversion for a web
application I have, but it appears that after an npm install of breakdance
that importing the module causes a "TypeError: fs.readdirSync is not a function".

My suspicion is that it's because the breakdance CLI is part of the
module, even though it's not required if one is calling the
breakdance( html_text) function in a browser context.

@jonschlinkert
Copy link
Member

done, I've externalized the CLI code to breakdance-cli. Thanks for the issue and for using breakdance!

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