UNPKG

mikeredmond-test-npm-github-app

Version:
32 lines (19 loc) 550 B
# mikeredmond-test-npm-github-app A simple Hello World npm package that provides a greeting function. ## Installation ```bash npm install mikeredmond-test-npm-github-app ``` ## Usage ```typescript 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