Go's strconv package in TypeScript
Help us add more
Got a rainy Sunday afternoon and a taste for a porting puzzle?
- Get inspiration from Go strings documentation, Go strings source, Go strings examples source, GopherJS.
- Click "New file" in the appropriate folder on GitHub. This will fork the project to your account, directly add the file to it, and send a Pull Request to us.
We will then review it. If it's useful to the project and in line with our contributing guidelines your work will become part of Locutus and you'll be automatically credited in the authors section accordingly.
Upstream Surface Inventory 10/34 shipped • 12 next 29%
Namespace-level inventory for Go 1.23: what we already ship, what we may still want,
and what we intentionally skip or keep.
strconv
45%
shipped
10/22 shipped
12 next
12 explicit non-goals
Shipped (10)
Next
Parse and format helpers are strong plain-value portability targets.
CanBackquoteFormatUintIsGraphicIsPrintParseUintQuotedPrefixQuoteRuneQuoteRuneToASCIIQuoteRuneToGraphicQuoteToASCIIQuoteToGraphicUnquoteChar
Explicit non-goals (12)
-
AppendBoolByte-slice append APIs do not fit Locutus' current plain-value model. -
AppendFloatByte-slice append APIs do not fit Locutus' current plain-value model. -
AppendIntByte-slice append APIs do not fit Locutus' current plain-value model. -
AppendQuoteByte-slice append APIs do not fit Locutus' current plain-value model. -
AppendQuoteRuneByte-slice append APIs do not fit Locutus' current plain-value model. -
AppendQuoteRuneToASCIIByte-slice append APIs do not fit Locutus' current plain-value model. -
AppendQuoteRuneToGraphicByte-slice append APIs do not fit Locutus' current plain-value model. -
AppendQuoteToASCIIByte-slice append APIs do not fit Locutus' current plain-value model. -
AppendQuoteToGraphicByte-slice append APIs do not fit Locutus' current plain-value model. -
AppendUintByte-slice append APIs do not fit Locutus' current plain-value model. -
FormatComplexComplex-number formatting does not fit JS plain values. -
ParseComplexComplex-number parsing does not fit JS plain values.