NStack.Core 1.1.1

dotnet add package NStack.Core --version 1.1.1                
NuGet\Install-Package NStack.Core -Version 1.1.1                
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="NStack.Core" Version="1.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NStack.Core --version 1.1.1                
#r "nuget: NStack.Core, 1.1.1"                
#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 NStack.Core as a Cake Addin
#addin nuget:?package=NStack.Core&version=1.1.1

// Install NStack.Core as a Cake Tool
#tool nuget:?package=NStack.Core&version=1.1.1                


Build Version Downloads License Bugs

NOTE: NStack has moved to the gui-cs org.

Currently, this library contains a port of the Go string, and Go rune support as well as other Unicode helper methods.

You can browse the API documentation.

Install the NuGet package from NuGet.org by installing NStack.Core.

Future Additions

The long term goal is to make this module an exploration of what the .NET APIs for IO looked like if they only used exceptions for either invalid parameters being passed to methods and used results/error codes for most IO operations:

  • Exceptions have a role, but IO code tends to become ugly in its presence.

  • Other areas include making an IO layer that does not surface "string" for filenames, as in Unix there are really no filenames as we treat them in .NET, but rather file names are a collection of bytes, which do not necessarily can be decoded into UTF8 [1].

To make things simple, this assumes that UTF8 strings (ustring in this code) can exist without them being valid UTF8 strings, but rather a collection of bytes.

[1] For example, older file systems can have filenames that made sense with a particular character set and are effectively not possible to map into strings.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on NStack.Core:

Package Downloads

Package Description


Library to build plugins for dotnet-guit.


Fast and memory-efficient WordPiece tokenizer as it is used by BERT and others. Tokenizes text for further processing using NLP/language models. This fork only supports .NET Standard 2.1

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on NStack.Core:

Repository Stars
Cross Platform Terminal UI toolkit for .NET
Modules that mix PowerShell and GUIs/CUIs!
Desktop client for Redis (Windows, MacOS, Linux)
XTerm emulator as a .NET library
Version Downloads Last updated
1.1.1 38,777 1/22/2024
1.1.0 92 1/22/2024
1.0.7 116,589 12/5/2022
1.0.5 1,871 11/4/2022
1.0.3 63,390 9/19/2022
0.17.1 73,422 5/26/2022
0.16.0 377,092 12/8/2020
0.15.0 3,174 10/30/2020
0.14.0 88,160 3/30/2020
0.13.0 1,935 2/29/2020
0.12.0 5,573 6/4/2018
0.11.0 77,907 4/24/2018
0.10.0 1,053 4/22/2018
0.9.0 981 4/22/2018
0.8.0 3,749 2/7/2018
0.7.0 1,170 1/24/2018
0.6.0 978 1/23/2018
0.5.0 980 1/23/2018
0.4.0 1,090 1/4/2018
0.3.0 967 6/3/2017
0.2.0 951 6/3/2017
0.1.0 942 6/2/2017