New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@atools/pm

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atools/pm

a tiny package manager.

latest
npmnpm
Version
1.0.12
Version published
Maintainers
0
Created
Source


pm


💡 Monorepo Tiny Package Manager = Packages + Handles.

You may not need lerna.


About

📦 a tiny package manager.

Quick Start

Step 1

$ npm install -D @atools/pm

Step 2

"scripts": {
  "pm_install": "./node_modules/.bin/pm run install"
}

Advanced Usage

.pmrc.js

const path = require("path");
module.exports = {
  root: path.join(__dirname, "./_fixtures/packages"),
  hooks: {
    cmd: {
      beforeExec: function (cmd) {
        if (cmd === "npm i") {
          return "cnpm ii";
        } else if (cmd === "npm uninstall") {
          return "cnpm uninstall";
        }
      },
    },
  },
};

Internal Handles

  • cmd / install
  • cmd / uninstall

FAQs

Package last updated on 31 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts