# node-children **Repository Path**: mirrors_FGRibreau/node-children ## Basic Information - **Project Name**: node-children - **Description**: Concurrent tasks computation among NodeJS child processes (vertical scaling) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Node Children [![Build Status](https://drone.io/github.com/FGRibreau/node-children/status.png)](https://drone.io/github.com/FGRibreau/node-children/latest) [![Deps](https://david-dm.org/FGRibreau/node-children.png)](https://david-dm.org/FGRibreau/node-children) [![Version](http://badge.fury.io/js/children.png)](http://badge.fury.io/js/children) ============== ![npm](https://nodei.co/npm/children.png) Concurrent tasks computation among nodejs child processes ### Features * Evented API (with [EventEmitter2](https://github.com/hij1nx/EventEmitter2)) * Auto-respawn dead processes * Underscore methods available on child processes ## NPM Install module with: `npm install children` ## [Documentation](http://fgribreau.github.com/node-children/docs/index.html) ## Usage ```javascript var children = require('children')(path.resolve(__dirname, './worker2.js'), { // @see Manager.defaults }); // Start all childrens children.start(function(){ // specify a callback or listen to the `ready` event children.send("hello world"); }); ``` `children` is a collection of child process that implements [~28 underscore methods](http://backbonejs.org/#Collection-Underscore-Methods) ```javascript > children.pluck('pid') [ 47494, 47495, 47496, 47497 ] ``` ## Available events `ready(children)` `message(child)` `respawning:child(child, children)` `spawning:child(child, children)` `spawned:child(child, children)` `killing:child(child, children)` `killed:child(child, children, exitCode, signalCode)` ## Todo * Update documentation * Better examples ## Release History v0.2.2 - Updated doxx (19 oct. 2014) v0.1.0 - Initial commit (17 fev. 2012) ## Donate [Donate Bitcoins](https://coinbase.com/checkouts/fc3041b9d8116e0b98e7d243c4727a30) ## License Copyright (c) 2013 Francois-Guillaume Ribreau Licensed under the MIT license.