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

@loot.pj/routes

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loot.pj/routes

HTTP-based module for creating routes

  • 0.0.2
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

routes is an HTTP-based module for creating routes

Installation

Use the npm install command:

📦: npm install @loot.pj/routes

Creating Routes

Creating routes is simple, copy and paste the example code:

const routes = require('@loot.pj/routes');
const app = routes.app.definator();

var port = app.randomPort();

app.path('/', (request, response) => {
  response.end('Hello!');
});

app.listen(port, () => {
  console.log('App is listening to port ' + port + '!');
});

Updates

Update Cycle (7:48 AM at 10/9/2022): Added new README!

License

MIT

FAQs

Package last updated on 08 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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