Skip to content

Commit

Permalink
Update installation instructions for non-npm usage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jgarber623 authored Oct 1, 2023
1 parent 50bc84e commit e6fad6a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ A small structural-only zero-dependency Web Component for responsive `<table>` 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
Expand All @@ -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)
* Cuts the mustard on [`CSSStyleSheet.prototype.replaceSync`](https://caniuse.com/mdn-api_cssstylesheet_replacesync)

0 comments on commit e6fad6a

Please sign in to comment.