type-safety

Top 23 type-safety Open-Source Projects

  • ts-toolbelt

    πŸ‘· TypeScript's largest type utility library

  • Project mention: 5 Resources Each TypeScript Developer Should Know About | dev.to | 2024-03-10

    There are a bunch of awesome type utility libraries that may boost your works on types, like ts-toolbelt, utility-types, SimplyTyped, etc., which you can already use.

  • returns

    Make your functions return something meaningful, typed, and safe!

  • Project mention: This Week in Python (February 23, 2024) | dev.to | 2024-02-23

    returns – Make your functions return something meaningful, typed, and safe

  • 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 logo
  • pgtyped

    pgTyped - Typesafe SQL in TypeScript

  • Project mention: Type-Safe Printf() in TypeScript | news.ycombinator.com | 2024-03-24

    There is an implementation of SQL that operates on a table shaped type, entirely at type level. For your amusement: https://github.com/codemix/ts-sql

    There are a bunch of more practical takes that codegen types from your database and generate types for your queries, eg: https://github.com/adelsz/pgtyped

    To me the second approach seems much more pragmatic because you don’t need to run a SQL parser in a fairly potato interpreter on every build

  • type_safe

    Zero overhead utilities for preventing bugs at compile time

  • result

    A simple Rust like Result type for Python 3. Fully type annotated. (by rustedpy)

  • Project mention: Ask HN: Anyone looking for contributors for their open source projects | news.ycombinator.com | 2024-03-21

    https://github.com/rustedpy/result

    Small Python library, slowly and steadily growing in use.

  • dry-validation

    Validation library with type-safe schemas and rules

  • Project mention: Payload and parameters validation in Rails | dev.to | 2024-03-09

    Luckily, there is a large pool of community wisdom around and outside of Rails which may help us a lot here. Instead of inventing our own wheel for now we will use one invented before us by others. Pretty much sure you have seen this magic used outside of Hogwarts before: https://dry-rb.org/gems/dry-validation.

  • swift-tagged

    🏷 A wrapper type for safer, expressive code.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • coalton

    Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.

  • Project mention: How to Write a (Lisp) Interpreter (In Python) | news.ycombinator.com | 2024-03-11

    It's still… not the same. In CL (and specially with SBCL), we get compile time (type) errors and warnings at the blink of an eye, when we compile a single function with a keystroke (typically C-c C-c in Slime).

    And there's also been improvement, see Coalton for a ML on top of CL. (https://github.com/coalton-lang/coalton/)

  • nexus-plugin-prisma

    Deprecated

  • swift-nonempty

    🎁 A compile-time guarantee that a collection contains a value.

  • magmide

    A dependently-typed proof language intended to make provably correct bare metal code possible for working software engineers.

  • Project mention: Languages on the rise like Rust and Go are being quite vocal against inheritance and many engineers seem to agree. Is this the end of inheritance? What do you think? | /r/rust | 2023-07-04

    https://github.com/magmide/magmide when

  • flow-runtime

    A runtime type system for JavaScript with full Flow compatibility.

  • typical

    Data interchange with algebraic data types. (by stepchowfun)

  • Project mention: Typical: Data interchange with algebraic data types | /r/patient_hackernews | 2023-05-22
  • compose-navigation-reimagined

    🌈 Type-safe navigation library for Jetpack Compose

  • cone

    Cone Programming Language

  • Graphaello

    A Tool for Writing Declarative, Type-Safe and Data-Driven Applications in SwiftUI using GraphQL

  • mammoth

    A type-safe Postgres query builder for TypeScript. (by Ff00ff)

  • Project mention: PostgresJs: The Fastest full featured PostgreSQL client for Node.js and Deno | news.ycombinator.com | 2023-10-14

    Super happy user of this [1] it's rather minimalistic but great.

    [1] https://github.com/Ff00ff/mammoth

  • topshell

    TopShell - a purely functional, reactive scripting language

  • remix-forms

    The full-stack form library for Remix and React Router

  • structopt

    Parse command line arguments by defining a struct (by p-ranav)

  • dry-struct

    Typed struct and value objects

  • tsafe

    πŸ”© The missing TypeScript utils

  • vuex-smart-module

    Type safe Vuex module with powerful module features

  • 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.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

type-safety related posts

Index

What are some of the best open-source type-safety projects? This list will help you:

Project Stars
1 ts-toolbelt 6,406
2 returns 3,259
3 pgtyped 2,800
4 type_safe 1,447
5 result 1,355
6 dry-validation 1,314
7 swift-tagged 1,297
8 coalton 990
9 nexus-plugin-prisma 833
10 swift-nonempty 832
11 magmide 804
12 flow-runtime 804
13 typical 552
14 compose-navigation-reimagined 524
15 cone 502
16 Graphaello 494
17 mammoth 492
18 topshell 472
19 remix-forms 471
20 structopt 451
21 dry-struct 402
22 tsafe 384
23 vuex-smart-module 382

Sponsored
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