Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/eggjs/koa

Expressive middleware for node.js using ES2017 async functions, forked from koa v2.x
https://github.com/eggjs/koa

docs

97a3d84ec9dcea4d053aaf7433942ad406e221b7 authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove some awkward docs

reads bad on the site

dc20952996003d01fd5dc7c05e175b0419325f11 authored about 11 years ago by TJ Holowaychuk <[email protected]>
docs

4c2410d19c0711b8ce1e9bcdc63b76de7bdca38b authored about 11 years ago by TJ Holowaychuk <[email protected]>
add socket error-handling. Closes #114

1769f9c431ff3ad48b3e76bdc0659bd64dd70776 authored about 11 years ago by TJ Holowaychuk <[email protected]>
lint: remove unused references, fix global leak

0c330ffb1a2832bfdd655f40bbeacf1a2f1e7e81 authored about 11 years ago by Jonathan Ong <[email protected]>
readme: add link to examples

3c3de7be4ea9455f5d3b14359e5f45c6fcdcb45c authored about 11 years ago by Jonathan Ong <[email protected]>
remove errors, hello world, and stream examples

08797ccb0bec33281baef5719f93af794fc3e69d authored about 11 years ago by Jonathan Ong <[email protected]>
remove the compose and cookies examples

moved to koajs/examples with tests

017bfef8ba0f3db61335cb81fdda14360f2e1af3 authored about 11 years ago by Jonathan Ong <[email protected]>
Merge pull request #110 from silvinci/fix/readme-typo-take2

readme: fix various typos [no pluralization]

401559c7f71a6f73f01a4f7295d169f832265692 authored about 11 years ago by TJ Holowaychuk <[email protected]>
refactor ctx.toJSON() to recurse. Closes #108

e78349a73dc0dd1fc5ca6733c5c551480012c702 authored about 11 years ago by TJ Holowaychuk <[email protected]>
readme: fix various typos [no pluralization]

L6: remove redundant "writing".
L99: capitalize "facebook" as "Facebook".

Clean alternative ...

d750d0a9d9fb7a30b6971f106c2478e55739674a authored about 11 years ago by Jan Buschtöns <[email protected]>
change req.is() to return the canonical mime type

a2582e7aa3a2029386d901062d9999cf043966ba authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove null return from .is()

5dfadba96f08b888a5b37699416fbdd341c239ff authored about 11 years ago by TJ Holowaychuk <[email protected]>
add matchesMime() util

48601ea7d80c6bbea821b90869bd76b091249e5f authored about 11 years ago by TJ Holowaychuk <[email protected]>
change an .is() example

text/* already covers it

271d921c4157b4a6444ed396ee51ef84eb5dd3ea authored about 11 years ago by TJ Holowaychuk <[email protected]>
req.is(): make better

closes #105 and #106

8717a3ad2bcada0a16bc7dace6260e087b9b5f09 authored about 11 years ago by Jonathan Ong <[email protected]>
add co-body to blog example

1b9960a28eaa6e16254ba1bc78af99830a0c6414 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add blog example

38ce7c155944df29a48868dc4669c11ed9cb72c8 authored about 11 years ago by TJ Holowaychuk <[email protected]>
docs about middleware composition noop

9c652118a9dcfa3313e2c1663f1b88256f2691ea authored about 11 years ago by TJ Holowaychuk <[email protected]>
docs about yielding control to downstream middleware

1a101818180b2ed2a8ecc1bb2212325cafa5c9e9 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add upload example

4b5c3e9920f24308ec91f042413241f6e2f3120e authored about 11 years ago by TJ Holowaychuk <[email protected]>
add DEBUG usage docs. Closes #41

81d027eca78c00aed4638d40989c9afc41cae588 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add debug() for .listen() and .keys=

309f2ac00e9206a11be41d3349e41b2528c13ab3 authored about 11 years ago by TJ Holowaychuk <[email protected]>
req.acceptsLanguage - default to first type fi header not set

e447e731b684d74c1c56e7e4c80c1dad5b263d4b authored about 11 years ago by Jonathan Ong <[email protected]>
req.acceptsCharsets - default to first type if header not set

c24ab00b231ed2271bb0b30df86b29e48a4d3b77 authored about 11 years ago by Jonathan Ong <[email protected]>
add ctx.remove() and res.remove(). Closes #100

8e10f12d38d01bbc13307927fae3ec55a5eff357 authored about 11 years ago by TJ Holowaychuk <[email protected]>
docs: req.accepts(): throw a 406

e2cd1f02caaa4963acdb11958793559566fff5c5 authored about 11 years ago by Jonathan Ong <[email protected]>
req.accepts: default to first 'type'

1d38d4acd1ff904ef0b6cf0d0fd16dc8e3aca779 authored about 11 years ago by Jonathan Ong <[email protected]>
req.acceptsEncodings: default to 'identity'

5ae3f4eb308835ee3e6902b2915bb5ff3830a880 authored about 11 years ago by Jonathan Ong <[email protected]>
context delegates: response.lastModified and response.etag

only doing setters because i think getters would be pretty confusing.

9d7dd437d7b09ea11d8ffdddf6ca98c0e6e91835 authored about 11 years ago by Jonathan Ong <[email protected]>
docs: add res.lastModified and res.etag among other things

dc873d66e2c649e288190d8aab263085a4ec216f authored about 11 years ago by Jonathan Ong <[email protected]>
app.respond: support 205 status codes as no-content

pretty new to me, but it’s basically the same as 204

1dd1d02db08d2a41169237e0388a5c63621508b0 authored about 11 years ago by Jonathan Ong <[email protected]>
tests: add a 200 HEAD test

purpose of this test is to explictly show how to send a 200 response
when a body is not expected...

16b016f61fa1d95b8e0ecd9409911ab5a31286e4 authored about 11 years ago by Jonathan Ong <[email protected]>
ctx.search and ctx.request.search

28ca80758b51aace9c79b16adafc1404d040bcba authored about 11 years ago by Jonathan Ong <[email protected]>
context: .error() -> .throw()

.error() still works for compatibility, but it will be removed in the
future. closes #94

7d9c6ba66c38c580b3d7a628a364661a5afcd2d5 authored about 11 years ago by Jonathan Ong <[email protected]>
refactor context: move the non-delegated properties up

b88babe5ee9515fd0a68a9b6203e96b66a4ecb6a authored about 11 years ago by Jonathan Ong <[email protected]>
context: cross-reference request and response

9407d7776cedae747c91ab9913fe110164b82e8b authored about 11 years ago by Jonathan Ong <[email protected]>
bump deps

458c5ccfd2e1e700c66fad7fb73be364009eadcf authored about 11 years ago by Jonathan Ong <[email protected]>
add body.close check for HEAD requests

cb682ed9048afc91e0f2d470cdaf1ed86924d4f2 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #89 from koajs/keygrip

add keygrip support

27d1336af50e2634b3a526fcefde6ca6d1a5e5b7 authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix stream leak on HEAD. Closes #91

f3a6f6ae397ff0ab9dbbe750578f1945414b1aae authored about 11 years ago by TJ Holowaychuk <[email protected]>
ocd

f4b7f279eaa8568afbe527eb19ae2861183533c4 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add app.keys support

0362c8e457a8a5fc164e51e9f74916b5d4ce9e26 authored about 11 years ago by Jonathan Ong <[email protected]>
Merge pull request #87 from koajs/original-url

this.originalUrl && this.request.originalUrl

52307eeb72bb942d6fe1831a300596a733bb7eca authored about 11 years ago by TJ Holowaychuk <[email protected]>
conditional middleware need to be `.call(this)`

just realized this since we removed the top closure. i'm not sure if
there's a better way to sol...

98548f04097978f0dad7eb1006766d0a3b4bccb5 authored about 11 years ago by Jonathan Ong <[email protected]>
this.originalUrl && this.request.originalUrl

18c2cd1dacbd332a0fa7def61cc8d61bb2c59f50 authored about 11 years ago by Jonathan Ong <[email protected]>
add .body to Response#inspect()

d23ad1a024532a9df11f4ef23a959fdf212c37bd authored about 11 years ago by TJ Holowaychuk <[email protected]>
add {request,response,context}#toJSON()

35a0c1d2bbf08ba75fc26b60ba79e555d9180fdd authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix 2 test requires

d9940c19314dfc33d7c3d96dbb75de6515024c1a authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge branch 'master' of github.com:koajs/koa

db22fba86d797d87a1c000903430de0906a7d030 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #85 from koajs/expose-proto

Expose proto

64fa0b5c2a0cc4c56de8ebbf9ce7cfdb7b30ddf9 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge branch 'master' of github.com:koajs/koa

d247e7835c515059b4b2aa0c35cdb90f8897d06e authored about 11 years ago by TJ Holowaychuk <[email protected]>
response.etag: remove getter for now

until we figure out a good way to return both weak and strong validators

e51e85e0fcc8765aa9753cd1e73cc05a7725ca05 authored about 11 years ago by Jonathan Ong <[email protected]>
refactor res.etag= regexp

088fcfd3a6ea96699fb9821e57ba154b777bb15d authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #86 from koajs/etag-lastmodified

response.etag and response.lastModified

12dda03b839331bf86878611296f4bac6cf51065 authored about 11 years ago by TJ Holowaychuk <[email protected]>
response.etag and response.lastModified

2f74207e6c86b06037dd159899e3b0c3ac7b4954 authored about 11 years ago by Jonathan Ong <[email protected]>
add tests for exposing app-specific prototypes

e6cd31ce2f4fc01435cdb7a846d0df578c0d20d0 authored about 11 years ago by Jonathan Ong <[email protected]>
expose app-specific prototypes, cleanup/fix tests

0be144211189c0ebd2ca059d7f1ee2e72b2ac6b9 authored about 11 years ago by Jonathan Ong <[email protected]>
Makefile: add test/application

5467f98558c13340a752c575fcc45db257387b6c authored about 11 years ago by Jonathan Ong <[email protected]>
fix ctx.ip

need tests for this

93f1bce66fa801926c040189b8445eabb64cdf55 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #83 from koajs/add/ctx-request-response

Add/ctx request response

b1e5e6c6d49c239ecbe41c069d330991b8c5a493 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add koa Request / Response objects and delegation. Closes #52

c699c75c52bc96ba6c3dfc0202a55b76832d7192 authored about 11 years ago by TJ Holowaychuk <[email protected]>
ugh travis is outdated

4cc5b30fb1f85a96b052daeea877d7a8e06e751a authored about 11 years ago by Jonathan Ong <[email protected]>
docs

242ec58f9d9faa161500ef39f0aced75546f1b30 authored about 11 years ago by TJ Holowaychuk <[email protected]>
update co for object yielding

b659c7451096bd0e12c1abdb1950a36ed9a6abc5 authored about 11 years ago by TJ Holowaychuk <[email protected]>
update benchmarks in docs

d69b20b97ce31e0db7f384ef48b094d8def9891e authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix benchmarks for wrk(1) 3.x

91cdfefc4f8728feb6e2e0a46c19455381e72745 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #81 from coderhaoxin/master

correct the link

a1d7140b7b1db5094470d925c4a16a9a48ac1ada authored about 11 years ago by Jonathan Ong <[email protected]>
correct the link

49bdd1d6edddf5cfe7e52f693edefa4db85f80db authored about 11 years ago by haoxin <[email protected]>
add hello-world example

3e56d82184643f1a42a4bcff5ee5e013a25cb62e authored about 11 years ago by TJ Holowaychuk <[email protected]>
update guide docs for new middleware style

9ee6ada2d5c2f8d3faf3cee29a1b9a80f0e19ee4 authored about 11 years ago by TJ Holowaychuk <[email protected]>
ctx.redirect(): only set status code if not already a valid redirect status code

specifically 3xx codes except for 304. closes #66

ee6dce83af1c80e0b3a48fd20e4ca04a9acd5ad4 authored about 11 years ago by Jonathan Ong <[email protected]>
add ctx.query docs to clarify lack of nested object support

22c035bbea52cd40d4c3b28c3c08a42f062e9d95 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #77 from koajs/refactor/accept-methods

replace content-negotiation accessors with 0-arity method calls

5bbe362294d7f1e292b52859c2df9e211f9467f7 authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove content-negotiation accessor methods, replace with method equivalents

3dd172d032c4257912656b12cba494c2c4ec9646 authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove trailer methods

less common than .auth which we removed as well but we can
add them back if it becomes a common ...

cf580dbaf3868aae34286899faf66c2d0abc2e4c authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove a few redundant methods for header field values

8b64343813153c46b35403c3766d125968ffc53e authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge branch 'master' of github.com:koajs/koa

9778933e251afe64294b70fb7be7784b93b0c410 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add docs for .headersSent alias

770183771e526e012a2b943414538e4226804e78 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #74 from koajs/req-res-next

pass an optional `next` to app.callback()

1536d4df290ce38fe2449659677851bedcefbaba authored about 11 years ago by TJ Holowaychuk <[email protected]>
another negotiator 3.0 fix

836679c61020b5d775f33ea97ec7a8f749df7aa6 authored about 11 years ago by Jonathan Ong <[email protected]>
fix negotiator 3.0 change

i'm not sure if this is incorrect. people should use `accepts()`
anyways.

a129d41cc1258fa31032ce5ac0d15a1f2df3a765 authored about 11 years ago by Jonathan Ong <[email protected]>
update and loosen dependencies

pretty annoying to continuously update these. we'll start pining them
when you can actually use ...

f0ecaaff50fdd1e4db5f0c816718553d9540f496 authored about 11 years ago by Jonathan Ong <[email protected]>
pass an optional `next` to app.callback()

accb1d6a611d18773e84f8b6e076dad546f3f91f authored about 11 years ago by Jonathan Ong <[email protected]>
travis badge

01e0f838e66a7371cf1a6c936d2b26a4ce164f75 authored about 11 years ago by Jonathan Ong <[email protected]>
remove unused var

2a7b6d07bf4c0d5f3e138c3726965370e020688b authored about 11 years ago by Jonathan Ong <[email protected]>
remove closure wrap in examples thanks to compose 2.0

611dec10f2c8295b866ebab55f18ac4368312951 authored about 11 years ago by Jonathan Ong <[email protected]>
remove unnecessary closure

1bcf9b413f499118ccb5bbd8f5cd9651b8a9c596 authored about 11 years ago by Jonathan Ong <[email protected]>
remove app.context() from docs

b35929dc3a385ac994fdd69a0340a9e67499dcc3 authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove app.context() for now

get away from promoting the extension of prototypes, aside
from it looking better there isnt rea...

c1bed668bdd1a6351d5fdc7b839068e6a1f2e770 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Release 0.0.2

8ee8abcc3268189c3f44abfb64d42903a87c4d5e authored about 11 years ago by TJ Holowaychuk <[email protected]>
update readme middleware style

399e2ad2551d803dd763a3204ea260080650f40a authored about 11 years ago by TJ Holowaychuk <[email protected]>
add new style middleware support through @jonathanong's koa-compose patch

2d35cdff500bee091d4428c7b1bc463171490137 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add cookie docs

a9ae5630514dc610fac79233d6d267cfd84b8a25 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #60 from jonathanong/warn-context-overwrite

debug context: notify if a property is being overwritten

3c3b81b9604051f8a13e2b74fddc4cb059ae74fc authored about 11 years ago by Jonathan Ong <[email protected]>
add additional node.js aliases

f96164737756db25ab6924da8a3eeb5ff86b1029 authored about 11 years ago by Jonathan Ong <[email protected]>
statusCode alias for status

for node

fbfeffa09010e77636cbcc9ad99a8bf561af8c7c authored about 11 years ago by Jonathan Ong <[email protected]>
headersSent alias for headerSent

i like keeping things as similar to node as possible :)

6492f2ca4aab72e8f1cd18d15da21eebfb4d96bd authored about 11 years ago by Jonathan Ong <[email protected]>
only listen to stream errors if not already

cb60fb872ac404b60d692fa0ce667074066ada08 authored about 11 years ago by Jonathan Ong <[email protected]>
update co to 2.0

18109777007b3197da807a41ebc875c1b7327c6b authored about 11 years ago by TJ Holowaychuk <[email protected]>