1.0.2 • Published 3 years ago
secure-port v1.0.2
About the Package
Host something on a Random/Secured Port
Installation
npm install secure-port --save
Import it into your Project:
const openPortwithSecurity = require('secure-port');
openPortwithSecurity({
output: true / false,
error_message: Your error Message,
content: <p>Hello World!</p> // Content to host
})
or
import { openPortwithSecurity } from 'secure-port'
openPortwithSecurity({
output: true / false,
error_message: Your error Message,
content: <p>Hello World!</p> // Content to host
})
Options
- output - Wethever there should be an output or not
- error_message - Custom Error Message
- content - Content to host(can be also be html)
People who worked on this Project
aoe#4851