Skip to content

serviejs/servie-send

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Servie Send

NPM version NPM downloads Build status Test coverage Greenkeeper badge

Create a HTTP response to send using Servie - a thin layer for creating a Response object with correct client-side cache headers.

Installation

npm install servie-send --save

Usage

import { send } from 'servie-send'

function handle (req) {
  return send(req, 'hello world!')
}

TypeScript

This project is written using TypeScript and publishes the definitions directly to NPM.

License

Apache 2.0

About

Generate a HTTP response with client-side cache support

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published