A simple NPM package that prints about Me when executed.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
Make sure you have Node.js and NPM installed on your machine. You can download them from nodejs.org.
-
Clone the repository:
git clone https://github.com/parameshwar-arroju/parameshwardev-npm cd parameshwardev-npm
-
Install dependencies:
npm install
-
Build the project:
npm run build
-
Run the package using
start
:npm start
After building the project, you can use the package globally with npx
. Simply run:
npx parameshwar
-
npm start
: Runs the TypeScript file directly for development purposes. -
npm run build
: Compiles the TypeScript files to JavaScript. -
npx parameshwar
: Runs the compiled JavaScript file.
To publish the package to NPM:
-
Login to NPM:
npm login
-
Publish the package:
npm publish