Skip to content

Danger JS

Open source

Automates pull request checks and comments in your code review flow

Danger JS preview

About Danger JS

Danger JS is a tool that runs rules against pull requests and reports the results back to the review. It is designed to take over small checks that reviewers often repeat by hand.

What it does

Danger runs as part of your continuous integration process. It reads the pull request, applies rules written in JavaScript or TypeScript, and posts warnings, errors or messages as comments. Rules can check things such as missing tests, very large changes, changelog entries or a pull request description that is too short. Each team writes the rules that match its own standards.

Who it's for

Danger suits engineering teams that review many pull requests and want fewer repeated comments from reviewers. It is useful for maintainers of open source projects with contribution rules, and for teams that want a checklist enforced in code.

Pricing and good to know

The project is MIT licensed and free to use. Danger needs a continuous integration setup and a token that can post comments to your repository. Rules are code, so someone on the team has to maintain them as the project changes.

Highlights

  • Runs rules against each pull request
  • Rules written in JavaScript or TypeScript
  • Posts warnings and messages as comments
  • Runs inside continuous integration

Ratings & reviews

Rate Danger JS

Stars alone count straight away.0/300

Checking that you are human…

Was this page helpful?
Open source

commitlint

Lints commit messages so they follow your team's commit rules

CI/CD & Automation
Freemium

Aviator

Merge queue and review platform for teams shipping AI-written code

CI/CD & Automation
Open source

semantic-release

Automates version numbers, release notes and package publishing

CI/CD & Automation
Freemium

Harness

Software delivery platform for pipelines, deployments and security

CI/CD & Automation
Freemium

CircleCI

Hosted CI/CD platform for testing and shipping code changes

CI/CD & Automation
Free trial

PullApprove

Code review approval rules defined in a config file

CI/CD & Automation
Open source

Probot

Framework for building and running GitHub Apps in JavaScript

CI/CD & Automation
Open source

Release Please

Creates release pull requests and changelogs from commit history

CI/CD & Automation
Open source

Bazel

Fast build tool for multi-language projects with caching

CI/CD & Automation
Open source

Kodiak

GitHub bot that updates branches and auto-merges pull requests

CI/CD & Automation
Open source

Renovate

Opens pull requests to keep your project dependencies up to date

CI/CD & Automation
Open source

Tekton

Open source framework for building Kubernetes-native CI/CD pipelines

CI/CD & Automation