- NodeJS LTS (preferrably >= v10)
- Node project
- Go to a Node project root directory. Install with:
npm i @weaponsforge/henlo
-
Run from the command terminal
npx henlo --name=world
-
Run as script within a Node project
- Create a script in the Node project's
package.json
file."scripts": { "hey": "npx henlo --name=world" },
- Run the NPM script
npm run hey
- Create a script in the Node project's
@weaponsforge
20250428