タグ

TypeScriptとdenoに関するefclのブックマーク (2)

  • Denoからnpmパッケージを使用するノウハウ

    このページの内容は古くなっています。 最新の情報については、以下のページを参照いただければと思います。 https://zenn.dev/uki00a/books/effective-deno/viewer/how-to-use-npm-packages DenoJavaScript/TypeScriptランタイムであるため、既存のNode.jsやブラウザの資産をある程度活かすことができます。 この記事では、Denoからnpmパッケージを使用する際のノウハウについて、パッケージの種別ごとに解説します。 DenoとNode.jsの両方をサポートするパッケージ Node.jsとブラウザの両方で動作するパッケージ CommonJS形式で配布されているパッケージ Node.jsのAPIに依存するパッケージ DenoとNode.jsの両方をサポートするパッケージ npmパッケージの中にはDeno

    Denoからnpmパッケージを使用するノウハウ
    efcl
    efcl 2021/01/01
    Denoからnpmに公開されたパッケージを利用する方法について。 skypack、esm.sh、jspm.devを使った方法について。 また、JavaScriptで書かれたパッケージを型チェックする仕組みとしての`X-TypeScript-Types`ヘッダと`@deno-types`について
  • TypeScript compiler in Rust · Issue #5432 · denoland/deno

    This is long, but please read before you comment. If you are interested in following this, use the subscribe button to the right instead of just adding a comment. Since the Deno v1 announcement there has been a lot of community interest in the TypeScript compiler in Rust that was mentioned. This issue is intended to provide information on that. First a few points: I am a long term collaborator in

    TypeScript compiler in Rust · Issue #5432 · denoland/deno
    efcl
    efcl 2020/05/18
    DenoのTypeScriptの速度改善のIssue。 型チェックが遅いので、transpileOnly + fork-ts-checker 的なアプローチで型チェックをRustで行うことで改善できるのではないかという話。 完全な型チェック互換が難しいという課題が残ってる
  • 1