
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
obj-branch is a JavaScript module that facilitates operations on adjacent fields of an object It allows you to make operations on next to next object fields in a convenient way.
To use obj-branch, you can install it via npm:
npm install obj-branch
| Operations | Syntax | Usage |
|---|---|---|
| add | $add | to add |
| sub | $sub | to sub |
| multiplication | $mul | to multiplication |
| divide | $divide | to divide |
| module | $mod | to module |
const objBranch = require('objBranch');
// It must be a Array
const myObject = [
{name:'qwertuhh',age:12,totalMarks:89},
{name:'hopi',age:13,totalMarks:69},
{name:'qwertuhh',age:11,totalMarks:70}
];
// creating branch
//const <name> = new objbranch(<branchName>,<data>)
const marks = new objBranch('marks',myObject);
// making operation to branch
// <branch_name>.branch(<fieldname>:{<operations>:[<fieldname>,<fieldname>]});
const branch_marks = marks.branch({totalMarks:{$add:['branching','$age']}})
Contributions are always welcome!
See other repository for ways to get started.
Contributions are welcome! If you’d like to improve obj-branch, feel free to submit pull requests. Please follow our coding standards and provide clear commit messages.
Stay tuned for more updates and enhancements to this project. We are constantly working to improve and add new features. If you would like to contribute or have any suggestions, please feel free to open an issue or submit a pull request.
For the latest news and updates, keep an eye on this section. Your feedback and contributions are greatly appreciated as we continue to make this project even better!
This project is licensed under the MIT License. MIT
FAQs
to do next to next operation on field
We found that objbranch 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.