
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
gulp-lodash-template
Advanced tools
gulp插件,将lodash模板文件预编译成function,支持JST、AMD和CommonJS输出
Precompile lodash.template to a function.
npm install gulp-lodash-template --save-dev
gulpfile.js
var template = require('gulp-lodash-template');
gulp.task('tmpl', function() {
return gulp.src('./tmpl/*.html')
.pipe(template({
commonjs: true,
// amd: true,
strict: true
}))
.pipe(gulp.dest('./tmpl/'));
});
Type: Object
Type: Boolean
Default: false
Add use strict;
at the first line of the compiled template function.
Type: Boolean
Default: false
Type: Boolean
Default: false
Type: Boolean
Default: false
Type: String
Default: 'JST'
FAQs
gulp plugin compile lodash template to a function
The npm package gulp-lodash-template receives a total of 11 weekly downloads. As such, gulp-lodash-template popularity was classified as not popular.
We found that gulp-lodash-template 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.