question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pre v2.0 - tests, docs, recipes

See original GitHub issue

tests

  • for dlau/koa-body#15 (multiple fields)
  • for #26 (array data)
  • for options.onerror
  • may need to separate them to test/ dir

docs

  • document index.js
  • document utils.js
  • rich readme

recipes (post-v2)

  • parsing xml body
  • rich examples
  • usage with other middlewares: koa-router, koa-route, koa-resource, more
  • koa@2 way
  • jsonStrict and non-strict
  • extendTypes
  • onerror
  • multipart: custom files and fields names
  • formidable.IncomingForm instance: events handling

Plans for koa@2 support by default, if you don’t want to use koa-convert. Maybe v2.2 or v3.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
creeperyangcommented, Apr 12, 2016

@tunnckoCore Please see #36 and check if qualified.

0reactions
tunnckoCorecommented, Apr 15, 2016

It’s there guys, the awesome v2 😃 Also publish on npm!

Read more comments on GitHub >

github_iconTop Results From Across the Web

semantic-release/pre-releases.md at master
This recipe will walk you through a simple example that uses pre-releases to publish beta versions while working on a future major release...
Read more >
Testing Recipes
Build and test for all possible scenarios. Recipes can contain multiple paths based on conditional logic. Testing allows you to check that all...
Read more >
Using the recipes package for easy pre-processing
The fundamentals of pre-processing your data using recipes · Get the ingredients ( recipe() ): specify the response variable and predictor ...
Read more >
Introduction to testing in ASR
This tutorial walks you through all the important concepts and tools that you need to know to write tests of your recipe.
Read more >
AWS IoT Greengrass component recipe reference
Use the recipe reference to find explanations and examples for how to write component recipes for AWS IoT Greengrass V2.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found