-
-
Notifications
You must be signed in to change notification settings - Fork 47
suggestion #23
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
Comments
Yeah, we could probably reduce the dependencies. Sidenote: I really wish Node.js had a |
that could maybe change with the (dynamic) "import json" proposal |
one new additions that arrived into node was stream-consumers. the idea came from fetch's but this is only async, there is no sync alternative, and gives even worse error |
Importing JSON and reading JSON are different. Importing has overhead and also caches. Reading directly from disk will always be faster. |
I ended up dropping https://github.com/sindresorhus/load-json-file/releases/tag/v7.0.0 |
Thx |
Would be nice if this had 0 dependencies:
The text was updated successfully, but these errors were encountered: