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

30
fresh.gen.ts Normal file
View File

@@ -0,0 +1,30 @@
// DO NOT EDIT. This file is generated by fresh.
// This file SHOULD be checked into source version control.
// This file is automatically updated during development when running `dev.ts`.
import config from "./deno.json" assert { type: "json" };
import * as $0 from "./routes/[name].tsx";
import * as $1 from "./routes/analyze.tsx";
import * as $2 from "./routes/api/npm.ts";
import * as $3 from "./routes/api/npmregistry.ts";
import * as $4 from "./routes/index.tsx";
import * as $$0 from "./islands/ListPackageDetails.tsx";
import * as $$1 from "./islands/UploadButton.tsx";
const manifest = {
routes: {
"./routes/[name].tsx": $0,
"./routes/analyze.tsx": $1,
"./routes/api/npm.ts": $2,
"./routes/api/npmregistry.ts": $3,
"./routes/index.tsx": $4,
},
islands: {
"./islands/ListPackageDetails.tsx": $$0,
"./islands/UploadButton.tsx": $$1,
},
baseUrl: import.meta.url,
config,
};
export default manifest;