René's URL Explorer Experiment


Title: GitHub - stenrdj/nodebestpractices: The largest Node.JS best practices list. Curated from the top ranked articles and always updated

Open Graph Title: GitHub - stenrdj/nodebestpractices: The largest Node.JS best practices list. Curated from the top ranked articles and always updated

X Title: GitHub - stenrdj/nodebestpractices: The largest Node.JS best practices list. Curated from the top ranked articles and always updated

Description: The largest Node.JS best practices list. Curated from the top ranked articles and always updated - stenrdj/nodebestpractices

Open Graph Description: The largest Node.JS best practices list. Curated from the top ranked articles and always updated - stenrdj/nodebestpractices

X Description: The largest Node.JS best practices list. Curated from the top ranked articles and always updated - stenrdj/nodebestpractices

Mail addresses
me@goldbergyoni.com
refack@gmail.com

Opengraph URL: https://github.com/stenrdj/nodebestpractices

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:71f5183a-542c-a3da-5e4c-c6c72ba3b8b0
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id8FFA:3CAE76:A33B075:D210247:697EF197
html-safe-nonce8d003a33411f2384624281da6d19719d5956e29fa01a776a1de040851c8e5c2b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkZBOjNDQUU3NjpBMzNCMDc1OkQyMTAyNDc6Njk3RUYxOTciLCJ2aXNpdG9yX2lkIjoiNTQwMjgzODI2NzYzODc3MjExOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9f2c203d542b825e6febbdc9694a3bd116249ce52bb43ddd0f60e99d766d73b4
hovercard-subject-tagrepository:123918345
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/stenrdj/nodebestpractices
twitter:imagehttps://opengraph.githubassets.com/7c6fa7a8fc2f8136b208647978e5776ad469317517c47f3ce49f33b4c8839da3/stenrdj/nodebestpractices
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7c6fa7a8fc2f8136b208647978e5776ad469317517c47f3ce49f33b4c8839da3/stenrdj/nodebestpractices
og:image:altThe largest Node.JS best practices list. Curated from the top ranked articles and always updated - stenrdj/nodebestpractices
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/stenrdj/nodebestpractices git https://github.com/stenrdj/nodebestpractices.git
octolytics-dimension-user_id4211531
octolytics-dimension-user_loginstenrdj
octolytics-dimension-repository_id123918345
octolytics-dimension-repository_nwostenrdj/nodebestpractices
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id103633984
octolytics-dimension-repository_parent_nwogoldbergyoni/nodebestpractices
octolytics-dimension-repository_network_root_id103633984
octolytics-dimension-repository_network_root_nwogoldbergyoni/nodebestpractices
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstenrdj%2Fnodebestpractices
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstenrdj%2Fnodebestpractices
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=stenrdj%2Fnodebestpractices
Reloadhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices
Reloadhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices
Reloadhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices
stenrdj https://patch-diff.githubusercontent.com/stenrdj
nodebestpracticeshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices
goldbergyoni/nodebestpracticeshttps://patch-diff.githubusercontent.com/goldbergyoni/nodebestpractices
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fstenrdj%2Fnodebestpractices
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fstenrdj%2Fnodebestpractices
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fstenrdj%2Fnodebestpractices
twitter.com/nodepractices/https://twitter.com/nodepractices/
CC-BY-SA-4.0 license https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/LICENSE
0 stars https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/stargazers
10.7k forks https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/forks
Branches https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/branches
Tags https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/tags
Activity https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fstenrdj%2Fnodebestpractices
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fstenrdj%2Fnodebestpractices
Code https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices
Pull requests 0 https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/pulls
Actions https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/actions
Projects 0 https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/projects
Security 0 https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/security
Insights https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/pulse
Code https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices
Pull requests https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/pulls
Actions https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/actions
Projects https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/projects
Security https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/security
Insights https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/pulse
Brancheshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/branches
Tagshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/tags
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/branches
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/tags
518 Commitshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/commits/master/
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/commits/master/
assets/imageshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/tree/master/assets/images
assets/imageshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/tree/master/assets/images
sectionshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/tree/master/sections
sectionshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/tree/master/sections
.gitignorehttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/.gitignore
.gitignorehttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/.gitignore
LICENSEhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/README.md
writing-guidelines.mdhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/writing-guidelines.md
writing-guidelines.mdhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/writing-guidelines.md
READMEhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices
CC-BY-SA-4.0 licensehttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#nodejs-best-practices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/banner-2.jpg
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#--
https://camo.githubusercontent.com/e0b29cff7eba3e30d7359a76451235622a2c4455cab5279d4b234a08287831ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652fe29a992532304974656d253230636f756e742532302d2532303533253230426573742532307072616374696365732d626c75652e737667
https://camo.githubusercontent.com/2d0a082772285b0909c0567979220838d1859925e582d8b778f18c85d54453eb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539332538352532304c6173742532307570646174652532302d2532304e6f762532303135253230323031372d677265656e2e737667
https://camo.githubusercontent.com/e9c97c19018ea2ae82110384ef35d593dfbadda0ff63f3051a907b6f86e2a9ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25453225394325393425323055706461746564253230466f7225323056657273696f6e2532302d2532304e6f6465253230382e392d627269676874677265656e2e737667
https://twitter.com/nodepractices/
@nodepracticeshttps://twitter.com/nodepractices/
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#welcome-3-things-you-ought-to-know-first
milestones herehttps://github.com/i0natan/nodebestpractices/milestones?direction=asc&sort=due_date&state=open
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#table-of-contents
Project structure Practices (5)https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#1-project-structure-practices
Error Handling Practices (11) https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#2-error-handling-practices
Code Style Practices (12) https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#3-code-style-practices
Testing And Overall Quality Practices (8) https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#4-testing-and-overall-quality-practices
Going To Production Practices (16) https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#5-going-to-production-practices
coming soonhttps://github.com/i0natan/nodebestpractices/milestones?direction=asc&sort=due_date&state=open
coming soonhttps://github.com/i0natan/nodebestpractices/milestones?direction=asc&sort=due_date&state=open
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#1-project-structure-practices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-11-structure-your-solution-by-components
Read More: structure by componentshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/projectstructre/breakintcomponents.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-12-layer-your-components-keep-express-within-its-boundaries
Read More: layer your apphttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/projectstructre/createlayers.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-13-wrap-common-utilities-as-npm-packages
Read More: Structure by featurehttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/projectstructre/wraputilities.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-14-separate-express-app-and-server
Expresshttps://expressjs.com/
Read More: separate Express 'app' and 'server'https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/projectstructre/separateexpress.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-15-use-environment-aware-secure-and-hierarchical-config
rchttps://www.npmjs.com/package/rc
nconfhttps://www.npmjs.com/package/nconf
confighttps://www.npmjs.com/package/config
Read More: configuration best practiceshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/projectstructre/configguide.md
⬆ Return to tophttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#table-of-contents
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#2-error-handling-practices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-21--use-async-await-or-promises-for-async-error-handling
Read More: avoiding callbackshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/asyncerrorhandling.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-22-use-only-the-built-in-error-object
Read More: using the built-in error objecthttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/useonlythebuiltinerror.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-23-distinguish-operational-vs-programmer-errors
Read More: operational vs programmer errorhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/operationalvsprogrammererror.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-24-handle-errors-centrally-not-within-an-express-middleware
Read More: handling errors in a centralized placehttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/centralizedhandling.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-25-document-api-errors-using-swagger
Read More: documenting errors in Swaggerhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/documentingusingswagger.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-26-shut-the-process-gracefully-when-a-stranger-comes-to-town
Read More: shutting the processhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/shuttingtheprocess.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-27-use-a-mature-logger-to-increase-error-visibility
Read More: using a mature loggerhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/usematurelogger.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-28-test-error-flows-using-your-favorite-test-framework
Read More: testing error flowshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/testingerrorflows.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-29-discover-errors-and-downtime-using-apm-products
Read More: using APM productshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/apmproducts.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-210-catch-unhandled-promise-rejections
Read More: catching unhandled promise rejectionhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/catchunhandledpromiserejection.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-211-fail-fast-validate-arguments-using-a-dedicated-library
Read More: failing fasthttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/errorhandling/failfast.md
⬆ Return to tophttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#table-of-contents
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#3-code-style-practices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-31-use-eslint
ESLinthttps://eslint.org
prettierhttps://www.npmjs.com/package/prettier
beautifyhttps://www.npmjs.com/package/js-beautify
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-32-nodejs-specific-plugins
eslint-plugin-nodehttps://www.npmjs.com/package/eslint-plugin-node
eslint-plugin-mochahttps://www.npmjs.com/package/eslint-plugin-mocha
eslint-plugin-node-securityhttps://www.npmjs.com/package/eslint-plugin-security
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-33-start-a-codeblocks-curly-braces-in-the-same-line
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#code-example
Read more: "Why does a results vary based on curly brace placement?" (Stackoverflow)https://stackoverflow.com/questions/3641519/why-does-a-results-vary-based-on-curly-brace-placement
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-34-dont-forget-the-semicolon
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-35-name-your-functions
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-36-naming-conventions-for-variables-constants-functions-and-classes
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#code-example-1
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-37-prefer-const-over-let-ditch-the-var
shouldn't be used in ES6https://hackernoon.com/why-you-shouldnt-use-var-anymore-f109a58b9b70
Read more: JavaScript ES6+: var, let, or const? https://medium.com/javascript-scene/javascript-es6-var-let-or-const-ba58b8dcde75
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-38-requires-come-first-and-not-inside-functions
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-39-do-require-on-the-folders-not-directly-on-the-files
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#code-example-2
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-310-use-the--operator
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#code-example-3
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-311-use-async-await-avoid-callbacks
Read more: Guide to async await 1.0https://github.com/yortus/asyncawait
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-312-use-fat--arrow-functions
Read mode: It’s Time to Embrace Arrow Functionshttps://medium.com/javascript-scene/familiarity-bias-is-holding-you-back-its-time-to-embrace-arrow-functions-3d37e1a9bb75
⬆ Return to tophttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#table-of-contents
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#4-testing-and-overall-quality-practices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-41-at-the-very-least-write-api-component-testing
Postmanhttps://www.getpostman.com/
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-42-detect-code-issues-with-a-linter
Section 3https://github.com/i0natan/nodebestpractices#3-code-style-practices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-43-carefully-choose-your-ci-platform-jenkins-vs-circleci-vs-travis-vs-rest-of-the-world
Jenkinshttps://jenkins.io/
CircleCIhttps://circleci.com
Read More: Choosing CI platformhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/testingandquality/citools.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-44-constantly-inspect-for-vulnerable-dependencies
nsphttps://github.com/nodesecurity/nsp
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-45-tag-your-tests
Mochahttps://mochajs.org/
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-46-check-your-test-coverage-it-helps-to-identify-wrong-test-patterns
Istanbul/NYC https://github.com/gotwarlost/istanbul
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-47-inspect-for-outdated-packages
npm-check-updateshttps://www.npmjs.com/package/npm-check-updates
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-48-use-docker-compose-for-e2e-testing
⬆ Return to tophttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#table-of-contents
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#5-going-to-production-practices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-51-monitoring
Read More: Monitoring!https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/monitoring.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-52-increase-transparency-using-smart-logging
Read More: Increase transparency using smart logginghttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/smartlogging.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-53-delegate-anything-possible-eg-gzip-ssl-to-a-reverse-proxy
Read More: Delegate anything possible (e.g. gzip, SSL) to a reverse proxyhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/delegatetoproxy.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-54-lock-dependencies
Read More: Lock dependencieshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/lockdependencies.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-55-guard-process-uptime-using-the-right-tool
Read More: Guard process uptime using the right toolhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/guardprocess.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-56-utilize-all-cpu-cores
Read More: Utilize all CPU coreshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/utilizecpu.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-57-create-a-maintenance-endpoint
Read More: Create a ‘maintenance endpoint’https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/createmaintenanceendpoint.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-58-discover-errors-and-downtime-using-apm-products
Read More: Discover errors and downtime using APM productshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/apmproducts.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-59-make-your-code-production-ready
Read More: Make your code production-readyhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/productoncode.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-510-measure-and-guard-the-memory-usage
Read More: Measure and guard the memory usagehttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/measurememory.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-511-get-your-frontend-assets-out-of-node
Read More: Get your frontend assets out of Nodehttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/frontendout.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-512-be-stateless-kill-your-servers-almost-every-day
Read More: Be stateless, kill your Servers almost every dayhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/bestateless.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-513-use-tools-that-automatically-detect-vulnerabilities
Read More: Use tools that automatically detect vulnerabilitieshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/detectvulnerabilities.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-514-assign-transactionid-to-each-log-statement
Read More: Assign ‘TransactionId’ to each log statementhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/assigntransactionid.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-515-set-node_envproduction
Read More: Set NODE_ENV=productionhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/sections/production/setnodeenv.md
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/blob/master/assets/images/checkbox-small-blue.png
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#-516-design-automated-atomic-and-zero-downtime-deployments
⬆ Return to tophttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#table-of-contents
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#security-practices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#our-contributors-are-working-on-this-section-would-you-like-to-join
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#performance-practices
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#our-contributors-are-working-on-this-section-would-you-like-to-join-1
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#milestones
milestoneshttps://github.com/i0natan/nodebestpractices/milestones
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#contributors
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#yoni-goldberg
http://www.goldbergyoni.comhttp://www.goldbergyoni.com
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#ido-richter
@refackhttps://github.com/refack
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#refael-ackermann-refack-refackgmailcom-hehim
lodash-contribhttps://github.com/node4good/lodash-contrib
formagehttps://github.com/node4good/formage
asynctracehttps://github.com/node4good/asynctrace
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#bruno-scheufler
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#thank-you-notes
Kevin Rambaudhttps://github.com/kevinrambaud
Michael Finehttps://github.com/mfine15
Shreya Dahalhttps://github.com/squgeim
ChangJoo Parkhttps://github.com/ChangJoo-Park
Matheus Cruz Rochahttps://github.com/matheusrocha89
Yog Mehtahttps://github.com/BitYog
Kudakwashe Paradzayihttps://github.com/kudapara
t1st3https://github.com/t1st3
mulijordan1976https://github.com/mulijordan1976
Matan Kushnerhttps://github.com/matchai
Fabio Hirokihttps://github.com/fabiothiroki
James Sumnershttps://github.com/jsumners
Chandan Raihttps://github.com/crowchirp
Dan Gamblehttps://github.com/dan-gamble
PJ Trainorhttps://github.com/trainorpj
Remek Ambroziakhttps://github.com/reod
Yoni Jahhttps://github.com/yonjah
Misha Khokhlovhttps://github.com/hazolsky
Evgeny Orekhovhttps://github.com/EvgenyOrekhov
Gediminas Petrikashttps://github.com/gediminasml
Isaac Halvorsonhttps://github.com/hisaac
Vedran Karačićhttps://github.com/vkaracic
lallenlowehttps://github.com/lallenlowe
Nathan Wellshttps://github.com/nwwells
Paulo Vítor S Reishttps://github.com/paulovitin
syzerhttps://github.com/syzer
David Sanchohttps://github.com/davesnx
Robert Manoleahttps://github.com/pupix
Xavier Hohttps://github.com/spaxe
Aaron Arneyhttps://github.com/ocularrhythm
Jan Charles Maghirang Adonahttps://github.com/septa97
Allen Fanghttps://github.com/AllenFang
Leonardo Villelahttps://github.com/leonardovillela
Michal Zaleckihttps://github.com/MichalZalecki
Chris Nicolahttps://github.com/chrisnicola
https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#star-no-stars-yet-waiting-for-the-first-to-suggest-a-new-bullet
twitter.com/nodepractices/https://twitter.com/nodepractices/
Readme https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#readme-ov-file
CC-BY-SA-4.0 license https://patch-diff.githubusercontent.com/stenrdj/nodebestpractices#CC-BY-SA-4.0-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices
Activityhttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/activity
0 starshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/stargazers
1 watchinghttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/watchers
0 forkshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fstenrdj%2Fnodebestpractices&report=stenrdj+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/stenrdj/nodebestpractices/releases
Packages 0https://patch-diff.githubusercontent.com/users/stenrdj/packages?repo_name=nodebestpractices
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.