Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util/mod.ts>detectPackage

Package publishing for deno.land/x/polkadot
Go to Latest
function detectPackage
import { detectPackage } from "https://deno.land/x/polkadot@0.2.17/util/mod.ts";

Parameters

unnamed 0: PackageJson
optional
pathOrFn:
| FnString
| string
| false
| null
optional
deps: PackageJson[] = [UNSUPPORTED]