Last active
May 31, 2021 13:00
-
-
Save ApoTheOne/4c0ee845e148e88a694281e1d787535a to your computer and use it in GitHub Desktop.
NodeJs commands and IQ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node -v | |
node -p 'process.versions.v8' | |
node --v8-options | grep "in progress" | |
node --v8-options | less | |
node --v8-options | grep gc | |
// Manually call GC : Handle with care as it will pause all executions so use it wisely. | |
node --expose-gc -e "gc()" | |
node | |
> v8 | |
> v9.getHeapStatistics() | |
//To resolve SSL error while installing node or packages behind coporate proxy: | |
npm config set https-proxy `proxy-url` | |
even loop | |
call back | |
promises | |
authentication authorization | |
how to read large files | |
Diff types of streams | |
single threaded | |
utilize all cores of cpu | |
exception handling | |
fork vs spawn | |
private variables in js | |
closures | |
mixins | |
design patterns | |
host node.js api in? | |
how to leverage multi core when it's single threaded | |
Unit testing | |
test runner? assertion lib? Mocha, chai, jasmine | |
vs Jest | |
Functional programming | |
Pure functions | |
inheritance vs Prototypal inheritance | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment