diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8a878aad..244db5ce 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,6 +7,9 @@ on:
tags:
- '!*' # Do not execute on tags
env:
+ NAME: ${{vars.NAME}}
+ EMAIL: ${{vars.EMAIL}}
+ NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
FORCE_COLOR: 1
@@ -55,8 +58,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 18.x
- - run: git clone https://${GITHUB_TOKEN}@github.com/nodef/deploy "$HOME/deploy"
- - run: bash "$HOME/deploy/setup.sh"
+ - uses: nodef/git-config.action@v1.0.0
- run: npm i -g typescript typedoc
- run: npm ci
- run: npm run publish-docs
@@ -71,8 +73,9 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 18.x
- - run: git clone https://${GITHUB_TOKEN}@github.com/nodef/deploy "$HOME/deploy"
- - run: bash "$HOME/deploy/setup.sh"
+ - uses: nodef/npm-config.action@v1.0.0
+ with:
+ entries: access = public
- run: npm i -g typescript rollup typedoc browserify terser
- run: npm ci
- run: npm run publish-packages
diff --git a/README.md b/README.md
index 6959a5d3..fd2d1e61 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,21 @@
-A collection of functions for operating upon iterables.
+An [iterable] is a sequence of values.
📦 [Node.js](https://www.npmjs.com/package/extra-iterable),
🌐 [Web](https://www.npmjs.com/package/extra-iterable.web),
📜 [Files](https://unpkg.com/extra-iterable/),
📰 [Docs](https://nodef.github.io/extra-iterable/),
📘 [Wiki](https://github.com/nodef/extra-iterable/wiki/).
-An [iterable] is a sequence of values. Assumption here is that an iterable can
-only be iterated over once. Methods which require multiple iterations preserve
-old values in a backup array using [toMany]. Many methods accept both compare
-and map functions, and in some cases using **only** a map function enables
-*faster comparision* (like [unique]). I borrowed a lot of ideas from Haskell,
-Elm, Python, Basic, Lodash, and other NPM packages. These are mentioned in
-references of each method.
+This is a collection of functions for operating upon **iterables**. Assumption
+here is that an **iterable** can *only* be iterated over *once*. Methods which
+require multiple iterations preserve old values in a backup array using
+[toMany]. Many methods accept both compare and map functions, and in some cases
+using **only** a map function enables *faster comparision* (like [unique]). I
+borrowed a lot of ideas from Haskell, Elm, Python, Basic, Lodash, and other NPM
+packages. These are mentioned in references of each method.
-This package is available in *Node.js* and *Web* formats. The web format
-is exposed as `extra_iterable` standalone variable and can be loaded from
-[jsDelivr CDN].
+This package is available in *Node.js* and *Web* formats. To use it on the web,
+simply use the `extra_iterable` global variable after loading with a `