Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Just another templating language
From npm: npm i -g justin-ml
From local copy: npm i -g .
, or run with the npm start
script
Options
-V, --version
Installed version-i, --input
Input file (optional, can use file arg instead)-o, --output
Output file (optional, default writes to stdout)--pretty
Format outputted html$ justin-ml compile_this.jml
Brackets instead of closing tags
div {
span { }
}
Attributes use : instead of =
a href:"google.com" { }
Text represented as strings
span { "some text" }
JS style comments
// This will be ignored
span { "hello" }
Variables
def $primary "blue"
def $link "google.com"
a href:$link color:$primary {
"go to " $link
}
Templates
tmpl $button ($color $action) {
button color:$color {
"clicking here will " $action
}
}
div class:"shopping-cart-footer" {
$button ("grey" "cancel your order")
$button ("green" "continue to checkout")
}
FAQs
Compiler for a simple templating language
The npm package justin-ml receives a total of 0 weekly downloads. As such, justin-ml popularity was classified as not popular.
We found that justin-ml 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.