[Node] Run Any Version of a Node Tool with npx
Node of with version run TOOL any
2023-09-14 08:59:18 时间
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 typescript@1.6 index.ts npx typescript --target es2017 index.ts // Use the latest version
相关文章
- leetcode 之Remove Nth Node From End of List(19)
- Node.js进程管理之子进程
- Node.js处理I/O数据之Buffer模块缓冲数据
- [WASM] Run WebAssembly in Node.js using the node-loader
- [Node.js] Using ES6 and beyond with Node.js
- [Node.js] node-persist: localStorage on the server
- [Node.js] Level 5. Express
- [Node.js]28. Level 5: Express Server
- node-canvas遇到NODE_MODULE_VERSION不一致的问题
- [Algorithm] Delete a node from Binary Search Tree
- [WASM] Run WebAssembly in Node.js using the node-loader
- [Node.js] Intro to Web Scraping with Node and X-ray
- [Node.js] Broswerify -- 1
- [Node.js] Level 5. Express
- An example of unit test on Web UI component context node class
- leetcode 题解 || Remove Nth Node From End of List 问题
- Node.js学习笔记(二)——Node.js模块化、文件读写、环境变量
- 论文解读(S^3-CL)《Structural and Semantic Contrastive Learning for Self-supervised Node Representation Learning》
- leetcode 19 -- Remove Nth Node From End of List
- Node.js(二)node 核心模块 fs、HTTP模块、express框架
- Node.js Buffer