2.2.2 • Published 2 years ago

deta-space-client v2.2.2

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

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

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.2.2

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.2.0

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.1.0

2 years ago

1.0.16

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago