Initial Commit

* 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
This commit is contained in:
2023-05-13 11:17:27 +05:30
commit fc0064f6a0
19 changed files with 388 additions and 0 deletions

16
routes/index.tsx Normal file
View File

@@ -0,0 +1,16 @@
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>
</>
);
}