Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

josent

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

josent - npm Package Compare versions

Comparing version 1.0.1 to 1.0.3

2

package.json
{
"name": "josent",
"version": "1.0.1",
"version": "1.0.3",
"description": "josent (json simple client) is a client based on json and Promises",

@@ -5,0 +5,0 @@ "main": "index.js",

# 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);
});
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc