Gathering detailed insights and metrics for assemble-streams
Gathering detailed insights and metrics for assemble-streams
Gathering detailed insights and metrics for assemble-streams
Gathering detailed insights and metrics for assemble-streams
Assemble plugin that adds convenience methods for working with streams, like `toStream`, which pushes a view collection into a vinyl stream.
npm install assemble-streams
Typescript
Module System
Min. Node Version
Node Version
NPM Version
94.6
Supply Chain
88.5
Quality
73
Maintenance
50
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3 Stars
69 Commits
2 Forks
4 Watchers
2 Branches
8 Contributors
Updated on Oct 18, 2017
Latest Version
1.0.1
Package Id
assemble-streams@1.0.1
Size
4.17 kB
NPM Version
3.10.10
Node Version
6.9.5
Published on
Feb 11, 2017
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
Assemble pipeline plugin for pushing views into a vinyl stream.
Install with npm:
1$ npm install --save assemble-streams
This plugin can be used with assemble, verb or any other application based on templates.
1var assemble = require('assemble'); 2var streams = require('assemble-streams'); 3 4// create your application 5var app = assemble(); 6// register the plugin 7app.use(stream()); 8 9// use the plugin on app 10app.toStream('pages') 11 .pipe(app.dest('site/')); 12 13// use the plugin on a collection 14app.pages.toStream() 15 .pipe(app.dest('site/')); 16 17// use the plugin on a view 18app.pages.getView('home').toStream() 19 .pipe(app.dest('site/'));
See the tests for more examples.
Push a view collection into a vinyl stream.
Params
collection
{String}: Name of the collection to push into the stream.returns
{Stream}Example
1app.toStream('posts', function(file) { 2 return file.path !== 'index.hbs'; 3})
Push a view collection into a vinyl stream.
Params
returns
{Stream}Example
1app.posts.toStream(function(file) { 2 return file.path !== 'index.hbs'; 3})
Push the current view into a vinyl stream.
returns
{Stream}Example
1app.pages.getView('a.html').toStream() 2 .on('data', function(file) { 3 console.log(file); 4 //=> <Page "a.html" <Buffer 2e 2e 2e>> 5 });
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Commits | Contributor |
---|---|
34 | jonschlinkert |
21 | doowb |
(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)
To generate the readme, run the following command:
1$ npm install -g verbose/verb#dev verb-generate-readme && verb
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
1$ npm install && npm test
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. MIT
This file was generated by verb-generate-readme, v0.4.2, on February 11, 2017.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 1/28 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-14
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