baseline-check

v1.0.0
🚀 Protect your web deployments

Prevent Unsafe
Modern Web Features

A powerful CLI tool that checks your code against Baseline web standards, ensuring your features are supported across browsers for your target year.

Quick Installation

Get started in seconds with npm

Install globally

npm
npm install -g baseline-check-cli-tool
1

Create Configuration

{
  "baseline": "2023"
}

Save as baseline.config.json

2

Run Check

npx baseline-check
npx baseline-check --report

Generate detailed report

CI/CD Integration

Protect your deployments automatically

GitHub Actions

Ready to use
name: Baseline Check

on:
  push:
    branches: ["*"]
  pull_request:
    branches: ["*"]

jobs:
  baseline:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Set up Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'
      - name: Install dependencies
        run: npm install
      - name: Run baseline-check
        run: npx baseline-check

💡 Pro tip: Save as .github/workflows/baseline.yml in your repository

Powerful Features

Everything you need to maintain web standards and browser compatibility

Multi-Language Support

Intelligently scans JavaScript, TypeScript, CSS, and HTML files to detect modern web features and their browser compatibility.

Baseline Standards

Uses the official web-features dataset to validate against Baseline support years, ensuring reliable compatibility data.

CI/CD Ready

Seamlessly integrates with GitHub Actions, Jenkins, and other CI systems to prevent unsafe deployments automatically.