0.2.2 • Published 12 months ago

the-api-routings v0.2.2

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

the-api langs

Installation

npm i -S the-api-langs

Usage

cat index.ts

import { langs } from 'the-api-langs';

const router = new Routings();

router.crud({ table: 'testNews' });

const theAPI = new TheAPI({ routings: [langs, router] });

export default theAPI.up();

bun index.ts

`curl http://localhost:7788/testNews?_lang=de

0.2.2

12 months ago

0.2.1

12 months ago

0.0.1

12 months ago