send
send copied to clipboard
[fix] npm i @koa/send
When I enter:
npm i @koa/send
I see:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@koa%2fsend - Not found
npm ERR! 404
npm ERR! 404 '@koa/send@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Checklist
- [x] I have searched through GitHub issues for similar issues.
- [x] I have completely read through the README and documentation.
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 https://github.com/koajs/send/commit/61f8be38e662cc7ffbf550c13f49fbfe495e5826)
Unclear why the package was renamed, but for now you'll need to npm i koa-send instead, or install from github commit.
Thanx!
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
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.
Still waiting on https://github.com/koajs/koa-range to get published too.
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
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.
thx for the tip
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.