open-index/open-npm huggingface dataset:
npm package: @hugolify/prettier-config
Description: Hugolify Prettier config
Author: Arthaud Proust
Latest version: 0.3.1

# `@hugolify/prettier-config`

> Hugolify [Prettier](https://prettier.io) config.

## Usage

**Install**:

```bash
$ yarn add --dev @hugolify/prettier-config
```
or
```bash
$ npm i --save-dev @hugolify/prettier-config
```

**Edit `package.json`**:

```jsonc
{
  // ...
  "prettier": "@hugolify/prettier-config"
}
```
or write in `.prettierrc.json` :
```jsonc
"@hugolify/prettier-config"
```
npm package: @hugomods/eslint-config
Description: [![License](https://flat.badgen.net/github/license/hugomods/eslint-config)](https://github.com/hugomods/eslint-config/blob/main/LICENSE) [![Version](https://flat.badgen.net/npm/v/@hugomods/eslint-config)](https://www.npmjs.com/package/@hugomods/eslint-con
Author: Razon Yang
Latest version: 0.1.4

# HugoMods ESLint Config

[![License](https://flat.badgen.net/github/license/hugomods/eslint-config)](https://github.com/hugomods/eslint-config/blob/main/LICENSE)
[![Version](https://flat.badgen.net/npm/v/@hugomods/eslint-config)](https://www.npmjs.com/package/@hugomods/eslint-config)
[![Downloads](https://flat.badgen.net/npm/dt/@hugomods/eslint-config)](https://www.npmjs.com/package/@hugomods/eslint-config)

## Installation

```sh
npm i -D @hugomods/eslint-config
```

## Configuration

```js
// eslint.config.mjs
import config from '@hugomods/eslint-config';

export default config;
```

## Scripts

```json
{
  "scripts": {
    "lint:eslint": "eslint .",
    "lint:eslint:fix": "eslint . --fix"
  }
}
```
npm package: @hugomods/jsend
Description: [![Used By](https://flat.badgen.net/github/dependents-repo/hugomods/jsend?icon=github&label=used+by&color=green)](https://github.com/hugomods/jsend/network/dependents) ![Hugo Requirements](https://img.shields.io/badge/dynamic/json?color=important&label=re
Author: Razon Yang
Latest version: 0.6.0

# Hugo JSend Module

[![Used By](https://flat.badgen.net/github/dependents-repo/hugomods/jsend?icon=github&label=used+by&color=green)](https://github.com/hugomods/jsend/network/dependents)
![Hugo Requirements](https://img.shields.io/badge/dynamic/json?color=important&label=requirements&query=requirements&logo=hugo&style=flat-square&url=https://api.razonyang.com/v1/hugo/modules/github.com/hugomods/jsend)
[![License](https://flat.badgen.net/github/license/hugomods/jsend)](https://github.com/hugomods/jsend/blob/main/LICENSE)
[![Version](https://flat.badgen.net/github/tag/hugomods/jsend)](https://github.com/hugomods/jsend/tags)
npm package: @hugomods/lorem-ipsum-content-generator
Description: [![License](https://flat.badgen.net/github/license/hugomods/lorem-ipsum-content-generator)](https://github.com/hugomods/lorem-ipsum-content-generator/blob/main/LICENSE) [![Version](https://flat.badgen.net/github/tag/hugomods/lorem-ipsum-content-generator)
Author: Razon Yang
Latest version: 0.1.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Hugo Lorem Ipsum Content Generator

[![License](https://flat.badgen.net/github/license/hugomods/lorem-ipsum-content-generator)](https://github.com/hugomods/lorem-ipsum-content-generator/blob/main/LICENSE)
[![Version](https://flat.badgen.net/github/tag/hugomods/lorem-ipsum-content-generator)](https://github.com/hugomods/lorem-ipsum-content-generator/tags)
npm package: @hugomods/lorem-ipsum-generator
Description: A CLI tool to generate Lorem ipsum Markdown content, to test your theme's build performance.
Author: Razon Yang
Latest version: 0.2.2

# Hugo Lorem Ipsum Generator

A CLI tool to generate Lorem ipsum Markdown content, to test your theme's build performance.

[![License](https://flat.badgen.net/github/license/hugomods/lorem-ipsum-generator)](https://github.com/hugomods/lorem-ipsum-generator/blob/main/LICENSE)
[![Version](https://flat.badgen.net/github/tag/hugomods/lorem-ipsum-generator)](https://github.com/hugomods/lorem-ipsum-generator/tags)
[![Downloads](https://flat.badgen.net/npm/dt/@hugomods/lorem-ipsum-generator)](https://www.npmjs.com/package/@hugomods/lorem-ipsum-generator)

## Installation

```sh
npm i -g @hugomods/lorem-ipsum-generator 
```

## Usage

Generate 10k content under default output folder `content`.

```sh
lorem-ipsum-generator -n 10000
```

## Help

```sh
lorem-ipsum-generator -h
```
npm package: @hugomods/metrics-parser
Description: A CLI tool that parses Hugo metrics, such as build speed.
Author: Razon Yang
Latest version: 0.3.1

# Hugo Metrics Parser

A CLI tool that parses Hugo metrics, such as build speed.

[![License](https://flat.badgen.net/github/license/hugomods/metrics-parser)](https://github.com/hugomods/metrics-parser/blob/main/LICENSE)
[![Version](https://flat.badgen.net/npm/v/@hugomods/metrics-parser)](https://www.npmjs.com/package/@hugomods/metrics-parser)
[![Downloads](https://flat.badgen.net/npm/dt/@hugomods/metrics-parser)](https://www.npmjs.com/package/@hugomods/metrics-parser)

## Installation

```sh
npm i -g @hugomods/metrics-parser
```

## Usage

```sh
hugo | hugo-metrics-parser
...
2m24.831s in total
6.471781580946423 ms/page (22379 pages)
4.478416821273965 ms/page (32340 pages, including aliases)
4.459799846035412 ms/file (32475 files)
```

## Colors

| Color  | Description    |
| ------ | -------------- |
| Green  | speed <= `5ms` |
| Blue   | speed > `5ms`  |
| Yellow | speed < `10ms` |
| Red    | speed < `20ms` |
npm package: @hugomods/prettier-config
Description: Prettier config for Hugo
Author: Razon Yang
Latest version: 0.2.0

# HugoMods Prettier Config

This is a Prettier [config](https://github.com/hugomods/prettier-config/blob/main/index.json) for Hugo to format HTML templates, Markdown files, data files, i18n files and so on.

[![License](https://flat.badgen.net/github/license/hugomods/prettier-config)](https://github.com/hugomods/prettier-config/blob/main/LICENSE)
[![Version](https://flat.badgen.net/npm/v/@hugomods/prettier-config)](https://www.npmjs.com/package/@hugomods/prettier-config)
[![Downloads](https://flat.badgen.net/npm/dt/@hugomods/prettier-config)](https://www.npmjs.com/package/@hugomods/prettier-config)

## Installation

```sh
npm i -D @hugomods/prettier-config
```

## Configuration

Configure the following settings on `package.json`.

```json
{
  "prettier": "@hugomods/prettier-config",
  "scripts": {
    "lint:prettier": "prettier . --check",
    "lint:prettier:fix": "prettier . -w"
  }
}
```

## Scripts

### Check If Files Is Formatted Correctly

```sh
npm run lint:prettier
```

### Format Files In Place

```sh
npm run lint:prettier:fix
```

## GitHub Actions

To check if files are formatted correctly via GitHub Actions, you can create a workflow as follows, takes `.github/workflows/lint.yml` as an example.

```yaml
name: lint

on:
  push:

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 20
      - run: npm ci
      - run: npm run lint:prettier
```
npm package: @hugomods/stylelint-config
Description: [![License](https://flat.badgen.net/github/license/hugomods/stylelint-config)](https://github.com/hugomods/stylelint-config/blob/main/LICENSE) [![Version](https://flat.badgen.net/npm/v/@hugomods/stylelint-config)](https://www.npmjs.com/package/@hugomods/s
Author: Razon Yang
Latest version: 0.1.1

# HugoMods Stylelint Config

[![License](https://flat.badgen.net/github/license/hugomods/stylelint-config)](https://github.com/hugomods/stylelint-config/blob/main/LICENSE)
[![Version](https://flat.badgen.net/npm/v/@hugomods/stylelint-config)](https://www.npmjs.com/package/@hugomods/stylelint-config)
[![Downloads](https://flat.badgen.net/npm/dt/@hugomods/stylelint-config)](https://www.npmjs.com/package/@hugomods/stylelint-config)

## Installation

```sh
npm i -D @hugomods/stylelint-config
```

## Scripts

```json
{
  "scripts": {
    "lint:style": "stylelint \"**/*.scss\"",
    "lint:style:fix": "stylelint \"**/*.scss\" --fix"
  }
}
```
npm package: @hugomrdias/configs
Description: JS tooling configs
Author: Hugo Dias
Latest version: 1.1.3

# @hugomrdias/configs [![NPM Version](https://img.shields.io/npm/v/%40hugomrdias/configs.svg)](https://www.npmjs.com/package/@hugomrdias/configs) [![License](https://img.shields.io/npm/l/%40hugomrdias/configs.svg)](https://github.com/hugomrdias/iso-repo/blob/main/license)

> JS tooling config

## Install

```bash
pnpm install @hugomrdias/configs

# in monorepo root install
pnpm install @hugomrdias/configs -w -D  
pnpm install @biomejs/biome -w -D
```

## Usage

`biome.json`

```json

{
  "extends": ["@hugomrdias/configs/biome"]
}

```

`package.json`

```json
{
  "main": "src/index.js",
  "types": "dist/src/index.d.ts",
  "files": ["dist/src", "src"],
  "scripts": {
    "lint": "biome check ."
  },
  "simple-git-hooks": {
    "pre-commit": "pnpm exec biome check --staged"
  }
}
```

`tsconfig.json`

```json
{
  "extends": "@hugomrdias/configs/tsconfig",
  "compilerOptions": {
    "outDir": "dist",
    "emitDeclarationOnly": true // for javascript code bases
  },
  "include": ["src", "test"]
}
```

For application code bases:

```json
{
  "extends": "@hugomrdias/configs/tsconfig",
  "compilerOptions": {
    "moduleResolution": "bundler",
    "noEmit": true
    "jsx": "react-jsx"
  },
  "include": ["src", "test"]
}
```

In monorepos you can install `@hugomrdias/configs` only in the root and extend the root `tsconfig.json` in the packages.

## License

MIT © [Hugo Dias](http://hugodias.me)