plimit.js

Simple promise concurrency limiter
git clone git://git.finwo.net/lib/plimit.js
Log | Files | Refs | README

commit a84b203c03b791dea91b18a689746325e5b9af49
parent 2f874fbc27a380f75f7dc29e0cb4266c027e0235
Author: Robin Bron <finwo@pm.me>
Date:   Fri, 10 Dec 2021 11:48:53 +0100

Added low-update notification

Diffstat:
MREADME.md | 4+++-
Mpackage.json | 9++++++---
2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -1,7 +1,9 @@ -# plimit +# @finwo/p-limit Simple promise concurrency limiter +> **Please Note:** Due to the very limited scope of this module, I do not anticipate needing to make very many changes to it. Expect long stretches of zero updates—that does not mean that the module is outdated. + ## Installation ```sh diff --git a/package.json b/package.json @@ -5,9 +5,12 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{print $2}' | sed 's/[\",]//g' | tr -d '[[:space:]]') && npm deprecate \"@finwo/p-limit@<${PACKAGE_VERSION}\" \"Rolling release, please update to ${PACKAGE_VERSION}\"" + "postpublish": "PACKAGE_VERSION=$(node -p \"require('./package.json').version\") PACKAGE_NAME=$(node -p \"require('./package.json').name\") && npm deprecate \"${PACKAGE_NAME}@<${PACKAGE_VERSION}\" \"Rolling release, please update to ${PACKAGE_VERSION}\"" }, "keywords": [], - "author": "", - "license": "ISC" + "author": "Robin Bron <robin@finwo.nl>", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/finwo" + } }