
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
ceri-compiler
Advanced tools
compiles template strings for ceriJS
npm install --save-dev ceri-compiler
Usage: ceri-compiler [options] <file ...>
Options:
-h, --help output usage information
-V, --version output the version number
-o, --out [folder] out
-b, --bundle make a bundle
-w, --webpack webpack config to use for bundle creation
-v [version] (required) compiler version to use
ceri-compiler -b someComp.js
// syntax
// template(version:Number or String, template: String)
template = template(1,"<div></div>")
// output
template = function(){return [this.el("div",{},[])]}
// using consolidate.js
template = template("pug.1","div")
<div class=someClass></div> <!-- simple attribute -->
<!-- directives -->
<div :class=nameOfVar></div> <!-- bind local scope variable to attribute -->
<div @click=nameOfFunction></div> <!-- bind local scope function to event -->
<div :click.toggle=nameOfVar></div> <!-- set modifier to binding -->
<div> <!-- use elemental directives to pass further options -->
<@click=nameOfVar toggle>
</div>
<div :class.expr=@nameOfVar></div> <!-- create a inline expression '@' is short for 'this.' -->
<div><slot></slot></div> <!-- define a slot -->
<div>Hello {{@greeted}}</div> <!-- create a inline expression -->
Copyright (c) 2017 Paul Pflugradt Licensed under the MIT license.
FAQs
compiles template strings for ceriJS
The npm package ceri-compiler receives a total of 6 weekly downloads. As such, ceri-compiler popularity was classified as not popular.
We found that ceri-compiler 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
/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.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.