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

servelink

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

servelink - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

9

index.js

@@ -15,3 +15,10 @@ #!/usr/bin/env node

res.writeHead(200, {'Content-Type': 'text/html'});
res.write(`<html><body><a href="${link}">LINK</a></body></html>`);
res.write(`
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>body{margin:20px;} a{font-size:32px;}</style>
</head>
<body><a href="${link}">${link}</a></body>
</html>`);
res.end();

@@ -18,0 +25,0 @@ }).listen(port, function (err) {

2

package.json
{
"name": "servelink",
"version": "0.1.1",
"version": "0.1.2",
"description": "Serve a simple webpage containing just an <a> tag with a given link",

@@ -5,0 +5,0 @@ "main": "index.js",

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