# PostArchiver
Types for Archiver
For `FanboxArchive` of Unify Archive.
Provide API to web, just deploy a Static Server.
### Input
* [FanboxArchive](https://github.com/xiao-e-yun/FanboxArchive)
* Planing
### Output
* Code by your self
## Install
### For Rust
```sh
cargo add post-archiver
```
use it (check `src/structs.rs` to know more)
```rs
use post_archiver::*;
```
### For TypeScript
```sh
npm add -D post-archiver
```
Import you need types
```ts
import type { ArchivePost } from "post-archiver"
```
## Build
### For Rust
```sh
cargo build
```
### For TypeScript
```sh
cargo test -F=typescript
node gen-types.mjs
```
You will get files in `bindings`