stream-to-string
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "stream-to-string", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Pipe a stream into a string, collect value with callback or promise", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "make test", | ||
"travis-test": "make test && ((cat coverage/lcov.info | coveralls) || exit 0)", | ||
"view-cover": "open coverage/index.html", | ||
"vc": "open coverage/index.html", | ||
"help": "make help" | ||
"test": "make npm-test", | ||
"view-cover": "make view-cover" | ||
}, | ||
@@ -40,9 +37,8 @@ "repository": { | ||
"tap-spec": "~0.1.9", | ||
"tape": "~2.12.3", | ||
"tape": "~4.0.1", | ||
"through2": "^0.6.3" | ||
}, | ||
"dependencies": { | ||
"promise-polyfill": "^1.1.6", | ||
"tape": "^3.4.0" | ||
"promise-polyfill": "^1.1.6" | ||
} | ||
} |
@@ -12,3 +12,3 @@ # stream-to-string | ||
``` | ||
```javascript | ||
var toString = require('..'), | ||
@@ -34,3 +34,5 @@ through2 = require('through2'), | ||
`var toString = require('stream-to-string')` | ||
```javascript | ||
var toString = require('stream-to-string') | ||
``` | ||
@@ -43,7 +45,9 @@ ### toString(stream [, cb]) | ||
`npm test [--dot | --spec] [--coverage]` | ||
`npm test [--dot | --spec] [--coverage | --grep=pattern]` | ||
Alternatively, only run test files matching a certain pattern by prefixing the command | ||
with `grep=pattern`. Example: `grep=init npm test` | ||
Specifying `--dot` or `--spec` will change the output from the default TAP style. | ||
Specifying `--coverage` will print a text coverage summary to the terminal after | ||
tests have ran, while `--pattern` will only run the test files that match the given | ||
pattern. | ||
Open an html coverage report after running tests with `npm run view-cover` or `npm run vc` | ||
Open an html coverage report with `npm run view-cover`. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
51
9176
- Removedtape@^3.4.0
- Removeddeep-equal@0.2.2(transitive)
- Removeddefined@0.0.0(transitive)
- Removedglob@3.2.11(transitive)
- Removedinherits@2.0.4(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedminimatch@0.3.0(transitive)
- Removedobject-inspect@0.4.0(transitive)
- Removedresumer@0.0.0(transitive)
- Removedsigmund@1.0.1(transitive)
- Removedtape@3.6.1(transitive)
- Removedthrough@2.3.8(transitive)