Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

basic-node-server

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basic-node-server - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

bns.js

10

package.json
{
"name": "basic-node-server",
"version": "1.0.4",
"description": "Simple node server for everyone.",
"main": "index.js",
"version": "1.0.5",
"description": "Basic node server for everyone.",
"main": "bns.js",
"scripts": {
"bns": "node index.js"
"start": "node bns"
},

@@ -18,2 +18,2 @@ "repository": {

"license": "MIT"
}
}

@@ -9,3 +9,3 @@ # basic-node-server

```
npm run bns [port]
node bns [port]
```

@@ -16,4 +16,5 @@

For example, if you want to serve the current directory on port 8080, you would run:
```
npm run bns 8080
node bns 8080
```

@@ -29,6 +30,6 @@

Then, to run it, run from your project directory:
Then, you can run it from your project directory:
```
node node_modules/basic-node-server/index.js [port]
```
node node_modules/basic-node-server/bns [port]
```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc