v1.0.0
π¦ Prepared reponse classes for Deno.
Repository
Current version released
3 years ago
Dependencies
std
Versions
Allo Reponses for Deno π¦
Prepared reponse classes for Deno.
Classes
TextResponse
const r = new TextResponse('Lorem ipsum');
JsonResponse
const r = new JsonResponse([{ foo: bar }]);
HtmlResponse
const r = new HtmlResponse('<h1>Hello World</h1>');
FileResponse
const r = new FileResponse('/path/to/file.ext');
const file: File = /*...*/;
const r = new FileResponse(file);
const file: Deno.FsFile = /*...*/;
const r = new FileResponse(file);
Documentation π
Description of all classes and methods with examples will found in the documentation.
Check out other ours packages π¦!