github.com/32leaves/bel

bel

Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.

44

Decision Signals

Health score 44/100, confidence 80/100.

Caution
Maintenance 15
Adoption 15
Security 92
Maturity 62
Developer DX 83
Confidence 80

Install

go get github.com/32leaves/bel

Package Data

updated Jun 11, 2026
Latest versionv1.0.1
Imported by2 packages
Stars0
Forks0
Last activity7 years ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

58 symbols
SymbolKindSynopsis
AnonStructNamer Type type AnonStructNamer func(reflect.StructField) string
DocHandler Type type DocHandler interface{ ... }
DocHandler.Method Method Method func(parent reflect.Type, method reflect.Method) string
DocHandler.Type Method Type func(t reflect.Type) string
EnumHandler Type type EnumHandler interface{ ... }
EnumHandler.GetMember Method GetMember func(t reflect.Type) ([]TypescriptEnumMember, error)
EnumHandler.IsEnum Method IsEnum func(t reflect.Type) bool
ExtractOption Type type ExtractOption func(*extractor)
CustomNamer Function func CustomNamer(namer TypeNamer) ExtractOption
NameAnonStructs Function func NameAnonStructs(namer AnonStructNamer) ExtractOption
WithDocumentation Function func WithDocumentation(handler DocHandler) ExtractOption
WithEnumerations Function func WithEnumerations(handler EnumHandler) ExtractOption

Maintained Alternatives

limited recent repository activity

#1 go-json

Fast JSON encoder/decoder compatible with encoding/json for Go

Go JSON Libraries 3.7K stars 4.2K imported-by 60% confidence
89

#2 fastjson

Package fastjson provides fast JSON parsing.

Go JSON Libraries 0 stars 895 imported-by 80% confidence
73

#3 codec

Package codec provides a High Performance, Feature-Rich Idiomatic Go codec/encoding library for binc, msgpack, cbor, json.

Go JSON Libraries 0 stars 9.9K imported-by 65% confidence
68

#4 go-starter

An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.

Go JSON Libraries 0 stars 0 imported-by 25% confidence
44

Similar Packages

Go JSON Libraries

#1 go-json

Fast JSON encoder/decoder compatible with encoding/json for Go

Go JSON Libraries 3.7K stars 4.2K imported-by 60% confidence
89

#2 fastjson

Package fastjson provides fast JSON parsing.

Go JSON Libraries 0 stars 895 imported-by 80% confidence
73

#3 jsoniter

Package jsoniter implements encoding and decoding of JSON as defined in RFC 4627 and provides interfaces with identical syntax of standard lib encoding/json.

Go JSON Libraries 13.9K stars 17.7K imported-by 100% confidence
71

#4 codec

Package codec provides a High Performance, Feature-Rich Idiomatic Go codec/encoding library for binc, msgpack, cbor, json.

Go JSON Libraries 0 stars 9.9K imported-by 65% confidence
68

#5 go-starter

An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.

Go JSON Libraries 0 stars 0 imported-by 25% confidence
44