Home

Awesome

<p align="center"> <br /> <a href="https://nodejs.org"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://nodejs.org/static/logos/nodejsLight.svg"> <img src="https://nodejs.org/static/logos/nodejsDark.svg" width="200px"> </picture> </a> </p> <p align="center"> <a href="https://nodejs.org">Node.js</a> Website built using Next.js with TypeScript, CSS Modules/Tailwind, and MDXv3 </p> <p align="center"> <a title="MIT License" href="LICENSE"> <img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License" /> </a> <a title="Localised" href="https://crowdin.com/project/nodejs-web"> <img src="https://badges.crowdin.net/nodejs-web/localized.svg" alt="Crowdin Badge" /> </a> <a title="Vercel" href="https://vercel.com"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/badge/powered%20by-Vercel%20%E2%96%B2-white"> <img src="https://img.shields.io/badge/powered%20by-Vercel%20%E2%96%B2-black" alt="Powered by Vercel"> </picture> </a> <br /> <img src="https://github.com/nodejs/nodejs.org/actions/workflows/build.yml/badge.svg" alt="Build and Analysis Checks" /> <a title="scorecard" href="https://securityscorecards.dev/viewer/?uri=github.com/nodejs/nodejs.org"> <img src="https://api.securityscorecards.dev/projects/github.com/nodejs/nodejs.org/badge" alt="nodejs.org scorecard badge" /> </a> <a href="http://commitizen.github.io/cz-cli/" alt="Commitizen friendly"> <img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg"> </a> <br /> <br /> </p>

What is this repo?

Nodejs.org by the OpenJS Foundation is the official website for the Node.js® JavaScript runtime. This repo is the source code for the website. It is built using Next.js, a React Framework.

npm ci
npx turbo dev

# listening at localhost:3000

Contributing

This project adopts the Node.js Code of Conduct.

Any person who wants to contribute to the Website is welcome! Please read Contribution Guidelines and see the Figma Design to understand better the structure of this repository.

[!IMPORTANT]
Please read our Translation Guidelines before contributing to Translation and Localization of the Website

[!NOTE]
We recommend a read of all Relevant Links below before doing code changes; Including Dependency changes, Content changes, and Code changes.

Deployment

The Website is automatically deployed to Vercel through its GitHub App integration when new pushes happen on the main branch.

Details regarding the deployment are only accessible to the maintainers of the Website Team due to certain limitations.

The current integration is owned by the OpenJS Foundation and managed by the Website Team.

<details> <summary>Legacy Deployment</summary>

The full setup is in https://github.com/nodejs/build/tree/master/ansible/www-standalone minus secrets and certificates.

The webhook is set up on GitHub for this project and talks to a small Node server on the host, which does the work. See the github-webhook package for this.

</details>

Node.js Binaries & API Docs

This repository does not contain the codebase or related infrastructure that serves https://nodejs.org/api/, https://nodejs.org/docs/ or https://nodejs.org/dist/.

These are maintained in different repositories and we urge users to open issues in their respective repositories, for bug reports, feature requests or any matter related to these endpoints.

Relevant Links

Code of Conduct

Contribution Guidelines

Collaborator Guide

Figma Design

Content vs Code

Dependency Pinning

Translation Guidelines

Thanks