Skip to content

Elevate the maintainability and readability of your code by integrating Spinner. With its user-friendly features and intuitive design, Spinner streamlines development, making it easier to manage and comprehend intricate codebases.

License

Notifications You must be signed in to change notification settings

Daniel-iel/Spinner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Activity ci documentation ci License Downloads Release Repo Size Code Factor Meercode Snyk

Introduction

Spinner is a versatile and efficient tool designed to streamline data interchange between applications. With its intuitive object mapping capabilities, Spinner excels in translating complex information into a format that can be easily understood and processed by a wide range of systems.

Moreover, Spinner boasts a user-friendly interface that empowers developers to effortlessly configure mappings, reducing the time and effort required to integrate disparate systems. Its adaptability extends to various data types, allowing for precise mapping of objects, arrays, and other complex structures.

Features

  • Swift Writing Speed.
  • Effortlessly Transforms Objects into Mapped Strings.
  • Seamlessly Converts Mapped Strings back into Objects.

Quick Start

Installation

dotnet add package Spinner

Usage

To accurately represent the final string, instantiate an object. Note that utilizing the WriteProperty attribute is essential for this process.

[ObjectMapper(length: 50)]
public struct Nothing
{
  public Nothing(string name, string webSite)
  {
    this.Name = name;
    this.WebSite = webSite;
  }
  
  [WriteProperty(length: 20, order: 1, paddingChar: ' ')]
  public string Name { get; private set; }
  
  [WriteProperty(length: 30, order: 2, paddingChar: ' ')]
  public string WebSite { get; private set; }
}
    
 var nothing = new Nothing("spinner", "www.spinner.com.br");
 var spinner = new Spinner<Nothing>(nothing);
 var stringResponse = spinner.WriteAsString();   
 // stringResponse = "              spinner            www.spinner.com.br"

Documentation

Refer to 'Learn: Getting Started' for comprehensive instructions on setting up your project. here.

Contributors

Daniel-Profile

Support

We appreciate any donations. Your contributions to the Spinner project will be used exclusively for maintaining the Spinner domain and SSL certificate.

License

Our code and framework are licensed under the MIT license. Please see the license file for more information. You can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source.

Stats

Repobeats analytics image

About

Elevate the maintainability and readability of your code by integrating Spinner. With its user-friendly features and intuitive design, Spinner streamlines development, making it easier to manage and comprehend intricate codebases.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published