{"_id":"@financial-times/n-cluster","_rev":"38-cfa4218a2d19e53233b108fa65bb72c2","name":"@financial-times/n-cluster","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0-beta.1":{"name":"@financial-times/n-cluster","version":"1.0.0-beta.1","keywords":[],"author":"","license":"ISC","_id":"@financial-times/n-cluster@1.0.0-beta.1","maintainers":[{"name":"the-ft","email":"strategic.products@ft.com"}],"homepage":"https://github.com/Financial-Times/n-cluster#readme","bugs":{"url":"https://github.com/Financial-Times/n-cluster/issues"},"bin":{"n-cluster":"./index.js"},"dist":{"shasum":"b0dfde7ab635a139e5f28dfbef4b65d633a44532","tarball":"https://registry.npmjs.org/@financial-times/n-cluster/-/n-cluster-1.0.0-beta.1.tgz","integrity":"sha512-pOo10QqYRhFjaGm4A/LfkZs/fXKe6UDupvDWKhJu5SPENdKVgs4VOvtBsf7gJTYZxrzpVC0LU/YnXB76cFpQCw==","signatures":[{"sig":"MEUCIQCDmxP17pSq+zmjNhBn3dgORZygdjeznG1uEPe8Xu4/9AIgAlGfrPyVI1AMgZPy3GiUU+XQSLwzU2z4Qsqm3IyyCGs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","engines":{"node":"^8.1.2"},"gitHead":"d6fbd552bdd412391fa7f09795c889edea2c73c3","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products@ft.com"},"deprecated":"n-cluster is no longer supported. apps should use strong-cluster-control directly","repository":{"url":"git+https://github.com/Financial-Times/n-cluster.git","type":"git"},"_npmVersion":"5.5.1","description":"Utility for clustering node processes on heroku dynos","directories":{},"_nodeVersion":"8.9.3","dependencies":{"cli":"^1.0.1","posix":"^4.1.1","cluster":"^0.7.7","strong-cluster-control":"^2.2.3","@financial-times/n-logger":"^5.5.7"},"devDependencies":{"@financial-times/n-gage":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/n-cluster-1.0.0-beta.1.tgz_1513858920413_0.5914898160845041","host":"s3://npm-registry-packages"}},"1.0.0-beta.3":{"name":"@financial-times/n-cluster","version":"1.0.0-beta.3","keywords":[],"author":"","license":"ISC","_id":"@financial-times/n-cluster@1.0.0-beta.3","maintainers":[{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"callumlocke","email":"callum.locke@gmail.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"the-ft","email":"strategic.products@ft.com"}],"homepage":"https://github.com/Financial-Times/n-cluster#readme","bugs":{"url":"https://github.com/Financial-Times/n-cluster/issues"},"bin":{"n-cluster":"./index.js"},"dist":{"shasum":"3b73e8e648353b1640eb1b2e49cc43beed28ee09","tarball":"https://registry.npmjs.org/@financial-times/n-cluster/-/n-cluster-1.0.0-beta.3.tgz","integrity":"sha512-LX8rf7xI1hxhJ/r3aawnzq3mSo3eVWw7OK2K6GIBdGznf78VeEDKlypidipnM5r0ZBqI8WU7DWjQnoppsnA31w==","signatures":[{"sig":"MEUCICd/ZeadfaJ+drVGhgHYdsww9GJFTA0rHpUfU3AQN48pAiEAt0tPIuAUgNMgHzU3vNpvtJ5ZjD5tNRyJd5py5sPHFwc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","engines":{"node":"^8.1.2"},"gitHead":"1e5c15d5b458f3c660b338b62a0f6877bde97cbe","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products@ft.com"},"deprecated":"n-cluster is no longer supported. apps should use strong-cluster-control directly","repository":{"url":"git+https://github.com/Financial-Times/n-cluster.git","type":"git"},"_npmVersion":"5.5.1","description":"Utility for clustering node processes on heroku dynos","directories":{},"_nodeVersion":"8.9.3","dependencies":{"cli":"^1.0.1","posix":"^4.1.1","cluster":"^0.7.7","strong-cluster-control":"^2.2.3","@financial-times/n-logger":"^5.5.7"},"devDependencies":{"@financial-times/n-gage":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/n-cluster-1.0.0-beta.3.tgz_1515594399219_0.9474077455233783","host":"s3://npm-registry-packages"}},"1.0.0-beta.4":{"name":"@financial-times/n-cluster","version":"1.0.0-beta.4","keywords":[],"author":"","license":"ISC","_id":"@financial-times/n-cluster@1.0.0-beta.4","maintainers":[{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"callumlocke","email":"callum.locke@gmail.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"the-ft","email":"strategic.products@ft.com"}],"homepage":"https://github.com/Financial-Times/n-cluster#readme","bugs":{"url":"https://github.com/Financial-Times/n-cluster/issues"},"bin":{"n-cluster":"./index.js"},"dist":{"shasum":"e43967adc4ddda82b9080548c61df2683619c2a1","tarball":"https://registry.npmjs.org/@financial-times/n-cluster/-/n-cluster-1.0.0-beta.4.tgz","integrity":"sha512-paAcB304qJW5wBWOOTAYQbFoD5axl7ZkhwUFokeYRV9Eku49WpTew4inNs+QK1VlGriY0Y0Rgk+fQNxAflVU4A==","signatures":[{"sig":"MEUCIQCizGO1aFBcW5rDJMRMyhlyvSgFU8fxtaDdqyjnXXu5PwIgC0v8UxrAXo9ZAnde3HrTqSFVapE1rCEw0Sqdui0R+vo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","engines":{"node":"^8.1.2"},"gitHead":"9d4033734aad631749678d843b6a08bb63a13ca0","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products@ft.com"},"deprecated":"n-cluster is no longer supported. apps should use strong-cluster-control directly","repository":{"url":"git+https://github.com/Financial-Times/n-cluster.git","type":"git"},"_npmVersion":"5.5.1","description":"Utility for clustering node processes on heroku dynos","directories":{},"_nodeVersion":"8.9.3","dependencies":{"cli":"^1.0.1","posix":"^4.1.1","cluster":"^0.7.7","strong-cluster-control":"^2.2.3","@financial-times/n-logger":"^5.5.7"},"devDependencies":{"@financial-times/n-gage":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/n-cluster-1.0.0-beta.4.tgz_1516722252523_0.1069542991463095","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@financial-times/n-cluster","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@financial-times/n-cluster@1.0.0","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"callumlocke","email":"callum.locke@gmail.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"quarterto","email":"mwr.brennan@gmail.com"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"the-ft","email":"strategic.products@ft.com"}],"homepage":"https://github.com/Financial-Times/n-cluster#readme","bugs":{"url":"https://github.com/Financial-Times/n-cluster/issues"},"bin":{"n-cluster":"./index.js"},"dist":{"shasum":"abc232fdee2b5b46bfa281dbfb55faf5a702adca","tarball":"https://registry.npmjs.org/@financial-times/n-cluster/-/n-cluster-1.0.0.tgz","fileCount":7,"integrity":"sha512-qIjLN5DBBa74ej3RgJ8R0yyk+ca7x98c6tuoSNldGbJiOAwUtFYfZzPxxGSfRcciP65c0GU4v+YP2LUX18ZW5w==","signatures":[{"sig":"MEUCIEpPJ24NSKBYZ1ydBV+7jfyXM2o4LBqLERnqdcEU49WgAiEA7EtmF6D7ee7IV+CTz+k1JfJkYdS7y+RaCVur8PnIIT4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3551},"main":"index.js","engines":{"node":"^8.1.2"},"gitHead":"9d4033734aad631749678d843b6a08bb63a13ca0","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"deprecated":"n-cluster is no longer supported. apps should use strong-cluster-control directly","repository":{"url":"git+https://github.com/Financial-Times/n-cluster.git","type":"git"},"_npmVersion":"5.5.1","description":"Utility for clustering node processes on heroku dynos","directories":{},"_nodeVersion":"8.9.3","dependencies":{"cli":"^1.0.1","posix":"^4.1.1","cluster":"^0.7.7","strong-cluster-control":"^2.2.3","@financial-times/n-logger":"^5.5.7"},"_hasShrinkwrap":false,"devDependencies":{"@financial-times/n-gage":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/n-cluster_1.0.0_1520505225969_0.04919920107317588","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@financial-times/n-cluster","version":"2.0.0","keywords":[],"author":"","license":"ISC","_id":"@financial-times/n-cluster@2.0.0","maintainers":[{"name":"alexwilson","email":"a@ax.gy"},{"name":"conor-mullen","email":"conor.mullen@ft.com"},{"name":"tatiana.stantonian","email":"tatiana.stantonian@ft.com"},{"name":"notlee","email":"lee@leemoody.co.uk"},{"name":"chee","email":"chee@snoot.club"},{"name":"briggsc","email":"charlie.briggs@bbc.co.uk"},{"name":"the-ft","email":"strategic.products+npm@ft.com"},{"name":"quarterto","email":"kara@153.io"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"}],"homepage":"https://github.com/Financial-Times/n-cluster#readme","bugs":{"url":"https://github.com/Financial-Times/n-cluster/issues"},"bin":{"n-cluster":"index.js"},"dist":{"shasum":"5acc975503ecfd7655759672fd4751b390fb52be","tarball":"https://registry.npmjs.org/@financial-times/n-cluster/-/n-cluster-2.0.0.tgz","fileCount":30,"integrity":"sha512-GRwHiJucJrLqLvSyb/rRbO+x3ZOXM+g6jElvqVPkbMt/r7i4vix6H6OTfrKRs3TfewMshOO5NeAUuAHdJI9l3w==","signatures":[{"sig":"MEUCIBOz05HL8rX0wAeCBBjhyPGmLmFLf74lWIgEJuDEc1tSAiEAjbWAsQE7jBpSDEAvkZ4mOes/yqGgGV24lOn5aPq5Tgc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":349284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2HD1CRA9TVsSAnZWagAALZ0P/jEV4v77E1tt/O0lftdF\nDX9R0VVEex6U/jljMNN4oDXPJWrQ8PVSthQ+qGDVtDa3rTvM9dJXAzAtNBeN\nOGuFpZjYhpiGi+1WucgjK9uCq0cOiOeqXH8sM5IF1brF+Yvkl5QrsHC0dP8u\nZ/CrUz9gwEP7F5xeMCVEt9B40dVSg8kVePElqRujypebiNupd1iBtaGgYifn\nj2uW+UgNLYuHHdGDhoo5griuoV/eDcqLANszRxUG1Z2uvsLe/GrH7jBDxvbT\n+RguXiGvZo62oJbEiuDWJL3z5XwLZrI1d2CgdOFl7MNxrvCUkSHSef4rNABV\nSF+1+ZnzgAILGT4o1uqsjS57orMhJvytxX9Vn8D7aLNzyb3oKAUBJjGFVKMb\nvWb6OVeKgblFNU9JdBcLGz7GC0tnOXZZ1oVAcGsxT5RO4oE28pljEWnyR/4x\nqZljEL/+dBblTMeeUMOw+s8bObd6F92yCy/KeQf/M9vZBmMoqpprp86oSG4/\nLXdSlPZlYk2QpJIq9KkncQi2wKtyBBuxj0sEH3i5Z8nf9LTxwvddMfreEPDW\nnEitZyDEbBwH9yDOiPwbEs+TaOKTkOk475aflUfldGbvBd7TR2E9lBlLzrrC\ngMnTUEMvuHoT0LU5QvEOoNV+oaYgM08AGnQiytDl8y9UFuiuK71zqCfatH1j\n50l+\r\n=Y8DG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":"12.x"},"gitHead":"c58e651cdea8ac85be45abccdece80d286a56427","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepare":"npx snyk protect || npx snyk protect -d || true","prepush":"make verify -j3","commitmsg":"secret-squirrel-commitmsg","precommit":"secret-squirrel"},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"deprecated":"n-cluster is no longer supported. apps should use strong-cluster-control directly","repository":{"url":"git+https://github.com/Financial-Times/n-cluster.git","type":"git"},"_npmVersion":"6.14.8","description":"Utility for clustering node processes on heroku dynos","directories":{},"_nodeVersion":"12.19.0","dependencies":{"cli":"^1.0.1","posix":"^4.1.1","cluster":"^0.7.7","strong-cluster-control":"^2.2.3","@financial-times/n-logger":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"snyk":"^1.167.2","@financial-times/n-gage":"^3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/n-cluster_2.0.0_1602586339462_0.20027765463877478","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-12-21T12:22:01.215Z","modified":"2026-06-23T15:53:04.539Z","1.0.0-beta.1":"2017-12-21T12:22:01.215Z","1.0.0-beta.3":"2018-01-10T14:26:39.308Z","1.0.0-beta.4":"2018-01-23T15:44:13.502Z","1.0.0":"2018-03-08T10:33:46.054Z","2.0.0":"2020-10-13T10:52:19.643Z"},"bugs":{"url":"https://github.com/Financial-Times/n-cluster/issues"},"license":"ISC","homepage":"https://github.com/Financial-Times/n-cluster#readme","keywords":[],"repository":{"url":"git+https://github.com/Financial-Times/n-cluster.git","type":"git"},"description":"Utility for clustering node processes on heroku dynos","maintainers":[{"email":"code.management@ft.com","name":"the-ft"},{"email":"info+npm@rowanmanning.com","name":"rowanmanning"},{"email":"yay@chee.party","name":"chee"},{"email":"a@ax.gy","name":"alexwilson"},{"email":"howdy@aendra.com","name":"aendra"},{"email":"emma.lewis@ft.com","name":"emmalewis"},{"email":"lee@leemoody.co.uk","name":"notlee"},{"email":"hamza.samih@ft.com","name":"hamza.samih"},{"email":"robert.boulton@ft.com","name":"robertboulton"},{"email":"leila.micollier@ft.com","name":"leila.micollier"},{"email":"rob.godfrey@ft.com","name":"robgodfrey"}],"readme":"# n-cluster\nUtility for clustering node processes on heroku dynos\n\n## Usage\n\n- `n-cluster` - will run either the value in `package.json#main` or `./server/app.js`, and assumes a memory allowance of 512MB is required\n- `n-cluster -s ./server/init.js` - will run `./server/init.js`\n- `n-cluster -m 256` - will assume a memory allowance of 256MB is required\n\nIf an environment variable `N_CLUSTER_MEMORY` is present, this will be used to set the memory allowance per clustered process. This **should only be used** when tweaking to find a goo dvalue for `m`. Once a good value is determined it should be set in the app's `Procfile`, and the environment variable removed.\n","readmeFilename":"README.md"}