2.2.2 • Published 10 months ago
deta-space-client v2.2.2
Deta Space Client
An fetch function for deta space
Usage
See the Authentication Doc for more information on how to get your access token.
import { fetchFn } from "deta-space-client";
// Provide your access token
const fetchFromSpace = fetchFn(process.env.DETA_SPACE_TOKEN);
fetch("/instances").then((response) => {
console.log(response);
});
CLI
space-client <command>
Commands:
index.js get <endpoint> Do a GET request
index.js post <endpoint> Do a POST request
Options:
--version Show version number [boolean]
--access-token The space access token [string]
--help Show help [boolean]
2.2.1
10 months ago
2.2.0
10 months ago
2.1.1
10 months ago
2.2.2
10 months ago
2.1.0
10 months ago
2.0.1
10 months ago
2.0.0
10 months ago
1.2.0
12 months ago
1.3.2
11 months ago
1.3.1
11 months ago
1.3.0
11 months ago
1.1.0
1 year ago
1.0.16
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago