Nutmeg Pumpkin Macchiato

    @shockpkg/core
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    shockpkg Core

    The core shockpkg library.

    npm node

    size downloads

    Build Status

    Overview

    The core package manager library for shockpkg packages.

    Usage

    Basic Usage

    import {Manager} from '@shockpkg/core';
    
    async function main() {
    	const manager = new Manager();
    	await manager.with(async manager => {
    		await manager.update();
    
    		await manager.install('some-package-name-or-hash');
    	});
    }
    
    main().catch(err => {
    	process.exitCode = 1;
    	console.error(err);
    });

    Bugs

    If you find a bug or have compatibility issues, please open a ticket under issues section for this repository.

    License

    Copyright (c) 2018-2022 JrMasterModelBuilder

    Licensed under the Mozilla Public License, v. 2.0.

    If this license does not work for you, feel free to contact me.

    Install

    npm i @shockpkg/core

    DownloadsWeekly Downloads

    88

    Version

    2.0.0

    License

    MPL-2.0

    Unpacked Size

    454 kB

    Total Files

    64

    Last publish

    Collaborators

    • jrmastermodelbuilder