Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
assemble-fs
Advanced tools
Assemble plugin to add methods to assemble for working with the file system, like src, dest, copy and symlink.
Assemble plugin to add methods to assemble for working with the file system, like src, dest, copy and symlink.
Install with npm:
$ npm install --save assemble-fs
This is an assemble core plugin, you probably won't need to use this directly.
var assemble = require('assemble');
// create your application and add the plugin
var app = assemble()
.use(require('assemble-fs'))
// now you can use `src` and `dest`
app.src(['foo/*.hbs'])
.pipe(app.dest('site/'))
v0.6.0
end
on app
when stream endsv0.3.0
fs()
. This is to be consistent with assemble's plugin guidelines, and allows the plugin to be auto-loaded following the same format as other plugins.files
array to streamFiles
onStream
middleware handler to src
preWrite
middleware handler to dest
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Commits | Contributor |
---|---|
83 | jonschlinkert |
11 | 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:
$ 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:
$ npm install && npm test
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. MIT
This file was generated by verb-generate-readme, v0.4.2, on February 02, 2017.
FAQs
Light wrapper for vinyl-fs to add streams support in a way that plays nice with Assemble middleware.
The npm package assemble-fs receives a total of 23,789 weekly downloads. As such, assemble-fs popularity was classified as popular.
We found that assemble-fs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.