1.0.5 • Published 8 years ago

josent v1.0.5

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

josent

josent (json simple client) is a client based on json and Promises It's just a thiny layer around isomorphic fetch.

examples:

get:

josent
      .get('https://api.github.com/users/defunkt')
      .then(function(json){
        console.log('json: ',json);
      });

post:

josent
      .post(YOUR_URL)
      .then(function(json){
        console.log('json: ',json);
      });

delete:

josent
      .delete(YOUR_URL)
      .then(function(json){
        console.log('json: ',json);
      });

put:

josent
      .put(YOUR_URL)
      .then(function(json){
        console.log('json: ',json);
      });
1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago