Skip to content

Commit

Permalink
Merge pull request #19 from jens-ox/master
Browse files Browse the repository at this point in the history
Update dependencies, fix output
  • Loading branch information
rii-mango authored Mar 27, 2024
2 parents df417d4 + 87668ba commit 57138a0
Show file tree
Hide file tree
Showing 8 changed files with 1,929 additions and 1,708 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
build
build
release
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ node_modules/
.idea/
release.sh
.DS_Store
*.d.cts
*.js.map
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ var output = decoder.decompress(buffer [, offset [, length]]);
### Install
Get a packaged source file from the [release folder](https://github.com/rii-mango/JPEGLosslessDecoderJS/tree/master/release):

* [lossless.js](https://raw.githubusercontent.com/rii-mango/JPEGLosslessDecoderJS/master/release/current/lossless.js)
* [lossless-min.js](https://raw.githubusercontent.com/rii-mango/JPEGLosslessDecoderJS/master/release/current/lossless-min.js)
* [lossless.js](https://raw.githubusercontent.com/rii-mango/JPEGLosslessDecoderJS/master/release/lossless.js)
* [lossless-min.js](https://raw.githubusercontent.com/rii-mango/JPEGLosslessDecoderJS/master/release/lossless-min.js)

Or install via [NPM](https://www.npmjs.com/):

Expand All @@ -44,7 +44,7 @@ npm test
```
npm run build
```
This will output lossless.js and lossless-min.js to build/
This will output `lossless.js` and `lossless-min.js` alongside declaration files and source maps to `/release`.

### Acknowledgments
This decoder was originally written by Helmut Dersch for Java. I added support for selection values 2 through 7, contributed bug fixes and ported to JavaScript.
Expand Down
Loading

0 comments on commit 57138a0

Please sign in to comment.