Gathering detailed insights and metrics for gulp-emblem-printer
Gathering detailed insights and metrics for gulp-emblem-printer
Gathering detailed insights and metrics for gulp-emblem-printer
Gathering detailed insights and metrics for gulp-emblem-printer
Gulp.js plugin that converts Emblem.js ^0.6.0 template to Handlebars
npm install gulp-emblem-printer
Typescript
Module System
Min. Node Version
Node Version
NPM Version
55.4
Supply Chain
43.1
Quality
69.7
Maintenance
25
Vulnerability
98.1
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
20 Commits
2 Forks
2 Watchers
1 Branches
4 Contributors
Updated on Jan 28, 2023
Latest Version
0.1.1
Package Id
gulp-emblem-printer@0.1.1
Size
1.41 kB
NPM Version
3.8.6
Node Version
6.0.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
6
Package | gulp-emblem-printer |
Description | Converts Emblem to Handlebars |
Node Version | >= 0.10 |
Emblem Version | >= 0.8.0 |
1var emblemPrinter = require('gulp-emblem-printer'); 2 3gulp.task('templates', function() { 4 return gulp.src('./templates/*.em') 5 .pipe(emblemPrinter({ 6 extension:'.handlebars' 7 })) 8 .pipe(gulp.dest('./dist/templates/')); 9});
This will convert Emblem files to Handlebars files and replace their extension to .handlebars (.hbs is the default).
1var emberHtmlbarsCompiler = require('../bower_components/ember/ember-template-compiler'), 2 gulpHtmlbarsCompiler = require('gulp-htmlbars-compiler'); 3 emblemPrinter = require('gulp-emblem-printer'); 4 5gulp.task('templates', function() { 6 return gulp.src('./templates/*.em') 7 .pipe(emblemPrinter()) 8 .pipe(gulpHtmlbarsCompiler({ 9 compiler: emberHtmlbarsCompiler 10 })) 11 .pipe(concat('templates.js')) 12 .pipe(gulp.dest('./dist/')); 13});
This will convert Emblem files to Handlebars files and precompile them with the help of the gulp-htmlbars-compiler
plugin and EmberJS HTMLBars compiler.
The gulp-htmlbars-compiler
plugin output looks like this:
1Ember.TEMPLATES['<FILENAME_WITHOUT_EXTENSION>'] = Ember.HTMLBars.template(<PRECOMPILED_TEMPLATE>);
(MIT License)
Copyright (c) 2015 Kay Plößer k@kay.is
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 3/14 approved changesets -- score normalized to 2
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More