css
CSS language plugin for ESLint
File Explorer
- bug-report.yml
- change.yml
- config.yml
- docs.yml
- new-rule.yml
- rule-change.yml
- ci-bun.yml
- ci-package-manager.yml
- ci.yml
- release-please.yml
- stale.yml
- update-baseline.yml
- update-readme.yml
- CODEOWNERS
- renovate.json5
- font-family-fallbacks.md
- no-duplicate-imports.md
- no-duplicate-keyframe-selectors.md
- no-empty-blocks.md
- no-important.md
- no-invalid-at-rule-placement.md
- no-invalid-at-rules.md
- no-invalid-named-grid-areas.md
- no-invalid-properties.md
- no-unmatchable-selectors.md
- prefer-logical-properties.md
- relative-font-units.md
- selector-complexity.md
- use-baseline.md
- use-layers.md
- baseline-data.js
- colors.js
- README.md
- css-language.js
- css-source-code.js
- css-visitor-keys.js
- font-family-fallbacks.js
- no-duplicate-imports.js
- no-duplicate-keyframe-selectors.js
- no-empty-blocks.js
- no-important.js
- no-invalid-at-rule-placement.js
- no-invalid-at-rules.js
- no-invalid-named-grid-areas.js
- no-invalid-properties.js
- no-unmatchable-selectors.js
- prefer-logical-properties.js
- relative-font-units.js
- selector-complexity.js
- use-baseline.js
- use-layers.js
- index.js
- types.js
- types.ts
- util.js
- css-language.test.js
- css-source-code.test.js
- exports.test.js
- eslint.test.js
- font-family-fallbacks.test.js
- no-duplicate-imports.test.js
- no-duplicate-keyframe-selectors.test.js
- no-empty-blocks.test.js
- no-important.test.js
- no-invalid-at-rule-placement.test.js
- no-invalid-at-rules.test.js
- no-invalid-named-grid-areas.test.js
- no-invalid-properties.test.js
- no-unmatchable-selectors.test.js
- prefer-logical-properties.test.js
- relative-font-units.test.js
- selector-complexity.test.js
- use-baseline.test.js
- use-layers.test.js
- cjs-import.test.cts
- tsconfig.json
- tsconfig.legacy.json
- types.test.ts
- build-rules.js
- generate-baseline.js
- update-rules-docs.js
- .c8rc
- .git-blame-ignore-revs
- .gitattributes
- .gitignore
- .npmrc
- .prettierignore
- .release-please-manifest.json
- CHANGELOG.md
- eslint.config.js
- jsr.json
- knip.json
- LICENSE
- package.json
- prettier.config.js
- README.md
- release-please-config.json
- tsconfig.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bun add
View Details ▼
bun add
Add and install new dependencies to the current project.
bun {{[a|add]}} {{package}}
Install a single package:
bun {{[a|add]}} {{package1 package2 ...}}
Install multiple packages:
bun {{[a|add]}} {{git_url}}
Install from a Git repository:
deno
View Details ▼
deno
A secure runtime for JavaScript, TypeScript, and WebAssembly.
Includes dependency management using `npm` or `jsr`, and tooling like bench, bundle, doc, and coverage.
deno
Start a REPL (interactive shell, also known as Read-Eval-Print Loop):
deno init sample && cd sample && deno test
Start a new project named sample and test it:
deno run {{path/to/file.ts}}
Run a file securely. It will ask (if needed) to allow net, read, etc:
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm
View Details ▼
npm
JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.
npm init {{[-y|--yes]}}
Create a `package.json` file with default values (omit `--yes` to do it interactively):
npm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
pnpm
View Details ▼
pnpm
Fast, disk space efficient package manager for Node.js.
Manage Node.js projects and their module dependencies.
pnpm init
Create a `package.json` file:
pnpm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
pnpm add {{module_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
yarn
View Details ▼
yarn
JavaScript and Node.js package manager alternative.
yarn global add {{module_name}}
Install a module globally:
yarn install
Install all dependencies referenced in the `package.json` file (the `install` is optional):
yarn add {{module_name}}@{{version}}
Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):
