Installations
npm install skeletron
Developer Guide
Typescript
No
Module System
CommonJS
Score
47.5
Supply Chain
76.2
Quality
73.9
Maintenance
25
Vulnerability
85
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
ferlores
Download Statistics
Total Downloads
3,666
Last Day
1
Last Week
8
Last Month
22
Last Year
121
GitHub Statistics
1 Stars
8 Commits
2 Watching
2 Branches
1 Contributors
Bundle Size
56.73 kB
Minified
16.71 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.2
Package Id
skeletron@0.0.2
Size
2.23 kB
Total Downloads
Cumulative downloads
Total Downloads
3,666
Last day
0%
1
Compared to previous day
Last week
166.7%
8
Compared to previous week
Last month
175%
22
Compared to previous month
Last year
-13.6%
121
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
Skeletron - WORK IN PROGRESS
Copy a template directory to a desired destination parsing the content of each file with handlebars.
Example
1var skeletron = require('skeletron'); 2 3var data = { 4 name: 'widgetName', 5 version: '0.0.1', 6 dependencies:{ 7 'widget': '>0.2', 8 'widget2': '=0.1.x' 9 }, 10 css: ['main.css', 'main2.css'], 11 html: ['template.html', 'template2.html'] 12} 13 14var cb = function (finder) { 15 finder.on('directory', function (dir, stat) { 16 console.log(dir); 17 }); 18 19 finder.on('file', function (file, stat) { 20 console.log(file); 21 }); 22 23 finder.on('link', function (link, stat) { 24 console.log(link); 25 }); 26} 27 28skeletron({ 29 skel: __dirname + '/skel', 30 dest: __dirname + "/widget", 31 data: data, 32 mode: '0777', 33 followLinks: true 34}, cb); 35
Every file in the skel tree can be a handlebar template. It is possible to define helpers trough this.Handlebars
:
var hb = require('skeletron').Handlebars;
hb.registerHelper('helperName', function(items, options) {
...
});
License
MIT
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/8 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2025-02-03
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