Skip to main content
Module

x/commit/mod.ts>parse

✍️ Parser for the conventional commits specification
Go to Latest
function parse
import { parse } from "https://deno.land/x/commit@0.1.3/mod.ts";

The sync version. Useful when parsing a single commit. Returns the result.

Parameters

optional
commit: string

A single commit to be parsed.

optional
options: Options

Same as the options of conventionalCommitsParser.