Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tadatuta/gulp-one-of
Filters vinyl stream by first of possible techs
https://github.com/tadatuta/gulp-one-of
Last synced: about 1 month ago
JSON representation
Filters vinyl stream by first of possible techs
- Host: GitHub
- URL: https://github.com/tadatuta/gulp-one-of
- Owner: tadatuta
- Created: 2016-12-11T13:29:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-11T15:48:46.000Z (almost 8 years ago)
- Last Synced: 2024-09-29T07:01:35.580Z (about 2 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gulp-one-of
Filters [vinyl](https://github.com/gulpjs/vinyl) stream by first of possible [techs](https://en.bem.info/methodology/filestructure/#a-block-implementation-is-divided-into-separate-files).
## Installation
```sh
npm i gulp-one-of --save-dev
```## Usage
```js
const gulp = require('gulp');
const oneOf = require('gulp-one-of');gulp.src('blocks/*.*')
.pipe(oneOf('post.css', 'css'))
.pipe(gulp.dest());
```