Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
fis-parser-ts
Advanced tools
用于 fis 工具的 typescript源文件编译插件
npm install fis-parser-ts
//fis-conf.js
//设置.ts源文件的解析器为ts
fis.config.set("modules.parser.ts", "ts");
//全局配置
fis.config.set('settings.parser.ts.compileSetting', {
module : "commonjs"// Specify module code generation: 'commonjs' or 'amd'
//, target : "ES3" // Specify ECMAScript target version: 'ES3' (default), or 'ES5'
//, noImplicitAny : true // Warn on expressions and declarations with an implied 'any' type.
//, removeComments : false // Do not emit comments to output.
//, noLib : false // Do not include default library
//, root : 'xxx' // Source file root
//, file : 'xxx.ts' // Source file path
//, nodejs : true // Is node.js source file
});
//设置 .ts源文件的扩展为 .js
fis.config.set('roadmap.ext.ts', 'js');
fis.config.set('roadmap.ext.ts', 'js');
//为某些文件提供 特殊的编译配置
fis.config.set('roadmap.path').push({
{
reg: "server/**.ts",
isMod: false,
useStandard: false,
compileSetting: {
nodejs : true // Is node.js source file
//, target : "ES3" // Specify ECMAScript target version: 'ES3' (default), or 'ES5'
//, noImplicitAny : true // Warn on expressions and declarations with an implied 'any' type.
//, removeComments : false // Do not emit comments to output.
//, noLib : false // Do not include default library
//, root : 'xxx' // Source file root
//, file : 'xxx.ts' // Source file path
}
}
});
FAQs
fis typescript compile plugin
The npm package fis-parser-ts receives a total of 0 weekly downloads. As such, fis-parser-ts popularity was classified as not popular.
We found that fis-parser-ts 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.