import { parse } from "https://deno.land/x/commit/mod.ts";
const commit = parse("fix(std/io): utf-8 encoding");
console.log(commit);
/* {
type: "fix",
scope: "std/io",
subject: "utf-8 encoding",
merge: null,
header: "fix(std/io): utf-8 encoding",
body: null,
footer: null,
notes: [],
references: [],
mentions: [],
revert: null
} */
Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt and commit messages are done following Conventional Commits spec.
Copyright 2020-present, the denosaurs team. All rights reserved. MIT license.