From e6fad6a666a62f9ac2bd6f50e62aee0e45fd620c Mon Sep 17 00:00:00 2001 From: Jason Garber Date: Sun, 1 Oct 2023 12:17:47 -0400 Subject: [PATCH] Update installation instructions for non-npm usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In [this post](https://adactio.com/links/20512), @adactio notes: > I just wish the installation didn’t assume that you’re using npm …it’s not really “zero dependency” if it depends on that. Easy enough! This commit adds a brief sentence on how to download a copy of table-saw without using npm or other package management tooling. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 786a827..aad8a71 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,9 @@ A small structural-only zero-dependency Web Component for responsive `` e ## Installation -Install via [npm on `@zachleat/table-saw`](https://www.npmjs.com/package/@zachleat/table-saw). +For a truly zero-dependency experience, [download a tagged version](https://github.com/zachleat/table-saw/tags) and follow [the usage instructions above](#examples). + +Or, install via [npm on `@zachleat/table-saw`](https://www.npmjs.com/package/@zachleat/table-saw). ```sh npm install @zachleat/table-saw @@ -50,4 +52,4 @@ npm install @zachleat/table-saw * Works with viewport media queries or container queries. * Uses CSS grid for small viewport alignment. * Falls back to regular table before or without JavaScript. -* Cuts the mustard on [`CSSStyleSheet.prototype.replaceSync`](https://caniuse.com/mdn-api_cssstylesheet_replacesync) \ No newline at end of file +* Cuts the mustard on [`CSSStyleSheet.prototype.replaceSync`](https://caniuse.com/mdn-api_cssstylesheet_replacesync)