Spinner 1.1.8

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Spinner --version 1.1.8
NuGet\Install-Package Spinner -Version 1.1.8
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Spinner" Version="1.1.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spinner --version 1.1.8
#r "nuget: Spinner, 1.1.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Spinner as a Cake Addin
#addin nuget:?package=Spinner&version=1.1.8

// Install Spinner as a Cake Tool
#tool nuget:?package=Spinner&version=1.1.8

<div align="center"> <img src="/assets/logo.png?raw=true"> </div>

<a href="https://github.com/Daniel-iel/Spinner/graphs/contributors" alt="Contributors"> <img src="https://img.shields.io/github/contributors/Daniel-iel/Spinner" /> </a> <a href="https://github.com/Daniel-iel/Spinner/commits/main" alt="Total Commits"> <img src="https://img.shields.io/github/commit-activity/m/Daniel-iel/Spinner/main" /> </a>
<a href="https://github.com/Daniel-iel/Spinner/actions/workflows/ci.yml"> <img src="https://github.com/Daniel-iel/Spinner/actions/workflows/ci.yml/badge.svg" alt="build status"> </a> <a href="https://github.com/Daniel-iel/Spinner/actions/workflows/ci.yml"> <img src="https://github.com/Daniel-iel/Spinner/actions/workflows/ci-documentation.yml/badge.svg" alt="build status"> </a> <a href="https://github.com/Daniel-iel/Spinner/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/Daniel-iel/Spinner" alt="License"/> </a> <a href="https://www.nuget.org/packages/Spinner"> <img src="https://img.shields.io/nuget/dt/Spinner" alt="Nuget"/> </a>
<a href="#"> <img alt="views" title="Views" src="https://visitor-badge-reloaded.herokuapp.com/badge?page_id=https://github.com/Daniel-iel/Spinner&logo=github"/> </a> <a href="#"> <img alt="Release" title="Release" src="https://img.shields.io/nuget/v/spinner"/> </a> <a href="#"> <img alt="Repo Size" title="Repo Size" src="https://img.shields.io/github/repo-size/Daniel-iel/spinner"/> </a> <a href="https://www.codefactor.io/repository/github/Daniel-iel/spinner"> <img alt="" title="" src="https://www.codefactor.io/repository/github/Daniel-iel/spinner/badge"/>
</a> <a href="https://codecov.io/gh/Daniel-iel/Spinner"> <img alt="Coverity Scan Build Status" src="https://codecov.io/gh/Daniel-iel/Spinner/branch/main/graph/badge.svg?token=0DO0Z5CA6N/"> </a> <a href="https://scan.coverity.com/projects/spinner"> <img alt="Coverity Scan Build Status" src="https://img.shields.io/coverity/scan/24116.svg"/> </a> <a href=""> <img alt="" src="https://api.meercode.io/badge/Daniel-iel/Spinner?type=ci-score&lastDay=31"/> </a>

<br />

Introduction

Spinner is a simple object mapper, it’s useful to communicate to any system that uses a positional string as communication.

Spinner provides features

  • Fast write.
  • Convert object to a mapped string.
  • Convert string to a mapped object.

Quick Start

Installation

dotnet add package Spinner

Usage

[ObjectMapper(length: 50)]
public struct Nothing
{
  public Nothing(string name, string adress)
  {
    this.Name = name;
    this.Adress = adress;
  }
  
  [WriteProperty(length: 20, order: 1, paddingChar: ' ')]
  public string Name { get; private set; }
  
  [WriteProperty(length: 30, order: 2, paddingChar: ' ')]
  public string Adress { 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

See Learn: Getting Started for setting up your project here.

Contributors

<a href="https://github.com/Daniel-iel"> <img src="https://github.com/Daniel-iel.png?size=40" width="40" style="border-radius: 100%" /> </a>

Support

All donation are welcome, you can donate to the Spinner project, we gonna use to maintain spinner domain and ssl certificate only.

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

<img src="https://repobeats.axiom.co/api/embed/c3f5ed375e6e703c23a90745aaee5bca46ebd0fd.svg" alt="Repobeats analytics image" />

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.3-Preview 119 11/20/2023
2.0.1-Preview 84 2/6/2023
2.0.0-Preview 98 8/10/2022
1.1.8 494 11/9/2022
1.1.7 306 11/5/2022
1.1.6 674 3/6/2022
1.1.5 376 3/6/2022
1.1.4 223 1/5/2022
1.1.3 3,256 12/20/2021
1.1.2 243 12/18/2021
1.1.1 1,152 11/28/2021
1.1.0 840 11/21/2021
1.0.0 349 10/30/2021
1.0.0-RC1 818 11/14/2021
1.0.0-Preview7 851 11/14/2021
1.0.0-Preview6 798 11/14/2021
1.0.0-Preview5 959 11/6/2021
1.0.0-Preview4 894 10/31/2021
1.0.0-Preview3 322 10/31/2021
1.0.0-Preview2 319 10/31/2021