
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
前端开发环境
编译es6789到es5
支持async/await
支持class属性定义
支持可选链
私有特性,自动编译js中{pug[...]pug}的pug代码为html
//foo.js
let template;
template="{pug[div: img]pug}`"
//template="<div><img/></div>"
template="{pug[$foo.pug]pug}`"
//foo.pug中的内容为"div: img"
//template="<div><img/></div>"
//以上语句等价于
template="{pug[]pug}`"
//使用绝对位置置入pug
template="{pug[/src/$foo.pug]pug}`"
编译less到css
pug到html
安装
npm install jtrans
或者
yarn add jtrans
全局安装
npm install -g jtrans
使用
jtrans dev
所有配置
jtrans dev
jtrans watch
# 所有配置
jtrans build --src=src --dist=dist --build-clean --disabled-treeshake --port=4560 --src-base=src
FAQs
The npm package jtrans receives a total of 1 weekly downloads. As such, jtrans popularity was classified as not popular.
We found that jtrans demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.