Socket
Book a DemoInstallSign in
Socket

cthulhu_js

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
Package was removed
Sorry, it seems this package was removed from the registry

cthulhu_js

^(;,;)^ Cthulhu is a minimul hardend http framework

unpublished
latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

This package is in early development and is lacking core features, right now only basic http serving is supported and little hardening system are implemented such as the method filtering. All support and contribution would be amazing and hopefully cthulhu becomes a main stream module ! Wiki.

// Import the Cthulhu module
const cthulhu = require('cthulhu_js')

// Serve the Webpage '/' allowing only 'GET' and 'POST' requests
cthulhu.server.serve('/', ['GET','POST'], function (req, res){
    res.write('Hello World')   // Write hello to the page
})

// Start the server on port 8080 in hardened mode, Default: 80,false
cthulhu.server.start(8080,true)

:hammer_and_wrench: Installation

This is a Node.js module available through the npm registry.

Installation is done using the npm install command:

$ npm install cthulhu_js

For more help follow our installing guide

:toolbox: Features

  • Http hardening
  • High performance
  • Module routing
  • Redirecting, Caching, Security, Etc
  • Minimul setup

Security Issues

If you discover a vulnerability in Cthulhu, Please review our Security Policies and Procedures.

:scroll: License

GPL-3.0

Keywords

cthulhu

FAQs

Package last updated on 24 Jan 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