mh-ssg VS prettier

Compare mh-ssg vs prettier and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
mh-ssg prettier
13 443
1 48,347
- 0.7%
0.0 9.8
over 2 years ago about 10 hours ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

mh-ssg

Posts with mentions or reviews of mh-ssg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-18.
  • Publishing my first package
    1 project | dev.to | 26 Nov 2021
    This week, I've published my 1st package on npm - mh-ssg - a static site generator CLI.
  • Adding Continuous Integration to a Project
    2 projects | dev.to | 18 Nov 2021
    I also worked on another project, mh-ssg, and added tests to this project as well. I created unit tests for a function called processFolder(). This function accepts an input folder path, output folder path and stylesheet URL. I created two unit tests, one which tests when a valid input folder containing files is passed to the function and one which tests when a non-existent folder is passed to the function. The function logs a message to the console depending on how many files are saved in the output folder, so the tests I wrote tested for these console logs.
  • Add testing to SSG
    3 projects | dev.to | 12 Nov 2021
    For this lab, I picked Jest as the testing tool for mh-ssg. This is a popular Javascript testing framework thanks to its simplicity and ease of usage.
  • Adding Static Analysis Tools to SSG
    3 projects | dev.to | 4 Nov 2021
    To maintain the quality of source code, I added a formatter and a linter for my project.
  • Static Site Generator - Support static files
    4 projects | dev.to | 28 Oct 2021
    Throughout the previous week, I was exploring Docusaurus and found that they have a feature to support static files. I find this feature very useful for any static site generator since images, favicons, stylesheets, etc. are very common parts of a webpage. Therefore, I decided to add this feature in my tool.
  • Code Refactoring and Rebase
    1 project | dev.to | 14 Oct 2021
    As new features are added to the tool, I realized that the logic is not clear anymore and some parts were duplicated, making it inefficient and hard to maintain. This time, I decided to focus on removing those duplications by moving the statements to the appropriate place and extracting function for reusability. All the refactoring was done through a single commit with the help of git rebase.
  • Working with git remote - approving new feature
    2 projects | dev.to | 8 Oct 2021
    Luke also implemented the same feature for my project. His code in general was good but I suggested some changes including separating modules and combining functions to remove code duplicates.
  • A different way of reviewing pull requests
    3 projects | dev.to | 7 Oct 2021
    After looking through my classmates' projects, I decided to work on Minh Hang's static site generator and filed an issue to her repo.
  • Merges and conflicts
    1 project | dev.to | 30 Sep 2021
    In the last update, my friend - Dustin - helped to add Markdown as a valid input for my tool. Markdown syntaxes are different from HTML syntaxes and he has worked on converting some of them. This time I decided to add two more:
  • Collaboration and pull requests
    2 projects | dev.to | 23 Sep 2021
    I've been sending a lot of pull requests but this was actually my first time receiving one πŸ˜„ and Dustin was my first contributor. He also proposed to add Markdown support for my tool and to parse all the headings, bold, italics and link from markdown into the corresponding HTML tags. I scanned through the pull request and found some minor issues, including missing new feature in documentation and missing the handling of the output file name. We also had different opinions about the implementation of .txt file and .md file. However after discussion, we came to agreement and I approved his changes.

prettier

Posts with mentions or reviews of prettier. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-05.
  • Mastering Code Quality: Setting Up ESLint with Standard JS in TypeScript Projects
    9 projects | dev.to | 5 May 2024
    In this post, I also use ESLint + Standard JS as my code formatting tools. Formatting JS/TS code by using ESLint is also subjective and opinionated, arguably most people would rather use Prettier instead, which provides more configurable options.
  • How to make ESLint and Prettier work together? πŸ› οΈ
    4 projects | dev.to | 5 May 2024
    Let's be honest - setting up tools for a new project can be a frustrating process. Especially when you want to jump straight to coding part. This is often the case with ESLint and Prettier, two popular tools in the JavaScript ecosystem that can sometimes interfere with each other when it comes to code formatting. Fortunately, there's a simple solution to this process, and it's called eslint-plugin-prettier.
  • My opinion about opinionated Prettier: πŸ‘Ž
    3 projects | dev.to | 2 May 2024
    From my point of view, Prettier doesn't work well for styling with utility classes. For a discussion see Prettier#7863 or Prettier#5948.
  • Shared Data-Layer Setup For Micro Frontend Application with Nx Workspace
    4 projects | dev.to | 25 Apr 2024
    Prettier: An opinionated code formatter that enforces a consistent code style.
  • To Review or Not to Review: The Debate on Mandatory Code Reviews
    3 projects | dev.to | 24 Apr 2024
    Automating code checks with static code analysis allows us to enforce code styling effectively. By integrating tools into our workflow, we can identify errors at an early stage, while coding instead of blocking us at the end. For instance, flake8 checks Python code for style and errors, eslint performs similar checks for JavaScript, and prettier automatically formats code to maintain consistency.
  • Setting up Doom Emacs for Astro Development
    9 projects | dev.to | 23 Apr 2024
    So anyways, I wanted to hook up Emacs with Astro support. For now, I've just been roughing it out there and running Prettier by itself and turning off save on format and auto-complete. It's been scary.
  • Biome.js : Prettier+ESLint killer ?
    3 projects | dev.to | 18 Apr 2024
    If you're a developer, you're surely familiar with Prettier and ESLint. With over 8 years of existence, they have established themselves as references in the JavaScript ecosystem.
  • Most basic code formatting
    5 projects | dev.to | 18 Apr 2024
    prettier is used to format you text
  • How to use Lefthooks in your node project?
    4 projects | dev.to | 11 Apr 2024
    No formatting inconsistencies: The committed code should follow the organization's code formatting standards(prettier or pretty-quick).
  • Git Project Configuration With Husky and ESLint
    6 projects | dev.to | 8 Apr 2024
    Let’s walk through the steps for a one-time setup to configure husky pre-commit and pre-push hooks, ESLint with code styles conventions, prettier code formatter, and lint-staged. Husky automatically runs a script on each commit or push. This is useful for linting files to enforce code styles that keeps the entire code base following conventions.

What are some alternatives?

When comparing mh-ssg and prettier you can also consider the following projects:

yargs - yargs the modern, pirate-themed successor to optimist.

black - The uncompromising Python code formatter

Docusaurus - Easy to maintain open source documentation websites.

JS-Beautifier - Beautifier for javascript

mini-ssg - MINI - A minimalist static site generator written in JS.

dprint - Pluggable and configurable code formatting platform written in Rust.

ESLint - Find and fix problems in your JavaScript code.

prettier-plugin-organize-imports - Make Prettier organize your imports using the TypeScript language service API.

Standard - 🌟 JavaScript Style Guide, with linter & automatic code fixer

JSHint - JSHint is a tool that helps to detect errors and potential problems in your JavaScript code

pretty-quick - ⚑ Get Pretty Quick

markdownlint-cli - MarkdownLint Command Line Interface