We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
running this in node 14:
import indent from "indent"; export default async function processfile(data) { return indent.html(data); }
errors out going
(node:6724) UnhandledPromiseRejectionWarning: TypeError: indent.html is not a function at ....
So that's literally useless? =(
The text was updated successfully, but these errors were encountered:
You need to import
import { indent} from "indent";
Sorry, something went wrong.
@zebzhao can you update the README with that? Right now it's telling folks to use the wrong import:
This appears to be fixed in that import indent from 'indent.js' works and import { indent } … results in undefined now.
import indent from 'indent.js'
import { indent } …
No branches or pull requests
running this in node 14:
errors out going
So that's literally useless? =(
The text was updated successfully, but these errors were encountered: