Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
blissify
Advanced tools
Readme
browserify v2 plugin for bliss
install blissify locally to your project
npm install blissify
Create templates using bliss; by default blissify transforms .html
files
@!(name)
<h1>Hello @name!</h1>
Require and use those templates in your view (backbone), controller (spine), etc.
var template = require('template.html');
$('body').html(template({name: 'Nali'}));
On the command line, transform module with browserify -t
option:
browserify -t blissify main.js > bundle.js
Or, in a bundler script (e.g. bundler.js
), use blissify as a transform:
var browserify = require('browserify');
var blissify = require('blissify');
var b = browserify();
b.add('view.js');
b.transform(blissify);
b.bundle().pipe(process.stdout);
Then, run the script to bundle it up:
node bundler
Pro tip: you can configure a custom extension for blissify
bundler.transform(blissify.configure('.bliss'));
To set the transformer in debug mode, set verbose=true
when instatiating blissify
var blissify = require('blissify');
blissify.verbose = true;
When enabled, debug mode will console.log
when a raw template is successfully recompiled and console.error
when a parse error occurs. This is super helpful if you're using watchify. an error will look like:
[blissify] error: <badTemplate.html>
<errorStackTrace>
Note that when in debug mode, the error is not passed to the through
stream.
0.1.x
to 1.0.0
?b.transform(blissify())
to b.transform(blissify)
drink up me 'earties, yo ho!
FAQs
a browserify v2 plugin for bliss
The npm package blissify receives a total of 16 weekly downloads. As such, blissify popularity was classified as not popular.
We found that blissify 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.