Home > tupelo-wasm-sdk > Repo > (constructor)
Constructs a new instance of the Repo class
Signature:
constructor(name: string, opts?: RepoOpts);
| Parameter | Type | Description |
|---|---|---|
| name | string |
The name of the repo |
| opts | RepoOpts |
(optional) RepoOpts - if opts are unspecified, it will use the IPFS repo defaults |