@protik-swachalit/test-npm
v2.1.0
Published
it's package just for testing
Downloads
22
Readme
@protik-swachalit/test-npm
A simple Express.js demo package that returns the current date.
Installation
Using npm:
npm install @protik-swachalit/test-npmUsing pnpm:
pnpm add @protik-swachalit/test-npmUsage
import app from '@protik-swachalit/test-npm';
app.listen(3000, () => {
console.log('Server running on port 3000');
});Then open:
http://localhost:3000You should see:
Hello World!, Today is DD/MM/YYYYExample
import express from 'express';
const app = express();
app.get('/', (req, res) => {
res.send('Hello World!');
});
export default app;Features
- Express.js server
- Simple date formatter
- ES Module support
- Lightweight setup
Requirements
- Node.js 18+
- npm or pnpm
License
ISC
Author
Protik Sarkar
GitHub: https://github.com/protik-swachalit
