Current collected state Current
Observed since 20 Oct, 22:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0x-jerry/load-pkg
Detect the closest `package.json` recursively.
Detect the closest package.json recursively.
const pkgFile = await loadPkg(path.join(__dirname, 'example/packages/pkg1'))
console.log(pkgFile)
output:
{
"path": "<root-path>/example/packages/pkg1/package.json",
"config": {}, // content of `package.json`
"monorepo": false,
"parent": {
"path": "<root-path>/example/package.json",
"config": {}, // content of `package.json`
"monorepo": true,
"parent": {
"path": "<root-path>/package.json",
"config": {}, // content of `package.json`
"monorepo": false
}
}
}
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
@0x-jerry/x-releaseEnvironment{
"local_name": "@0x-jerry/x-release",
"alias": false,
"peer_metadata": null
} | ^2.2.0 | development |
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^20.12.12 | development |
c8Environment{
"local_name": "c8",
"alias": false,
"peer_metadata": null
} | ^9.1.0 | development |
tsupEnvironment{
"local_name": "tsup",
"alias": false,
"peer_metadata": null
} | ^8.0.2 | development |
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^5.4.5 | development |
vitestEnvironment{
"local_name": "vitest",
"alias": false,
"peer_metadata": null
} | ^1.6.0 | development |
Source distribution
{
"integrity": "sha512-OsG9WZfCDzLaIC5t7HNHAYdpvZEf5efs/+fLEXsbOQr3IdZyMuWA27utAOsrNwTfl1BCgr6+r048ZyMd9YE72Q==",
"shasum": "4979fa1712bf2395b038c27626052674ba0f119f",
"tarball": "https://registry.npmjs.org/@0x-jerry/load-pkg/-/load-pkg-0.1.5.tgz",
"fileCount": 5,
"unpackedSize": 4780,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIECGVpw/7wiY+oKV6e1+VHJq9NUMXa6G31u0lJ24tXHxAiEAmwCh6VFIhnWf0k+XqR10Odri5cIAIMdNEagzPutli/w="
}
]
}Observed since 20 Oct, 22:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:26ce6c5cc161ef84ecd19d5c6a8eedd5b728055ba9fa00c14df25d5d24e7e7af