From 46239f19bafec11fd4c04fc09819fb7ca48b4f1f Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 28 Jul 2020 13:16:44 +0200 Subject: [PATCH] Meta tweaks Closes #15 --- .travis.yml | 1 + license | 2 +- package.json | 3 ++- readme.md | 7 +------ 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index f98fed0..f5eabc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: node_js node_js: + - '14' - '12' - '10' - '8' diff --git a/license b/license index e7af2f7..fa7ceba 100644 --- a/license +++ b/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) Sindre Sorhus (sindresorhus.com) +Copyright (c) Sindre Sorhus (https://sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/package.json b/package.json index 8dd1359..0e59673 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,11 @@ "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" }, "engines": { "node": ">=8" diff --git a/readme.md b/readme.md index a21aa08..8b15edc 100644 --- a/readme.md +++ b/readme.md @@ -1,15 +1,13 @@ -# is-stream [![Build Status](https://travis-ci.org/sindresorhus/is-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/is-stream) +# is-stream [![Build Status](https://travis-ci.com/sindresorhus/is-stream.svg?branch=master)](https://travis-ci.com/github/sindresorhus/is-stream) > Check if something is a [Node.js stream](https://nodejs.org/api/stream.html) - ## Install ``` $ npm install is-stream ``` - ## Usage ```js @@ -23,7 +21,6 @@ isStream({}); //=> false ``` - ## API ### isStream(stream) @@ -46,12 +43,10 @@ Returns a `boolean` for whether it's a [`stream.Duplex`](https://nodejs.org/api/ Returns a `boolean` for whether it's a [`stream.Transform`](https://nodejs.org/api/stream.html#stream_class_stream_transform). - ## Related - [is-file-stream](https://github.com/jamestalmage/is-file-stream) - Detect if a stream is a file stream - ---