Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
soycompiler
Advanced tools
A simple compiler for SOY templates for inclusion on the client-side.
Soy compiler is simple little npm package that can be included to compile soy templates in a source directory to a target directory. This is useful to compile soy templates for inclusion on the client-side (to allow for client-side templates).
https://bitbucket.org/knecht_andreas/soycompiler
Simply run npm install soycompiler
.
var soycompiler = require("../lib/soycompiler.js");
soycompiler.compileTemplates({
"sourceDir":__dirname + "/source",
"targetDir":__dirname + "/target",
"autorecompile":true
}, function (err) {
if (err) {
throw new err;
}
});
See examples/example.js. The autorecompile flag is optional and may only be necessary in development. Setting this flag to true will automatically recompile all soy templates on any file change. (Currently changing any template will recompile all templates)
Copyright 2012 Andreas Knecht.
Licensed under the Apache License, Version 2.0.
See the top-level file LICENSE.txt
and
http://www.apache.org/licenses/LICENSE-2.0.
Ideas and some code constructs were inspired by the excellent https://github.com/Obvious/soynode.
FAQs
A simple compiler for SOY templates for inclusion on the client-side.
The npm package soycompiler receives a total of 0 weekly downloads. As such, soycompiler popularity was classified as not popular.
We found that soycompiler 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.