Comparing version 2.0.0 to 2.0.1
@@ -1,2 +0,1 @@ | ||
/// <reference types="node"/> | ||
import * as stream from 'stream'; | ||
@@ -3,0 +2,0 @@ |
@@ -26,5 +26,4 @@ 'use strict'; | ||
isStream.duplex(stream) && | ||
typeof stream._transform === 'function' && | ||
typeof stream._transformState === 'object'; | ||
typeof stream._transform === 'function'; | ||
module.exports = isStream; |
{ | ||
"name": "is-stream", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Check if something is a Node.js stream", | ||
"license": "MIT", | ||
"repository": "sindresorhus/is-stream", | ||
"funding": "https://github.com/sponsors/sindresorhus", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
"url": "https://sindresorhus.com" | ||
}, | ||
@@ -12,0 +13,0 @@ "engines": { |
@@ -1,6 +0,5 @@ | ||
# is-stream [![Build Status](https://travis-ci.org/sindresorhus/is-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/is-stream) | ||
# is-stream | ||
> Check if something is a [Node.js stream](https://nodejs.org/api/stream.html) | ||
## Install | ||
@@ -12,3 +11,2 @@ | ||
## Usage | ||
@@ -27,3 +25,2 @@ | ||
## API | ||
@@ -51,3 +48,2 @@ | ||
## Related | ||
@@ -57,5 +53,12 @@ | ||
--- | ||
## License | ||
MIT © [Sindre Sorhus](https://sindresorhus.com) | ||
<div align="center"> | ||
<b> | ||
<a href="https://tidelift.com/subscription/pkg/npm-is-stream?utm_source=npm-is-stream&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a> | ||
</b> | ||
<br> | ||
<sub> | ||
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies. | ||
</sub> | ||
</div> |
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
5927
61
84