D
Deno
Change Theme
Search Answer Overflow
Login
markthree
Posts
Comments
D
Deno
•
Created by Kojo.gg on 10/18/2023 in
#help
Deno equivalent os.cpus().length
I've raised an issue for all to discuss
https://github.com/denoland/deno/issues/20933
7 replies
D
Deno
•
Created by Kojo.gg on 10/18/2023 in
#help
Deno equivalent os.cpus().length
Yes, I also think this is the missing part of the deno native api
7 replies
D
Deno
•
Created by Kojo.gg on 10/18/2023 in
#help
Deno equivalent os.cpus().length
No built-in api, but compatible with node you can try it in deno 👇
import
os
from
"node:os"
;
console.
log
(os.
cpus
().
length
);
import
os
from
"node:os"
;
console.
log
(os.
cpus
().
length
);
7 replies
D
Deno
•
Created by Josh on 7/6/2023 in
#help
Migrating large Node project to Deno
Maybe in the future deno will be able to run node projects directly without refactoring them
11 replies