the-api-langs
v0.1.1
Published
Langs for the-api
Downloads
13
Readme
the-api langs
Installation
npm i -S the-api-langsUsage
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
