@porrametict/my-node-package
v1.0.2
Published
my first node package
Downloads
3
Readme
@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"));