-
Notifications
You must be signed in to change notification settings - Fork 24
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
JSONstat() #9
Comments
The JSONstat Javascript Toolkit includes a simple XHR implementation (sync and async). It is not recommended to use such simple implementation in production and it is provided mainly for testing purposes. The JSONstat module does not include such XHR implementation because node.js already comes with a built-in http module and many third-party modules already try to simplify such task (like request or got). It is not you being dumb: it's bad documentation (my fault). This limitation is mentioned in the wiki under Installation (probably an unexpected place): https://github.com/badosa/JSON-stat/wiki/Installation but not on NPM (that imports the JJT readme file from GitHub and it's not module-specific).
|
Yeah! Figured it out eventually! Would be nice of some example repos, not just <script> tags in an html :) also, an polyfill with fetch so you could call response.jsonStat() would be awesome! |
The Readme file and the API reference have been edited to reflect the module limitations. Changes won't show on NPM until a new version is published. |
Awesome, keep up the good work. This library has potential :) |
Let me know if you want some help on documentation and examples with other libraries 📫 |
Hi! Dunno if this is just me being dumb with stat, or if this is an error, but I've imported the module from npm, and tried to find values when retrieving the url.
Could you elaborate?
The text was updated successfully, but these errors were encountered: