
Security News
Inside Lodash’s Security Reset and Maintenance Reboot
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.
@lundiak/react-sum
Advanced tools
ReactJS component to show sum of 2 numbers, as npm package.
npm install --save @lundiak/react-sum
First import this component where you want to use it
import ReactSum from '@lundiak/react-sum'
And you ready to use component in `render()``
<ReactSum />
| Prop | Description | Default value |
|---|---|---|
| a | a | 2 |
| b | b | 2 |
import React, { Component } from 'react';
import ReactSum from '@lundiak/react-sum';
class App extends Component {
render() {
return (
<ReactSum a={2} b={3}/>
);
}
}
export default App;
About npm main, browser and module, jsnext:main, esm, esnext(2017)
If package.json has "main" field but not a "module" field, all files in that package are loaded as CommonJS. If a package.json has a "module" field but not "main" field, all files in that package are loaded as ES Modules. If a package.json has neither "main" nor "module" fields, it will depend on on whether an index.js or a module.js exists in the package as to whether to load files in the package as CommonJS or ES Modules respectively.
About rename .babelrc to babel.config.js and how this fix import-ing issue.
FAQs
Experimental ReactJS component to show sum of 2 numbers.
The npm package @lundiak/react-sum receives a total of 14 weekly downloads. As such, @lundiak/react-sum popularity was classified as not popular.
We found that @lundiak/react-sum demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.