@hackthedev/express-starter 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  This library's purpose is to get rid of the default structure you usually need and create when trying to get an express server up and running in NodeJS. It works so well in fact that you can get a server up and running with only a few lines of code, as many default variables will handle the most basic setup.
4
4
 
5
5
  ```js
6
- import ExpressStarter from "/mnt/SSD/network-z-dev/ExpressStarter/index.mjs"
6
+ import ExpressStarter from "@hackthedev/express-starter"
7
7
  let starter = new ExpressStarter()
8
8
 
9
9
  starter.registerErrorHandlers(); // avoid crashing and enable error logging
package/index.mjs CHANGED
@@ -54,7 +54,7 @@ export default class ExpressStarter {
54
54
  }
55
55
 
56
56
  startHttpServer(port, onStarted = null){
57
- Logger.warn("Starting HTTP Server on port " + port);
57
+ Logger.info("Starting HTTP Server on port " + port);
58
58
 
59
59
  this.server = http.createServer(this.app);
60
60
  this.server.listen(port, async function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hackthedev/express-starter",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "This library's purpose is to get rid of the default structure you usually need and create when trying to get an express server up and running in NodeJS. It works so well in fact that you can get a server up and running with only a few lines of code, as many default variables will handle the most basic setup.",
5
5
  "homepage": "https://github.com/NETWORK-Z-Dev/ExpressStarter#readme",
6
6
  "bugs": {