Comments (9)
either the readme should be changed to document koa-send
or the package should be published under the currently documented package name @koa/send
, currently this is very confusing
from send.
thx for the tip
from send.
The package is published on npm as koa-send
. When @3imed-jaberi commited the typescript re-write, the package name was switched from koa-send
to @koa/send
but the publish never happened. (this commit 61f8be3)
Unclear why the package was renamed, but for now you'll need to npm i koa-send
instead, or install from github commit.
from send.
Thanx!
from send.
I agree, and the solution I'd like to see is the npm module getting published but koajs and express are both mausoleums and effectively dead/dying so I'm not super hopeful these will happen any time soon.
from send.
Still waiting on https://github.com/koajs/koa-range to get published too.
from send.
I agree, and the solution I'd like to see is the npm module getting published but koajs and express are both mausoleums and effectively dead/dying so I'm not super hopeful these will happen any time soon.
dying? what is used as alternative then? i just migrated 2 small projects to koa cause i thought it might be leaner than express
from send.
Please investiage ranked list
I still use koajs, nest.js uses koajs. It's important.
But, as alternative, you can use fastify at any time.
from send.
i just migrated 2 small projects to koa cause i thought it might be leaner than express
it's definitely leaner than express, and both projects are still quite usable for now.
from send.
Related Issues (20)
- The total size of the file could not be obtained when downloading the file HOT 2
- Why not also support deflate encoding? HOT 1
- it doesnt woking in node version > 10, becuase some API have different usage between module 'mz/fs' and module fs HOT 1
- mz/fs & await HOT 1
- When js file doesn't exist, chrome sometimes makes two requests
- Could we add 304 response statusCode to avoid resending the cached resource? HOT 2
- Add Vary header
- Support If-Modified-Since header HOT 1
- Support for ETag Headers HOT 1
- Set the first parameter of the setHeaders option to Koa Response HOT 2
- Test Failed & Coverage Code don't work !!
- missing LICENSE !
- Send with HTML file HOT 2
- Change send return type to promise HOT 3
- Can't set Content-Type header
- If a filename includes a dot, the extensions property does not work
- [fix] await send() never resolves if file is not found HOT 2
- [fix] npm package is absent HOT 1
- [feat] DESCRIPTIVE TITLE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from send.