Skip to content
Naser edited this page Mar 26, 2023 · 1 revision

nhash text is a command that provides text utilities such as humanizer, JSON, YAML, and XML.

Usage

nhash text [command] [options]

Commands

Humanizer

nhash text humanize <Camel|Dehumanize|Humanize|Hyphenate|Kebab|Lowercase|Pascal|Underscore|Uppercase> <text>

This command allows for the transformation of text into different formats such as camel-case, kebab-case, etc. It has the following options:

  • Camel: transform text into CamelCase
  • Dehumanize: transform text into dehumanize-readable format
  • Humanize: transform text into human-readable format
  • Hyphenate: transform text into hyphen-case
  • Kebab: transform text into kebab-case
  • Lowercase: transform text into lowercase
  • Pascal: transform text into PascalCase
  • Underscore: transform text into underscore_case
  • Uppercase: transform text into UPPERCASE

JSON

nhash text json <text>

This command allows for the manipulation of JSON text such as pretty printing, minification, etc.

YAML

nhash text yaml <text>

This command allows for the manipulation of YAML text such as pretty printing, minification, etc.

XML

nhash text xml <text>

This command allows for the manipulation of XML text such as pretty printing, minification, etc.

Clone this wiki locally