Skip to content

Commit

Permalink
Add CommonJS support
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes committed Feb 10, 2024
1 parent 0a28785 commit 0bd3cc1
Show file tree
Hide file tree
Showing 6 changed files with 1,163 additions and 4,044 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
dist/**
dist
.DS_Store
!./example/dist/index.js
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

[Small package](https://bundlephobia.com/result?p=calc-aspect-ratio) for calculating aspect ratio of display resolution.

## [Demo](https://vvideo.github.io/calc-aspect-ratio/example/index.html)

## Install
`npm i --save-dev calc-aspect-ratio`

Expand Down
Loading

0 comments on commit 0bd3cc1

Please sign in to comment.