The core shockpkg library.
The core package manager library for shockpkg packages.
import {Manager} from '@shockpkg/core';
const manager = new Manager();
const pkg = 'some-package-name-or-hash';
await manager.update();
await manager.install(pkg);
const file = await manager.file(pkg);
console.log(file);
If you find a bug or have compatibility issues, please open a ticket under issues section for this repository.
Copyright (c) 2018-2024 JrMasterModelBuilder
Licensed under the Mozilla Public License, v. 2.0.
If this license does not work for you, feel free to contact me.