
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
array-sum-crowe-code-challenge
Advanced tools
sum two arrays and return in an array with integers separated by index
Given two integers represented in arrays, A and B. Where each digit of the integer occupies an index in the array. Write an NPM module that allows a developer to produce the summation of integers A + B as array C.
The resulting array C should be formatted in the same way as A and B, each digit should occupy an index.
123 [1, 2, 3]
+ 456 [4,5,6]
-------
579 [5,7,9]
Another example:
11
+ 15
-------
26
A final example:
111
+ 15
-------
126
Double Digit number
123
+ 398
------
521
It is important that you return an array as the final result.
You can make the assumption that the two method arguments will always be arrays of integers. Don't worry about validating input..
$ npm test
FAQs
sum two arrays and return in an array with integers separated by index
We found that array-sum-crowe-code-challenge demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.