Skip to content

Instantly share code, notes, and snippets.

@FrancoMuniz
FrancoMuniz / script.js
Last active September 20, 2024 09:28
Convert EML to HTML
const fs = require('fs');
const simpleParser = require('mailparser').simpleParser; //Remember to do npm install mailparser
const myFile = "myEmail.eml" // Replace this with your .eml file
var eml = fs.readFileSync(myFile, "utf-8");
simpleParser(eml).then(parsed => {
@Zekfad
Zekfad / conventional-commits.md
Last active March 4, 2026 22:04
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries