@sujeetmainali/hello-world
v2.0.0
Published
This is a simple hello world package
Readme
@sujeetmainali/hello-world
A simple Hello World npm package written in TypeScript.
This package provides a utility to print a greeting to the console.
Installation
# Using npm
npm install @sujeetmainali/hello-world
# Or using Yarn
yarn add @sujeetmainali/hello-world
Example usage
import { hello } from '@sujeetmainali/hello-world';
// Default greeting
hello(); // Output: Hello, world!
hello('Sujeet'); // Output: Hello, Sujeet!