-
Notifications
You must be signed in to change notification settings - Fork 1
Text
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.
nhash text [command] [options]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
nhash text json <text>This command allows for the manipulation of JSON text such as pretty printing, minification, etc.
nhash text yaml <text>This command allows for the manipulation of YAML text such as pretty printing, minification, etc.
nhash text xml <text>This command allows for the manipulation of XML text such as pretty printing, minification, etc.