* Implements Basic Routing and API * Implements Package.json file select and json parse * Displays Project Name, Version & Desc from the package.json * Fetch all package details using npm registry API and map it based on package name
17 lines
340 B
TypeScript
17 lines
340 B
TypeScript
import { Head } from "$fresh/runtime.ts";
|
|
import { Handlers } from "$fresh/server.ts";
|
|
import UploadButton from "../islands/UploadButton.tsx";
|
|
|
|
export default function Home() {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Package Analyzer</title>
|
|
</Head>
|
|
<div>
|
|
<UploadButton></UploadButton>
|
|
</div>
|
|
</>
|
|
);
|
|
}
|