Skip to content

Can we use this in the browser to compile and run ts? #18

Open

Description

@quantuminformation
No description provided.

Activity

  1. changed the title [-]Can we use this in the browser to compile and run js?[/-] [+]Can we use this in the browser to compile and run ts?[/+] on Mar 3, 2018
  2. svallory commented on Apr 11, 2018

    @svallory
    Member

    Never tried it actually, but I think it will work. It hasn't been maintained for a long time though

  3. IlijazM commented on Dec 31, 2020

    @IlijazM

    Yes sure but the real question is why should you do this? Let's say you only serve the typescript files and a typescript compiler, that would mean that whenever someone visits your website they first have to run the typescript compiler in order to execute javascript code. This is just inefficient. There are websites, however, that provide an online typescript sandbox (e.g. https://www.typescriptlang.org/play). This could be a use case for a typescript compiler that gets executed in a browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions