1.1.0 • Published 9 months ago

connector-api v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Connector API - Easy way to create and manage https requests between aplications

Install

npm i connector-api

Getting Started

import Connector from "connector-api";

class HelloWorld extends Connector.Method.Get{  // << Creating Connector route/method caled HelloWorld
    constructor(){
        super('hello',async (props) => {
            
            console.log('Hello World') 
            
            this.Status(props.ID,200) // << Returning status code 200 to request
        
        })
    }
}

const TestConnector = new Connector('test',[new HelloWorld]) // << Creating a Connector instance

const server = new Connector.Server(3000,[TestConnector]) // << Creating a Connector Server 

Full Documentation

Portuguese-BR

1.1.0

9 months ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago