Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to be used in express.js #7

Open
tunnckoCore opened this issue Oct 21, 2016 · 2 comments
Open

allow to be used in express.js #7

tunnckoCore opened this issue Oct 21, 2016 · 2 comments

Comments

@tunnckoCore
Copy link
Owner

Not so big and hard thing to be done. Will have new method, for example .expressMiddleware. And we need a better "express compose". Some work is done in compose-middleware, but don't think it is okey... and.. doh it is written in TypeScript - why?

Nevermind. So I'll create express-better-compose first.

@tunnckoCore
Copy link
Owner Author

Hm. Actually, I'm thinking for middlewares to the router using .use method. Which method will be use - so "smart plugins". Which will allow us to add new methods and things through that use method.

@anilanar
Copy link

anilanar commented Mar 5, 2017

doh it is written in TypeScript - why?

Because type safety is more manageable in big organizations than being able to modify all pseudo-types at runtime (do I even need to vocalize this?). If you write library code in typescript, it is trivial to export TS definitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants