TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output. (by microsoft)

Stats

Basic TypeScript repo stats
160
70,760
9.8
7 days ago

microsoft/TypeScript is an open source project licensed under Apache License 2.0 which is an OSI approved license.

TypeScript Alternatives

Similar projects and alternatives to TypeScript

  • GitHub repo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • GitHub repo Next.js

    The React Framework

  • GitHub repo jest

    Delightful JavaScript Testing.

  • GitHub repo Visual Studio Code

    Visual Studio Code

  • GitHub repo Tailwind CSS

    A utility-first CSS framework for rapid UI development.

  • GitHub repo prettier

    Prettier is an opinionated code formatter.

  • GitHub repo DefinitelyTyped

    The repository for high quality TypeScript type definitions.

  • GitHub repo io-ts

    Runtime type system for IO decoding/encoding

  • GitHub repo zod

    TypeScript-first schema validation with static type inference

  • GitHub repo react-native

    A framework for building native apps with React.

  • GitHub repo deno

    A secure JavaScript and TypeScript runtime

  • GitHub repo Ansible

    Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.

  • GitHub repo Cypress

    Fast, easy and reliable testing for anything that runs in a browser.

  • GitHub repo typescript-eslint

    :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript

  • GitHub repo fp-ts

    Functional programming in TypeScript

  • GitHub repo bulletproof-nodejs

    Implementation of a bulletproof node.js API 🛡️

  • GitHub repo proposal-pattern-matching

    Pattern matching syntax for ECMAScript

  • GitHub repo runtypes

    Runtime validation for static types

  • GitHub repo proposal-decorators

    Decorators for ES6 classes

  • GitHub repo nestor

    A parallel implementation of NESTOR in Python 3

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better TypeScript alternative or higher similarity.

Posts

Posts where TypeScript has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-05-16.
  • Speed up Neovim built-in lsp
    reddit.com/r/neovim | 2021-05-16
    Not that I know of. It was mentioned in this issue that TypeScript team is working on implementing LSP inside tsserver directly, but it is not a priority. I think coc-tsserver is an alternative (it has its own LSP implementation using tsserver) but I think you can't use it with native LSP. If native LSP is worse than coc, I'd stick to coc, I think I should do this too unfortunately because it's very slow for me as well.
  • Parsix: Parse Don't Validate
    news.ycombinator.com | 2021-05-15
    This is not yet possible in Typescript, but imagine if you could define a numerical subtype that requires your input be below some threshold eg:

    `type Limit = 0..100;`

    See discussion here: https://github.com/Microsoft/TypeScript/issues/15480

  • String.raw \x - compiler error
    You may want to take a look at this: https://github.com/microsoft/TypeScript/issues/42887
  • Create a todo list in React
    dev.to | 2021-05-14
    In this tutorial we will learn how to create a todo list in React using Typescript.
  • 🔥 Next JS TypeScript Template Free using Tailwind 2.0, ESLint, Prettier and Husky
    dev.to | 2021-05-14
    🚀 Boilerplate and Starter for Next.js, Tailwind CSS and TypeScript ⚡️ Made with developer experience first: Next.js, TypeScript, ESLint, Prettier, PostCSS, Tailwind CSS.
  • JavaScript Intellisense/AutoComplete: WHY IS THIS SO HARD?
    reddit.com/r/vscode | 2021-05-13
    For your specific case of declaring properties on the global app object, it might work better if you avoid mixing inline and external property declarations, see microsoft/TypeScript#27245. So instead of const app = { version: "0.1" }; you could try:
  • Contract first, strictly typed endpoints in Deno with runtime validation
    reddit.com/r/Deno | 2021-05-13
    Tnx, we have done some expiriments and it is definitely possible to do. Two lessons here: - you cannot directly import json as const into typescript. Wich forces you to copy your openapi json into a TS file. https://github.com/microsoft/TypeScript/issues/32063 - with large openapi specs (we tested the full github api) it will be very heavy for your ide.
  • Export / report all settings to one json file
    reddit.com/r/vscode | 2021-05-12
    Not sure exactly what you're after, are you aware that VS Code already stores the settings in JSON files? The scripting language of VS Code would probably be TypeScript (that's what the source code is written in), or just plain JavaScript, as that's how extensions are written.
  • I have so many questions (btw, why there's no TS flair?)
    don't worry about using bool there, typescript already has an equivalent declaration in src/tests/cases/compiler/ramdaToolsNoInfinite2.ts:52
  • TS and ts-jest meet “type”: “module”
    dev.to | 2021-05-11
    TypeScript/issues/13422: TS should add .js extensions for rel paths as required by ECMA standard. But is doesn’t yet. Well, the dirty fix may be found in issue comments.
 find www/js -type f -name '*.js' -print0 | xargs -0 sed -i '' -E 's/from "([^"]+)";$/from "\1.js";/g'
  • Types vs. Interfaces in Typescript
    dev.to | 2021-05-09
    According to the official Typescript document: "TypeScript is an open-source language that builds on JavaScript, one of the world’s most used tools, by adding static type definitions." Implementing typescript on our project saves a lot of time in the long run. But as a developer, we should follow the best practices and standards when working with types in typescript. In this article, we will take a look at the differences between two types type aliases and interface. Many developers don't really know the real difference between these two. Having known the differences, we can implement these according to the best use case for us.
  • Should we dig deeper into the development tools we use?
    dev.to | 2021-05-07
  • Build and Deploy a Serverless GraphQL React App Using AWS Amplify
    dev.to | 2021-05-07
    typescript: we will use TypeScript in some parts of this demo
  • JavaScript for Shell Scripting
    news.ycombinator.com | 2021-05-06
    This was kinda explored at the start of April this year: https://github.com/microsoft/TypeScript/pull/43480
  • Rock Solid Express Application Architecture
    dev.to | 2021-05-06
    The second one and the one I like the most is santiq/bulletproof-nodejs boilerplate with 3k+ stars on GitHub. Unlike the previous one, this boilerplate is much lighter and very well suited for building APIs. It's also written in TypeScript which is a plus and follows a number of design patterns that I like. Although a robust boilerplate I have two issues with this. They are as follows -