0.1.26 • Published 2 years ago
ething-js v0.1.26
EThing JavaScript library
This JS library can talk to the EThing API.
Usage
Node
If you have node, you can install it with npm:
npm install ething-js
Browser
Download the latest ething.js for browser.
Or build your own version :
npm run build
Documentation
See the API.
Examples
var EThing = require('ething-js');
// set your EThing server url here :
EThing.config.serverUrl = 'http://localhost:8000';
// using the default credentials
EThing.auth.setBasicAuth('ething', 'admin');
// list all your resources (Files, Devices, Tables ...)
EThing.list().done(function(resources){
console.log('you have got '+resources.length+' resources');
}).fail(function(err){
console.log(err);
});
0.1.26
2 years ago
0.1.25
5 years ago
0.1.23
5 years ago
0.1.22
5 years ago
0.1.21
5 years ago
0.1.20
5 years ago
0.1.19
5 years ago
0.1.17
5 years ago
0.1.16
5 years ago
0.1.15
5 years ago
0.1.14
5 years ago
0.1.13
5 years ago
0.1.12
5 years ago
0.1.11
5 years ago
0.1.10
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
6 years ago
0.1.6
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago