1.0.2 • Published 2 years ago

@porrametict/my-node-package v1.0.2

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

@porrametict/my-node-package

A simple Node.js package for greeting users.

Installation

npm install @porrametict/my-node-package

Usage

const myNodePackage = require("@porrametict/my-node-package");

// Use the greet function
console.log(myNodePackage.greet("John"));

API

greet(name:string): string Generates a greeting for the specified name.

  • name (string): The name to greet. Returns a greeting message.

Example

const myNodePackage = require("@porrametict/my-node-package");

// Use the greet function
console.log(myNodePackage.greet("Alice"));