1.0.1 • Published 10 months ago

ro-crate-browser v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

RO-Crate Browser

A React component for browsing RO-Crate content.

Installation

Install the package using npm:

npm install ro-crate-browser

Usage

import React from 'react';
import RoCrateBrowser from 'ro-crate-browser';

const App = () => {
  return (
    <div>
      <h1>RO-Crate Browser Example</h1>
      <RoCrateBrowser crateUrl="path/to/your/ro-crate" useButtonVariant={true} />
    </div>
  );
};

export default App;

Props

  • crateUrl: URL to the RO-Crate JSON file.
  • useButtonVariant: Use button variant for the file and folder links. Default is false.

Development

  • dev: Start the development server using Vite
  • build: Build the project using TypeScript and Vite
  • lint: Run ESLint
  • preview: Preview the built project using Vite
1.0.1

10 months ago

1.0.0

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.5

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago

0.0.0

10 months ago