
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
assemble-middleware-buffer
Advanced tools
Buffer files into a specified array on the Assemble context.

Buffer files into a specified array on the Assemble context.
Install with npm:
npm i assemble-middleware-buffer --save-dev
Add files to the specified array on Assemble.
Usage
var assemble = require('assemble');
var buffer = require('assemble-middleware-buffer')(assemble);
var tap = require('gulp-tap');
assemble.src('path/to/pages/*.hbs')
.pipe(buffer({type: 'posts'}))
.pipe(tap(function (file) {
console.log('posts', assemble.posts);
});
options {Object}: object containing options: * {String} type name of the array to store the files in.return {Stream} stream to continue piping.Brian Woodward
Copyright (c) 2014 Brian Woodward, contributors.
Released under the MIT license
This file was generated by verb-cli on June 30, 2014.
FAQs
Buffer files into a specified array on the Assemble context.
We found that assemble-middleware-buffer 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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.