@mikeyredmond/mikeredmond-test-npm-github-app
v2.0.10
Published
A simple Hello World npm package
Readme
mikeredmond-test-npm-github-app
A simple Hello World npm package that provides a greeting function.
Installation
npm install mikeredmond-test-npm-github-appUsage
import { sayHello } from "mikeredmond-test-npm-github-app";
// Default greeting
console.log(sayHello()); // Output: Hello, World!
// Custom greeting
console.log(sayHello("John")); // Output: Hello, John!API
sayHello(name?: string): string
Returns a greeting message. If no name is provided, defaults to "World".
License
MIT
