0.0.2 • Published 2 years ago

@rkunihiro/hello v0.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

npm package example

This is a npm package example

npm version npm downloads GitHub stars

Overview

Show "Hello,World!"

Installation

# Locally
npm i @rkunihiro/hello

# Globally
npm i -g @rkunihiro/hello

Usage

Command line

# Show "Hello,World!"
./node_modules/.bin/hello

# Show "Hello,World!"
npx hello

API

CommonJS

const { message } = require("@rkunihiro/hello");

console.log(message()); // Show "Hello,World!"

ES Modules

import { message } from "@rkunihiro/hello";

console.log(message()); // Show "Hello,World!"
0.0.2

2 years ago

0.0.1

2 years ago