0.0.7 • Published 4 years ago

@santhosh2r2/hello-world v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Instruction

exports from module

greeting = "Hi from Santhosh!"

Example using express-js

mkdir test-app && cd test-app
npm install express @santhosh2r2/hello-world --save
touch index.js
## copy the contents of index.js
node index.js

navigate to http://localhost:3000

contents of index.js

const express = require("express");
const helihalo = require("@santhosh2r2/hello-world");

var app = express();

app.get("/", function (req, res) {
  res.send(helihalo.greeting);
});

app.listen(3000, function () {
  console.log("Server started at port 3000");
});
0.0.7

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago