Questions tagged [koa]

Koa is a web framework which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.

Koa is a web framework for Node.js, designed by the team behind Express, aiming to be a smaller, more expressive, and more robust foundation for web applications and APIs.

Use this tag if your question is about the application middleware generators and its cascading properties or the use of App.Settings. Note also the existence of the tag if you're using the middleware API with async/await.

Resources

1232 questions
-2
votes
1 answer

Views and Partials for NodeJS?

My project uses Koa2 with Marko on the front. I'm looking to avoid repeating layout HTML that's common on every page. Essentially splitting it out into partials and having a "main" partial (with all the common stuff in it!). I'm from the "Rails…
Qasim
  • 1,554
  • 1
  • 13
  • 22
-2
votes
2 answers

JS Regex to match Chars with - or without -

I want to be able to match either of the following: unitedstatesofamerica united-states-of-america so match on chars with or without dashes, allow either. the purpose of this is so I can allow uris coming into my router to match on. for example I…
PositiveGuy
  • 17,621
  • 26
  • 79
  • 138
1 2 3
82
83