caolan / caolan/highland

question, map() vs through()

Open
#546 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.4k
Forks
145
PR merge metrics
No merged PRs in 30d

Description

Sorry. This is probably a very noob question but I don't see why there is a .map() function when .through() seems to do the same exact thing or more. Is there some underlying behavioral difference? When would you choose one over the other?

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reviewing Highland's public API documentation and the implementations of map() and through(); done would be documenting their behavioral difference and when each should be chosen.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.