@timotheduflos/npm-test
v1.0.1
Published
Npm test package for science
Readme
@timotheduflos/npm-test
A simple greeting utility that returns a personalized welcome message.
Installation
npm install @timotheduflos/npm-testUsage
const { welcome } = require('@timotheduflos/npm-test')
const message = welcome({ name: 'Dupont' })
console.log(message) // "Hello, mr. Dupont"API
welcome({ name })
Returns a formatted greeting string.
| Parameter | Type | Description |
|-----------|------|-------------|
| name | string | The name to include in the greeting |
Returns: string — A greeting in the format Hello, mr. {name}
License
MIT © Timothé Duflos
