0.0.6 • Published 1 year ago

@pelicanplatform/web-client v0.0.6

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

Pelican Web Client

Dynamic JSON Badge Dynamic JSON Badge

NPM Github

Installation

npm i @pelicanplatform/web-client

Usage

import Client from "@pelicanplatform/web-client";

const discoveryUrl = "https://osg-htc.org" // Example discovery URL used for OSDF
const filePath = "/example/file/path.txt" // Example file path

const webClient = new Client(discoveryUrl);

try {
	webClient.getFile(filePath) // Downloads file to path.txt
} catch (e) {
	pass
}

Example usage can be found here:

https://github.com/PelicanPlatform/web-client/blob/main/website/src/app/page.tsx

0.0.6

1 year ago

0.0.4

2 years ago

0.0.1

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.3-beta.2

2 years ago

0.0.3-beta.1

2 years ago

0.0.1-beta.6

2 years ago

0.0.1-beta.5

2 years ago

0.0.1-beta.4

2 years ago

0.0.1-beta.3

2 years ago

0.0.1-beta.2

2 years ago

0.0.1-beta.1

2 years ago

0.0.1-beta.0

2 years ago