Compare commits

...

2 Commits

Author SHA1 Message Date
b7ef295757 1.0.13 2019-02-20 00:40:32 +01:00
2818420ee9 fix(docs): update 2019-02-20 00:40:31 +01:00
4 changed files with 18 additions and 6 deletions

View File

@ -20,6 +20,21 @@ simplifies access to node streams
Use TypeScript for best in class instellisense.
```typescript
import { Smartstream } from 'smartstream'
import * as gUglify from 'gulp-uglify'
let mySmartstream = new Smartstream([
gulp.src(['./file1.js','./file2.js']),
gUglify(),
gulp.dest('./some/output/path')
])
mySmartstream.onError((err) => { /* handle error */ }) // handles all errors in stream
myStream.onCustomEvent('myeventname', (args...) => { /* Do something */ }) // emit an custom event anywhere in your stream
mySmartstream.run().then(() => {/* do something when stream is finished */})
```
For further information read the linked docs at the top of this readme.
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartstream",
"version": "1.0.12",
"version": "1.0.13",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartstream",
"version": "1.0.12",
"version": "1.0.13",
"private": false,
"description": "simplifies access to node streams",
"main": "dist/index.js",

View File

@ -1,7 +1,4 @@
import * as smartpromise from '@pushrocks/smartpromise';
import * as through2 from 'through2';
export {
smartpromise,
through2
};
export { smartpromise, through2 };