1.4.3 • Published 1 year ago

@piktorika/vink v1.4.3

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

Vink

A library that allows users to generate API routes from an specified file system.

Demos

Installation

npm

npm install @piktorika/vink

pnpm

pnpm install @piktorika/vink

Usage

import express from "express";

import {loadRoutes} from "@piktorika/vink";

const app = express();
const applicationPort = 3001;

// your initial express setup

const loadedRoutes = await loadRoutes("./relative-path-to-routes-folder");

app.use("/", loadedRoutes);

app.start(applicationPort);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.4

2 years ago

1.3.3

2 years ago