[Node] Run Any Version of a Node Tool with npx

Posted Answer1215

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Node] Run Any Version of a Node Tool with npx相关的知识,希望对你有一定的参考价值。

As node projects evolve, new features are added all the time. This results in different errors or results as you‘re migrating from one version to another. npx allows you to try out any version you want by simply adding the version number to the project you‘re using. This lesson covers using the TypeScript compiler through a different versions as async function support was added.

 

Install:

npm install -g npx

 

Usage:

npx [email protected]1.6 index.ts
npx typescript --target es2017 index.ts // Use the latest version

 

以上是关于[Node] Run Any Version of a Node Tool with npx的主要内容,如果未能解决你的问题,请参考以下文章

NLP Calculate the similarity of any two articles resume version

shiro与spring集成时报Versions of Ehcache before version 2.5 allowed any number of CacheManagers with the

This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'

This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'

Plugin[id:‘org.jetbrains.kotlin.jvm‘, version: ‘1.3.50‘]was not found in any of the following source

This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery