Skip to content

Commit

Permalink
move to ESM (#102)
Browse files Browse the repository at this point in the history
* Move to ESM

* Remove unused script

* Updates
  • Loading branch information
LitoMore authored Feb 5, 2025
1 parent 6b7dee5 commit 282a3f9
Show file tree
Hide file tree
Showing 11 changed files with 608 additions and 183 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,14 @@ jobs:
strategy:
matrix:
node-version:
- 7
- 8
- 9
- 10
- 11
- 13
- 14
- 15
- 20
- 18
- 16
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run pretest
- run: npm test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ansiChannels = convert.ansi16.channels; // 1
# Install

```sh
$ npm install color-convert
npm install color-convert
```

# API
Expand Down Expand Up @@ -117,7 +117,7 @@ channel | full-scale value
### gray
channel | full-scale value
---|---
g | 100
gray | 100

# Contribute

Expand Down
Loading

0 comments on commit 282a3f9

Please sign in to comment.