Skip to main content

Installation

Code Syntactic Sugar is available as an npm package. Install it using your preferred package manager.

Install the package

npm install --save code-syntactic-sugar

Requirements

Code Syntactic Sugar requires React 18 or 19 as a peer dependency. Make sure React is installed in your project before using this package.

Node.js version

Node.js 18 or higher is required to use this package.

Verify installation

After installation, verify that the package is correctly installed by checking your package.json file:
{
  "dependencies": {
    "code-syntactic-sugar": "^2.0.0",
    "react": "^18.0.0"
  }
}

Next steps

Quickstart

Learn how to use Code Syntactic Sugar with a quick tutorial

Build docs developers (and LLMs) love