Socket
Book a DemoInstallSign in
Socket

@bconnorwhite/module

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bconnorwhite/module

Set commander version based on your module's package.json.

Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@bconnorwhite/module

dependencies typescript npm

Set commander version based on your module's package.json.

yarn add @bconnorwhite/module
Example usage:
import { program } from "commander";
import { getPackageJSON, version, getVersion } from "@bconnorwhite/module";

// Set commander version
version(program); // program.version(version);

// Get version from package.json
getVersion() => string | undefined;

// Get full package.json
getPackageJSON() => PackageJSON | undefined;

Keywords

commander

FAQs

Package last updated on 17 Aug 2020

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