GithubHelp home page GithubHelp logo

zs0723 / connect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from senchalabs/connect

1.0 1.0 0.0 4.35 MB

Connect is a middleware layer for Node.js

Home Page: http://senchalabs.github.com/connect

License: MIT License

connect's Introduction

Connect

Connect is an extensible HTTP server framework for node, providing high performance "plugins" known as middleware.

Connect is bundled with over 14 commonly used middleware, including a logger, session support, cookie parser, and more. Be sure to view the 1.0 documentation.

Middleware

  • csrf
  • basicAuth
  • bodyParser
  • cookieParser
  • directory
  • errorHandler
  • favicon
  • limit
  • logger
  • methodOverride
  • query
  • responsetime
  • session
  • static
  • staticCache
  • vhost

Static file serving

The benchmarks below show the static() middleware requests per second vs static() with the staticCache() cache layer, out performing other popular node modules, while maintaining more features like Range request etc.

  • static(): 2700 rps
  • node-static: 5300 rps
  • static() + staticCache(): 7500 rps

Running Tests

first:

$ npm install -d

then:

$ make test

Authors

Below is the output from git-summary.

 project: connect
 commits: 1727
 files  : 165
 authors: 
  1175	Tj Holowaychuk
   298	visionmedia
   191	Tim Caswell
     8	TJ Holowaychuk
     8	Astro
     5	Nathan Rajlich
     4	Jakub Nešetřil
     3	Daniel Dickison
     3	Alexander Simmerl
     3	Andreas Lind Petersen
     3	David Rio Deiros
     2	Jacques Crocker
     2	Aaron Heckmann
     2	Adam Malcontenti-Wilson
     2	Fabian Jakobs
     2	James Campos
     1	Guillermo Rauch
     1	Jakub Nesetril
     1	Gregory McWhirter
     1	Arthur Taylor
     1	Joshua Peek
     1	Jxck
     1	Marco Sanson
     1	Michael Hemesath
     1	Eran Hammer-Lahav
     1	Craig Barnes
     1	Bart Teeuwisse
     1	Aseem Kishore
     1	Tom Jensen
     1	Trent Mick
     1	nateps
     1	AJ ONeal

Node Compatibility

Connect < 1.x is compatible with node 0.2.x

Connect 1.x is compatible with node 0.4.x

Connect (master) 2.x is compatible with node 0.6.x

CLA

http://sencha.com/cla

License

View the LICENSE file. The Silk icons used by the directory middleware created by/copyright of FAMFAMFAM.

connect's People

Contributors

tj avatar creationix avatar ryanrolds avatar astro avatar zzen avatar tootallnate avatar xla avatar papandreou avatar danieldickison avatar drio avatar adammw avatar fjakobs avatar aeosynth avatar aheckmann avatar aseemk avatar chowey avatar gsmcwhirter avatar rauchg avatar josh avatar jxck avatar marcosanson avatar mhemesath avatar msiebuhr avatar tomjnsn avatar trentm avatar nateps avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.