
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
HaloJS is a simple but powerful templating language that allows you to generate HTML markup in a Javascript manner.
HaloJS is a simple but powerful templating language that allows you to generate HTML markup in a Javascript manner.
$ npm install --save halojs
const halo = require('halojs');
// Renders a string
let compiled = halo.render(string, params);
// Renders a file
let compiled = halo.renderFile(filePath, params);
Creating a form:
@form.upload('/contact', { novalidate: true, autocomplete: true });
<div class="form-group">
@ input.text
(
'name',
{
class: 'input form-control',
'data-validation': 'required',
'data-validation-error-msg': 'Please enter your full name',
placeholder: 'Your Name *'
}
);
</div>
<div class="form-group">
<div class="row">
<div class="col-sm-6">
@ input.email('email',
{
class: 'input form-control',
'data-validation': 'required',
'data-validation-error-msg': 'Please enter your email address',
placeholder: 'Email Adress *'
}
);
</div>
<div class="col-sm-6">
@ input.tel('phone',
{
class: 'input form-control',
'data-validation': 'required',
'data-validation-error-msg': 'Please enter your phone number',
placeholder: 'Phone Number *'
}
);
</div>
</div>
</div>
<div class="form-group">
@ textarea('message',
{
class: 'input form-control',
'data-validation': 'required',
'data-validation-error-msg': 'Please leave a message',
placeholder: 'Your Message *',
rows: 3
}
);
</div>
@ button.submit('Submit', { class: 'btn btn-block ui-gradient-green shadow-md' });
@endform;
HaloJS is released under the MIT license.
FAQs
HaloJS is a simple but powerful templating language that allows you to generate HTML markup in a Javascript manner.
The npm package halojs receives a total of 3 weekly downloads. As such, halojs popularity was classified as not popular.
We found that halojs 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.