jsonful

0.4.1 • Public • Published

JSONful Javascript client

This is the JSONful Javascript client. It's designed for both, the server and NodeJS.

NodeJS

npm install --save jsonful
var JSONful = require('jsonful').JSONful;
 
var c = new JSONful("http://localhost:9999/demo.php");
c.exec("is_prime", {q: 1}, function(err, is) {
    console.error("is prime", is);
});
 
c.exec("is_prime", {q: 2}, function(err, is) {
    console.error("is prime", is);
});
 
c.exec("is_prime", {q: 12}, function(err, is) {
    console.error("is prime", is);
});

Browser

bower install jsonful

Readme

Keywords

none

Package Sidebar

Install

npm i jsonful

Weekly Downloads

1

Version

0.4.1

License

ISC

Last publish

Collaborators

  • crodas