Javascript compilation: any type system ?

This page summarizes the projects mentioned and recommended in the original post on /r/nim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • DefinitelyTyped

    The repository for high quality TypeScript type definitions.

  • That's an interesting idea. In principle I think you could generate a TypeScript type definitions file like https://github.com/DefinitelyTyped/DefinitelyTyped, but that would probably require some work to do with a macro.

  • jsExport.nim

    CommonJS exports for Nim

  • Might want to look at how the jsExport macro in https://github.com/nepeckman/jsExport.nim works, or at https://github.com/mcclure/dts2nim (which works the other way, generating nim type definitions given a typescript definitions file).

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

    TypeScript -> Nim binding generator

  • Might want to look at how the jsExport macro in https://github.com/nepeckman/jsExport.nim works, or at https://github.com/mcclure/dts2nim (which works the other way, generating nim type definitions given a typescript definitions file).

  • Nim

    Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

  • You might be looking for sourcemaps? https://github.com/nim-lang/Nim/pull/7508

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts