https://github.com/denosaurs/commit
✍️ Parser for the conventional commits specification
https://github.com/denosaurs/commit
commit conventional-commits deno parser spec
Last synced: about 2 months ago
JSON representation
✍️ Parser for the conventional commits specification
- Host: GitHub
- URL: https://github.com/denosaurs/commit
- Owner: denosaurs
- License: mit
- Created: 2020-08-27T11:15:44.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-21T02:15:59.000Z (about 5 years ago)
- Last Synced: 2024-10-30T01:22:23.045Z (about 1 year ago)
- Topics: commit, conventional-commits, deno, parser, spec
- Language: TypeScript
- Homepage: https://deno.land/x/commit
- Size: 28.3 KB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# commit
[](https://github.com/denosaurs/commit/releases)
[](https://github.com/denosaurs/commit/actions)
[](https://github.com/denosaurs/commit/blob/master/LICENSE)
```typescript
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
} */
```
## other
### contribution
Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt and commit messages are done following Conventional Commits spec.
### licence
Copyright 2020-present, the denosaurs team. All rights reserved. MIT license.