protobuf-es VS refute

Compare protobuf-es vs refute and see what are their differences.

protobuf-es

Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests. (by bufbuild)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
protobuf-es refute
7 3
937 9
2.8% -
9.2 5.9
2 days ago 6 months ago
TypeScript TypeScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

protobuf-es

Posts with mentions or reviews of protobuf-es. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-29.

refute

Posts with mentions or reviews of refute. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-04.
  • Ramda: A practical functional library for JavaScript programmers
    7 projects | news.ycombinator.com | 4 Aug 2023
    I find straight forward, dedicated combinators much more readable and practical to use ie. for iterables (context where it makes a lot of sense) [0] example [1], runtime assertions (through refutations, which are much faster than combinators over assertions) [2], parser combinators for smallish grammars [3] etc.

    In many cases vanilla/imperative js is more readable and terse, no need to bring functional fanaticism everywhere, just in places where it gives true benefits and in form that can be understood by peers.

    Functional code can be beautiful and can also be unreadable/undebugable. Same with imperative code. It's great in js/ts you can pick approach where the problem is expressed more naturally and mix it at will.

    [0] https://github.com/preludejs/generator

    [1] https://observablehq.com/@mirek/project-euler

    [2] https://github.com/preludejs/refute

    [3] https://github.com/preludejs/parser

  • Ask HN: Why isn't JSON-RPC more widely adopted?
    11 projects | news.ycombinator.com | 2 Jan 2023
    We use jsonrpc over websockets in production for many years in trading services. It works very well. We use lightweight libraries that look like this [0] and this [1]. It's lightweight, fast, type safe, easy to maintain and debug etc.

    [0] https://github.com/preludejs/jsonrpc

    [1] https://github.com/preludejs/refute

  • An Inconsistent Truth: Next.js and Typesafety
    5 projects | news.ycombinator.com | 2 Dec 2021
    Types can be asserted at runtime (parsed) at IO boundaries (reading http request or response, websocket message, parsing json file etc). Once they enter statically type system they don't need to be asserted again.

    The difference it makes is illusion of type-safety vs type-safety this article touches on.

    You can try to bind service with client somehow but in many cases this will fail in production as you can't guarantee paired versioning, due to normal situations by design of your architecture or temporary mid-deployment state or other team doing something they were not suppose to do etc. It's hard to avoid runtime parsing in general.

    Functional combinators [0] or faster [1] with predicate/assert semantics work very well with typescript, which is very pleasant language to work with.

    [0] https://github.com/appliedblockchain/assert-combinators

    [1] https://github.com/preludejs/refute

What are some alternatives?

When comparing protobuf-es and refute you can also consider the following projects:

ts-proto - An idiomatic protobuf generator for TypeScript

assert-combinators - Functional assertion combinators.

connect-go - Moved to https://github.com/connectrpc/connect-go

next-rpc - makes exported functions from API routes accessible in the browser. Just import your API function and call it anywhere you want.

bloomrpc - Former GUI client for gRPC services. No longer maintained.

parser - String parser combinators

protobuf-ts - Protobuf and RPC for TypeScript

sick - Streams of Independent Constant Keys

grpcurl - Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

gradual-typing-bib - A bibliography on Gradual Typing

connect-es - The TypeScript implementation of Connect: Protobuf RPC that works.

fetch - Fetch Standard