Socket
Socket
Sign inDemoInstall

lazypipe

Package Overview
Dependencies
3
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

22

package.json
{
"name": "lazypipe",
"description": "Use to create an immutable, lazily initialized pipeline from a series of streams.",
"version": "0.1.3",
"version": "0.1.4",
"homepage": "https://github.com/OverZealous/lazypipe",

@@ -10,2 +10,5 @@ "repository": {

},
"bugs": {
"url": "https://github.com/OverZealous/lazypipe/issues"
},
"author": {

@@ -17,3 +20,9 @@ "name": "Phil DeJarnett",

"keywords": [
"gulpfriendly", "stream", "streams", "combine", "lazy", "pipeline", "gulp"
"gulpfriendly",
"stream",
"streams",
"combine",
"lazy",
"pipeline",
"gulp"
],

@@ -42,10 +51,3 @@ "dependencies": {

}
],
"readme": "![status](https://secure.travis-ci.org/OverZealous/lazypipe.png?branch=master)\n\nlazypipe\n=======\n\nLazypipe allows you to create an immutable, lazily-initialized pipeline. It's designed to be used in an environment where you want to reuse partial pipelines, such as with [gulp](http://gulpjs.com).\n\nThis module returns a function that can be used to start building a lazypipe. Individual steps are added via the `.pipe()` method. At any point, a new lazypipe can be built by adding to an existing one, without affecting the previous lazypipe. Lazypipes can even be used as steps within another lazypipe.\n\nOnce the partial pipeline is ready to use, call the last result from `.pipe()` directly as a function (e.g.: `.pipe()()`).\n\nUsage\n-----\n\nInstall using:\n\n npm i --save-dev lazypipe\n\nThen create lazypipes like so:\n\n```js\n// Example usage within a gulpfile\nvar lazypipe = require('lazypipe');\n\n...\n\n// initialize a lazypipe\nvar jsHintTasks = lazypipe()\n // adding a pipeline step, notice the stream has not been initialized!\n .pipe(jshint)\n // adding a step with an argument\n .pipe(jshint.reporter, 'jshint-stylish');\n \n// this is OK, because lazypipes are immutable\n// jsHintTasks will _not_ be affected by the addition.\nvar jsTasks = jsHintTasks\n .pipe(gulp.dest, 'build/js');\n\n\n// now using the lazypipes\ngulp.task('jsHint', function() {\n gulp.src('js/**/*.js').pipe(jsHintTasks());\n});\n\ngulp.task('build', function() {\n // for example only!\n return gulp.src('js/**/*.js').pipe(jsTasks());\n});\n\ngulp.task('default', ['build'], function() {\n // using gulp-watch\n watch('js/**/*.js').pipe(jsTasks());\n});\n```\n\n[Full docs are available on github.](https://github.com/OverZealous/lazypipe)",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/OverZealous/lazypipe/issues"
},
"_id": "lazypipe@0.1.3",
"_from": "lazypipe@*"
]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc