1.2.3 • Published 1 year ago

@duplojs/routes-directory v1.2.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

duplojs-routes-directory

NPM version

Instalation

npm i @duplojs/routes-directory

Utilisation

import Duplo from "@duplojs/duplojs";
import duploRoutesDirectory, {matchScriptFile} from "@duplojs/routes-directory";

const duplo = Duplo({port: 1506, host: "localhost", environment: "DEV"});

duplo.use(
    duploRoutesDirectory, 
    {
        path: "./routes",
        matchs: [matchScriptFile]
    }
).then(() => duplo.launch());
1.2.3

1 year ago

1.2.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago