/hellonpm

Learn how to publish npm package

Primary LanguageTypeScriptMIT LicenseMIT

hellonpm

Learn how to publish npm package

Installation

Using npm:

npm install @phumo/hellonpm

Using yarn:

yarn add @phumo/hellonpm

Usage

CommonJS:

const hellonpm = require('@phumo/hellonpm').default

hellonpm.hellonpm()
hellonpm.logAuthorInfo()
hellonpm.logLicense()

ESModule:

import hellonpm from '@phumo/hellonpm'

hellonpm.hellonpm()
hellonpm.logAuthorInfo()
hellonpm.logLicense()