1.0.2 • Published 3 years ago

secure-port v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago