Skip to content

Collection of handy online tools for developers, with great UX.

208 B
Raw Blame
import { readFile } from 'fs/promises';

const changelogContent = await readFile('./CHANGELOG.md', 'utf-8');
const [, lastChangelog] = changelogContent.split(/^## .*$/gm);

console.log(lastChangelog.trim());