1.2.3 • Published 26 days ago

@duplojs/routes-directory v1.2.3

Weekly downloads
-
License
ISC
Repository
github
Last release
26 days 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

26 days ago

1.2.0

1 month ago

1.2.2

1 month ago

1.2.1

1 month ago

1.1.0

2 months ago

1.0.0

3 months ago

0.2.3

5 months ago

0.2.2

5 months ago

0.2.1

6 months ago

0.1.1

8 months ago

0.1.0

8 months ago