Skip to content

Repository files navigation

@mapl/headers

Parsing stuff for Mapl.

CORS

CORS header parser for Mapl.

import{headersascors}from'@mapl/headers/cors';app.headers(cors({// A list of allowed headers or a single header (optional)allowHeaders: ...,// A list of allowed methods or a single methods (optional)allowMethods: ...,// A list of headers or a single header to expose (optional)exposeHeaders: ...,// A max age (optional)maxAge: ...,// Whether to allow credentials (optional)allowCredentials: ...
}));

About

Header utilities for Mapl

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages