getjsoneasily v1.1.0
getJSONeasily
It's just a small tooll to help you to fetch JSON parsed from URLs or APIs.
How does it work?
1 - Install the module and require it to your project
sudo npm i getjsoneasily
var getjson = require("getjsoneasily");
2 - Pass your the url and a callabck function as arguments
// PS: This module supports protocol http and https
getjson("https://www.someservice.com/json.php?q=some+thing", function(data){
// Do something with data
console.log(data);
}),
Have fun:
1 - Forking it
2 - Hacking it
3 - Being happy with it
##The MIT License (MIT) Copyright (c) 2015 - Flowck II
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.