Skip to content

alainQtec/cliHelper.xconvert

Repository files navigation

xconver icon

xconvert - version 0.1.0 α

An all-in-one module to convert files and object types.

[xconvert] is like the builtin [system.convert] but extended.

⬇️ Install:

Install-Module cliHelper.xconvert

🚧 WIP: This is still version alpha, so alot of stuff is'nt done yet.

Here's the progress list:

  • Added main class (90%)

  • Added Private /utility classes

  • Add Public function(s)

    Note: This module intentionally uses 1 huge main class. Creating all functions for each method in [xconvert] might get tedious overtime, so only functions for Common format conversions will be created. i.e:

    • functions to convert between file formats (CSV, JSON, XML ...)
    • functions convert data type to another (string, integer, datetime ...)
    • functions to convert encodings (ASCII, UTF-8, base32 ...)
    • functions to convert between visualization formats

(‘•.•’)? FAQs

Why build this?

PowerShell has limited built-in Support for Some Formats.

  • While PowerShell excels at handling common file formats(JSON, XML, CSV) and data types, users may find limited built-in support for less common file types, necessitating additional modules.

    Example: Converting excel Files often result in corrupted files.

This is like an AIO custom solution to extend the built-in functionality.

How to use this?

Use Public functions or directly use the [xconvert] class.

  • The functions give more options & output pipeline.
  • If you can't find what method to use, you just [xconvert]::From and press Tab to see all options.

[xconvert]::From + Tab

gives this output

from tab

or [xconvert]::To + Tab

to tab

License

This project is licensed under the MIT License. See the License file for details.

About

An all-in-one module to convert files and object types.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published