Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 16, 2024 via pnpm

vinyl-source-stream 2.0.0

Use conventional text streams at the start of your gulp or vinyl pipelines
Package summary
Share
0
issues
2
licenses
16
MIT
2
ISC
Package created
11 Jan 2014
Version published
23 Dec 2017
Maintainers
2
Total deps
18
Direct deps
2
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
16 Packages, Including:
clone-buffer@1.0.0
clone-stats@1.0.0
clone@2.1.2
cloneable-readable@1.1.3
core-util-is@1.0.3
isarray@1.0.0
process-nextick-args@2.0.1
readable-stream@2.3.8
replace-ext@1.0.1
safe-buffer@5.1.2
string_decoder@1.1.1
through2@2.0.5
util-deprecate@1.0.2
vinyl-source-stream@2.0.0
vinyl@2.2.1
xtend@4.0.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
inherits@2.0.4
remove-trailing-separator@1.1.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
β“˜ This is a list of vinyl-source-stream 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
through22.0.53.96 kBMIT
prod
vinyl2.2.17.4 kBMIT
prod

Visualizations

Frequently Asked Questions

What does vinyl-source-stream do?

Vinyl-source-stream is a module that essentially allows you to use conventional text streams at the start of your gulp or vinyl pipelines, enhancing the interoperability with the existing npm stream ecosystem. It acts as a bridge allowing simple usage of the original module directly where possible, reducing the need for extra overhead such as additional GitHub repositories, npm modules, maintainers, tests, semantics, etc.

How do you use vinyl-source-stream?

Using Vinyl-source-stream is relatively straightforward. It works by creating a through stream that takes text as input and emits a single vinyl file instance. You can use Vinyl-source-stream with gulp tasks, and it's particularly useful to use with browserify. Here's an illustrative example:

var source = require('vinyl-source-stream')
var streamify = require('gulp-streamify')
var browserify = require('browserify')
var uglify = require('gulp-uglify')
var gulpify = require('gulpify')
var rename = require('gulp-rename')
var gulp = require('gulp')

gulp.task('browserify', function() {
  var bundleStream = browserify('./index.js').bundle()

  bundleStream
    .pipe(source('index.js'))
    .pipe(streamify(uglify()))
    .pipe(rename('bundle.js'))
    .pipe(gulp.dest('./'))
})

In this example, you see the source function used after calling bundle(), indicating that you're using Vinyl-source-stream to handle output stream from browserify.

Where are the vinyl-source-stream docs?

The Vinyl-source-stream docs can be found in the README.md file located in the GitHub repository, here. It contains detailed explanation of the module's purpose, usage, and API including code usage examples. Further reference and assistance could be taken from the usage section where practical code examples are provided. This ensures that developers can understand and use the functionality efficiently and effectively.