cli-ssg VS prettier

Compare cli-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
cli-ssg prettier
11 444
0 48,433
- 0.9%
0.0 9.8
over 2 years ago about 12 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.

cli-ssg

Posts with mentions or reviews of cli-ssg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-19.
  • Releasing and publishing through npm
    1 project | dev.to | 26 Nov 2021
    Over the past couple of weeks, I've been working on cli-ssg, which is a command line tool to generate a website using .txt/.md files. A lot of changes had accumulated, and this was the perfect time to create an official release 1.0.0.
  • Adding CI through GitHub Actions
    2 projects | dev.to | 19 Nov 2021
    Last week, I added some tests to cli-ssg using jest, but right now the only way to run them is to run them manually. While this works, having an automated process in place to run the tests would be much better, as that would mean that any change that breaks the tests, cannot be merged.
  • Adding static analysis tooling to cli-ssg
    3 projects | dev.to | 5 Nov 2021
    Static analysis tools help us maintain the quality of our source code by fixing formatting issues, spotting suspicious coding constructs, or alerting us to common errors. As cli-ssg is a collaborative open source project, it becomes especially important to have these in place to enforce common formatting and linting.
  • Exploring Docusaurus and enhancing cli-ssg
    3 projects | dev.to | 28 Oct 2021
    Since I had created a basic static site generator (cli-ssg), I wanted to explore other bigger projects that were working on the same problem. One such popular SSG is Docusaurus which is a React based static site generator backed by Facebook.
  • Refactoring existing code and rebasing
    1 project | dev.to | 14 Oct 2021
    That being said, index.js was looking a bit messy after the pull request for the --config option was merged into main (#18).
  • Working with remotes
    2 projects | dev.to | 8 Oct 2021
    Someone also created a similar issue on my project cli-ssg earlier this week to add support for a config JSON file and so I assigned it to them. There hasn't been a pull request as of me writing this blog, but I look forward to reviewing it! https://github.com/dhillonks/cli-ssg/issues/17
  • Addressing merge conflicts
    1 project | dev.to | 1 Oct 2021
    This week I worked on adding more functionality to cli-ssg. I decided to add support for a --lang flag to specify language and add the ability to produce horizontal rule: Add support for horizontal rule in markdown Add a -l flag to generate the lang attribute
  • Contributing code to open source repositories
    2 projects | dev.to | 24 Sep 2021
    Once I had approval from the owner, the .md ticket was assigned to me and I started off by forking the repository and creating a branch to work on the issue (dhillonks/commandline-ssg:issue-8). The code in the repo was already organized into modules which made it easier for me to expand the parsing functionality. I ended up splitting the parsing method to add a flow for .md files. This ensured that I wasn't affecting any old functionality, leaving the parsing for .txt as is. After some coding, I was able to parse .md files and detect headings h1-h6. I used the first h1 text as the placeholder for . The tool could now also generate paragraphs properly for separated lines which were not headings. Moreover, both **bold** and __bold__ markdown syntax for bold text were supported. Along with these code changes, I also modified the Readme.md file to document this new functionality.

    Creating a pull request to get the work accepted into the original repo

    After I had thoroughly testing my changes, making sure that the new functionality worked and also ensuring that it didn't break any old functionality, I created a pull request on the original repository.

    Link to the pr to commandline-ssg - Click here!

    I included a description of the changes that were made, the functionality that was added and sample usage for .md files. I also pinged the code owner to review the pull request once it was created. Today, I just found out that my changes were approved and the pull request was merged!

    Reviewing a pull request to cli-ssg

    I also received a pull request to the open source tool I had created earlier.

    Link to the pr to my repo - Click here

    The pr was also adding functionality to parse .md files including the headings, bold, italics, links and strikethrough. It looked good at a first glance and the functionality mostly worked but I ended up finding a few issues after looking closely.
    The biggest problem was that

    paragraphs were not being generated for non-headings. This was obviously an big problem which I need to highlight.
    Also, it rendered bold using and italics using which is not the best way to markup emphasis. So I suggested that bold should instead use and italics should instead use .
    My last suggestion was not a bug, but since the PR was also implementing the syntax support for links, I wanted to make sure that it also supported automatic links i.e. links within angled braces should be rendered to an anchor tag.
    I highlighted these and requested changes when I added my review to the pr. I look forward to reviewing the pr again once these changes are made.

  • Open-source: collaborating with others
    2 projects | dev.to | 17 Sep 2021
    Unused variables
  • Working In Open Source
    2 projects | dev.to | 17 Sep 2021
    Issue #1 There are some defined variables that never used in the code. const yargs = require("yargs"); const path = require("path"); These two variables are never used in the code, so I suggested my partner to remove them.

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 ?
    4 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 cli-ssg and prettier you can also consider the following projects:

markdown-it - Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

black - The uncompromising Python code formatter

commandline-ssg

JS-Beautifier - Beautifier for javascript

starter-workflows - Accelerating new GitHub Actions workflows

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