
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
template-push
Advanced tools
Push template collections in a vinyl stream.
Based on assemble-push, by @doowb
npm i template-push --save
var push = require('template-push');
Returns a function that takes the current instance of app.
Params
app {Object}: Instance of app.returns {Function}: Factory function used to build a stream.Example
var app = require('your-app');
var appPush = require('template-push')(app);
Returns a stream that pushes a collection of templates onto a stream as vinyl file objects.
Params
name {String}: Name of the collection to push into the stream.returns {Stream}: Stream used in piping objects through.Example
// create a new arbitrary template type (collection)
app.create('foo', {isRenderable: true});
// Load `foo` templates
app.foo('about-app.md', {content: '...'});
// push the `foo` collection into the stream to be rendered
app.task('default', function () {
appPush('foo').pipe(app.dest('dist/'));
});
Install dev dependencies:
npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on April 27, 2015.
FAQs
Push template collections in a vinyl stream.
We found that template-push 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
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.