https://github.com/deno-web3/slate
☯️ Unofficial Slate API client for Deno, an open-source Filecoin-based storage system.
https://github.com/deno-web3/slate
api-client blockchain deno file-storage filecoin
Last synced: 2 months ago
JSON representation
☯️ Unofficial Slate API client for Deno, an open-source Filecoin-based storage system.
- Host: GitHub
- URL: https://github.com/deno-web3/slate
- Owner: deno-web3
- Created: 2021-05-26T21:57:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-27T08:39:49.000Z (about 3 years ago)
- Last Synced: 2025-03-17T08:07:14.000Z (over 1 year ago)
- Topics: api-client, blockchain, deno, file-storage, filecoin
- Language: TypeScript
- Homepage:
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slate
[![][docs-badge]][docs]
> I'm building [Flash](https://flash-dev.vercel.app) - a service to deploy websites and apps on the new decentralized stack.
>
> If you'd like to try or collab, [dm](https://t.me/v_1rtl) or [email](mailto:yo@v1rtl.site)
Unofficial Deno API client for [Slate](https://slate.host), an open source Filecoin-based storage system. 
## Example
```ts
import { Slate } from 'https://deno.land/x/slate/mod.ts'
const slate = new Slate({ apiKey: 'X-X-X' })
const { collections } = await slate.getUserData()
const { filename } = await slate.uploadFile('logo.png')
```
[docs-badge]: https://img.shields.io/github/v/release/deno-web3/slate?color=yellow&label=Docs&logo=deno&style=flat-square&a
[docs]: https://doc.deno.land/https/deno.land/x/slate/mod.ts