TS-ESNode

Node.JS Loader hook to transform typescript source and files as node loads them TS-ESNode. TS-Node for ESNext & ESModule Node.JS. (by K-FOSS)

TS-ESNode Alternatives

Similar projects and alternatives to TS-ESNode

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better TS-ESNode alternative or higher similarity.

TS-ESNode reviews and mentions

Posts with mentions or reviews of TS-ESNode. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-09.
  • Hello Yarn 2, Goodbye node_modules
    5 projects | news.ycombinator.com | 9 Aug 2021
    CommonJS is a great module system if you're using JS for scripting Unix (which it excels at). Is there a good reason to use ESM though? I've been half-joking that it's the "extinguish" phase of Microsoft's EEE strategy for JS.

    I know one legitimate reason is "tree shaking" (source-level LTO when bundling modules). Dumber, static import/export statements probably simplify that in some way. However ESM destroys the isomorphism between JS modules and the filesystem.

    One change that ES modules introduced, I think, for no other reason than to be backwards incompatible, is changing the behavior of the default export (`export default foo` transpiles down to `module.exports.default = foo` instead of `module.exports = foo`).

    Other "ohai guys this is the new normal now" kinds of changes are making the dynamic imports async-only (after not supporting them for a while) as well as changing the behavior of module resolution.

    And the cherry on top is called TS-ESNode: https://github.com/K-FOSS/TS-ESNode because TypeScript modules and ESM are the same thing yet you need to somehow find this third-party shim which is required for them to work together at all. It's enabled by wrapping the interpreter, just like Yarn2's new dependency resolution.

Stats

Basic TS-ESNode repo stats
2
37
6.0
4 months ago

K-FOSS/TS-ESNode is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of TS-ESNode is TypeScript.

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