Catalog npm
Back to packageRELEASE DETAILS

1.0.2

npm

100pourcent

Allow NodeJS to use all CPU's cores

corescpunodejs
Published26 Apr 2017
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation

100pourcent.js

Allow NodeJS to use all CPU's cores

That's really easy to use. That's my base code who can use only 1 core of my CPU :

const http = require('http');

	http.createServer((req, res) => {
		res.writeHead(200);
		res.end('hello world\n');
	}).listen(8000);

use NPM to install the 100pourcent module :

npm i 100pourcent

edit the code to require the module and pass our code in argument, in a function :

require("100pourcent")(()=>{
	const http = require('http');

	http.createServer((req, res) => {
		res.writeHead(200);
		res.end('hello world\n');
	}).listen(8000);
});

Then our app can use 100% of the CPU cores

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "f8f209bfbd52bbb8c20bb258d71ef3614385edec",
  "tarball": "https://registry.npmjs.org/100pourcent/-/100pourcent-1.0.2.tgz",
  "integrity": "sha512-6WvEWSTr7RFKcLWYRNldGkjTXpeyeEgpLXjBQsIwIrKK/ifbIvOqyB6irxIZgW4EQP0iC3AUkRlHqU1FR07W4Q==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDgmedsWkDMeV3XdT+FTOYFnymhsVcrmoiYqAFaB9risAIgL2gyg5SxYHreQ2cmmQpNh952X3feQX6LDK+QISB6K1s="
    }
  ]
}

Repository

PENDING
drulac/100pourcent.js

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:59 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:99ef51cd5ffb3373d234ba3126029710aec9269316f94e7cbeeecbf87ee0ffdd

Other collected versions

1.0.126 Apr1.0.026 AprView all collected versions →