@colstonjs/cors
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc.1 • Public • Published

cors

Colstonjs cors

bun add @colstonjs/cors

Usage

import cors from '@colstonjs/cors';
import Colston from '@colstonjs/core';

const app: Colston = new Colston();

app.use(cors())

app.listen(8000, () => console.log(':listening'));

See the docs for more information on cors handling in Colstonjs.

Readme

Keywords

none

Package Sidebar

Install

npm i @colstonjs/cors

Weekly Downloads

2

Version

1.0.0-rc.1

License

SEE LICENSE IN LICENSE

Unpacked Size

11.9 kB

Total Files

8

Last publish

Collaborators

  • ajimae