File not found
+diff --git a/.cursor/rules/javascript.mdc b/.cursor/rules/javascript.mdc deleted file mode 100644 index 78c6287..0000000 --- a/.cursor/rules/javascript.mdc +++ /dev/null @@ -1,14 +0,0 @@ ---- -description: JavaScript module -globs: -alwaysApply: true ---- - -- Use JSDoc standard for creating docblocks of functions and classes. -- Always use camelCase for function names. -- Always use upper-case snake_case for constants. -- Create integration tests in 'tests/integration' that use node-assert, which run with mocha. -- Create unit tests in 'tests/unit' that use node-assert, which run with mocha. -- Use node.js community "Best Practices". -- Adhere to DRY, KISS, YAGNI, & SOLID principles -- Adhere to OWASP security guidance diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index ae86553..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: [avoidwork] diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 02ae4b7..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: "/" - schedule: - interval: weekly - open-pull-requests-limit: 10 - - package-ecosystem: npm - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 10 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 992ebdd..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,47 +0,0 @@ ---- -name: ci - -on: - pull_request: - branches: - - master - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [24.x] - - steps: - - name: Checkout Repository - uses: actions/checkout@v6 - with: - fetch-depth: 1 - - - name: Setup Node ${{ matrix.node-version }} - uses: actions/setup-node@v6 - with: - always-auth: false - node-version: ${{ matrix.node-version }} - - - name: Install dependencies - run: npm install - - - name: Build - run: npm run build - - - name: Run Tests - run: npm test - - automerge: - needs: build - runs-on: ubuntu-latest - permissions: - pull-requests: write - contents: write - steps: - - uses: fastify/github-action-merge-dependabot@v3 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 3200b01..dc03eaf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ -.husky -node_modules -.idea -coverage +node_modules/* +.idea/* \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 610c2a5..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npm test diff --git a/404.html b/404.html new file mode 100644 index 0000000..c148644 --- /dev/null +++ b/404.html @@ -0,0 +1,50 @@ + + +
+File not found
+
+
+
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 2b7c0ba..0000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,1082 +0,0 @@
-### Changelog
-
-All notable changes to this project will be documented in this file. Dates are displayed in UTC.
-
-Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
-
-#### [11.0.13](https://github.com/avoidwork/filesize.js/compare/11.0.12...11.0.13)
-
-- Fixing links in the README.md header [`bbe910f`](https://github.com/avoidwork/filesize.js/commit/bbe910ff9780a3e6aef16b6248e31b6203a0d89c)
-
-#### [11.0.12](https://github.com/avoidwork/filesize.js/compare/11.0.11...11.0.12)
-
-> 21 September 2025
-
-- Version bump, updating CHANGELOG.md [`88edbb0`](https://github.com/avoidwork/filesize.js/commit/88edbb0e027ebe012da541657a0413834ac9445f)
-- Fixing README.md [`096b755`](https://github.com/avoidwork/filesize.js/commit/096b7556a69534b5b72a0fbe0f11255a5a274a85)
-
-#### [11.0.11](https://github.com/avoidwork/filesize.js/compare/11.0.10...11.0.11)
-
-> 21 September 2025
-
-- Updates [`#207`](https://github.com/avoidwork/filesize.js/pull/207)
-- Updating CHANGELOG.md [`df0978a`](https://github.com/avoidwork/filesize.js/commit/df0978af725626117c6f7bd86c53daec17a99540)
-
-#### [11.0.10](https://github.com/avoidwork/filesize.js/compare/11.0.9...11.0.10)
-
-> 19 September 2025
-
-- Version bump [`cc9e109`](https://github.com/avoidwork/filesize.js/commit/cc9e109fda32f5949c4315b752c7d6baa5393482)
-- Updating README.md [`bc34e1d`](https://github.com/avoidwork/filesize.js/commit/bc34e1dbe51bbde362a01cef1319f9d1dcd6f193)
-
-#### [11.0.9](https://github.com/avoidwork/filesize.js/compare/11.0.8...11.0.9)
-
-> 19 September 2025
-
-- Optimizations [`#206`](https://github.com/avoidwork/filesize.js/pull/206)
-- Version bump [`6c22783`](https://github.com/avoidwork/filesize.js/commit/6c2278373e9919a834909cf2b74bc9dbb3e742e8)
-- Updating documentation [`f38cabf`](https://github.com/avoidwork/filesize.js/commit/f38cabf7499a728a65a8ab523b83f9b24eb45187)
-- Updating documentation [`5d06823`](https://github.com/avoidwork/filesize.js/commit/5d06823ec82d9dc380bc0f9c81e100ce406c00cd)
-
-#### [11.0.8](https://github.com/avoidwork/filesize.js/compare/11.0.7...11.0.8)
-
-> 19 September 2025
-
-- Fixing 'precision' some moar [`#205`](https://github.com/avoidwork/filesize.js/pull/205)
-- Version bump [`ca9a176`](https://github.com/avoidwork/filesize.js/commit/ca9a17639511a4150f8f5b70dd8898611a13cfac)
-
-#### [11.0.7](https://github.com/avoidwork/filesize.js/compare/11.0.6...11.0.7)
-
-> 19 September 2025
-
-- Fixing the upper boundary of 'precision' [`#204`](https://github.com/avoidwork/filesize.js/pull/204)
-- Version bump [`a382bfb`](https://github.com/avoidwork/filesize.js/commit/a382bfb5cc3c5c3bb4d06e1c8078fffa8f555fce)
-
-#### [11.0.6](https://github.com/avoidwork/filesize.js/compare/11.0.2...11.0.6)
-
-> 19 September 2025
-
-- Taking a mulligan on 'precision' [`#203`](https://github.com/avoidwork/filesize.js/pull/203)
-- Bump rollup from 4.50.1 to 4.50.2 [`#199`](https://github.com/avoidwork/filesize.js/pull/199)
-- Bump actions/setup-node from 4 to 5 [`#198`](https://github.com/avoidwork/filesize.js/pull/198)
-- Bump rollup from 4.50.0 to 4.50.1 [`#197`](https://github.com/avoidwork/filesize.js/pull/197)
-- Bump eslint from 9.34.0 to 9.35.0 [`#196`](https://github.com/avoidwork/filesize.js/pull/196)
-- Bump mocha from 11.7.1 to 11.7.2 [`#195`](https://github.com/avoidwork/filesize.js/pull/195)
-- Bump rollup from 4.49.0 to 4.50.0 [`#194`](https://github.com/avoidwork/filesize.js/pull/194)
-- Bump rollup from 4.44.2 to 4.49.0 [`#193`](https://github.com/avoidwork/filesize.js/pull/193)
-- Bump eslint from 9.30.1 to 9.34.0 [`#192`](https://github.com/avoidwork/filesize.js/pull/192)
-- Bump actions/checkout from 4 to 5 [`#191`](https://github.com/avoidwork/filesize.js/pull/191)
-- Updating tests [`017e5b1`](https://github.com/avoidwork/filesize.js/commit/017e5b1fe328b0624f067d5790f55c6694d95a78)
-- Adding 'Mathematical Foundation' section to 'TECHNICAL_DOCUMENTATION.md' [`ec20636`](https://github.com/avoidwork/filesize.js/commit/ec206366285c6c6b4c29ccc87f6e5450ca128c79)
-- Updating documentation [`ef70bf8`](https://github.com/avoidwork/filesize.js/commit/ef70bf8e7889e7f86bee32841ad0ec48faadc82a)
-
-#### [11.0.2](https://github.com/avoidwork/filesize.js/compare/11.0.1...11.0.2)
-
-> 16 July 2025
-
-- Returning 'bigint' to 'filesize.d.ts' & fixing docblock [`#190`](https://github.com/avoidwork/filesize.js/pull/190)
-- Updating CHANGELOG.md [`d9909d9`](https://github.com/avoidwork/filesize.js/commit/d9909d94113244c21f636ab6e049a56bf39be3e1)
-
-#### [11.0.1](https://github.com/avoidwork/filesize.js/compare/11.0.0...11.0.1)
-
-> 13 July 2025
-
-- Adding benchmarks [`#189`](https://github.com/avoidwork/filesize.js/pull/189)
-- Version bump, updating CHANGELOG.md [`d372bab`](https://github.com/avoidwork/filesize.js/commit/d372bab063001cdcf465f5c16d5a38ce2211ac46)
-- Updating CHANGELOG.md [`9f85e3d`](https://github.com/avoidwork/filesize.js/commit/9f85e3dea6d4d73146984c138c4b7bedc7b08063)
-
-### [11.0.0](https://github.com/avoidwork/filesize.js/compare/10.1.6...11.0.0)
-
-> 11 July 2025
-
-- Updating all the things [`#188`](https://github.com/avoidwork/filesize.js/pull/188)
-- Bump rollup from 4.18.1 to 4.22.4 [`#186`](https://github.com/avoidwork/filesize.js/pull/186)
-
-#### [10.1.6](https://github.com/avoidwork/filesize.js/compare/10.1.5...10.1.6)
-
-> 4 September 2024
-
-- Fixing regression due to rollup config, fixes #185 [`#185`](https://github.com/avoidwork/filesize.js/issues/185)
-- Missed the nullish coercion with last commit [`10d1fc6`](https://github.com/avoidwork/filesize.js/commit/10d1fc696d32d49e888bf5d7bf245826db74227e)
-- Generated CHANGELOG.md [`6eaa3ce`](https://github.com/avoidwork/filesize.js/commit/6eaa3ce2914377b75edb23f15abd36e9d29c2c98)
-- Generated CHANGELOG.md [`b480b29`](https://github.com/avoidwork/filesize.js/commit/b480b2992a3ac2acb18a030c7b3ce11fe91fb6e0)
-
-#### [10.1.5](https://github.com/avoidwork/filesize.js/compare/10.1.4...10.1.5)
-
-> 3 September 2024
-
-- Fixing implementation of 'pad' such that 'separator' is not required for it to be applied, fixes #184 [`#184`](https://github.com/avoidwork/filesize.js/issues/184)
-- Generated CHANGELOG.md [`0248be0`](https://github.com/avoidwork/filesize.js/commit/0248be0a29033bb391f59899920b8e5cc5a53b2a)
-
-#### [10.1.4](https://github.com/avoidwork/filesize.js/compare/10.1.3...10.1.4)
-
-> 8 July 2024
-
-- Fixing type def of 'partial()' [`0e1516a`](https://github.com/avoidwork/filesize.js/commit/0e1516a721c1fec679fa20d1a884c89f499c59d0)
-- Generated CHANGELOG.md [`bb0fe7c`](https://github.com/avoidwork/filesize.js/commit/bb0fe7cc321270818a672023a1f978d734706b16)
-
-#### [10.1.3](https://github.com/avoidwork/filesize.js/compare/10.1.2...10.1.3)
-
-> 8 July 2024
-
-- fix: add bigint in filesize.d.ts [`#183`](https://github.com/avoidwork/filesize.js/pull/183)
-- Bump braces from 3.0.2 to 3.0.3 [`#182`](https://github.com/avoidwork/filesize.js/pull/182)
-- Updating dependencies [`400b3e3`](https://github.com/avoidwork/filesize.js/commit/400b3e3b30c3faa77bc67a981da5ce2afd78d847)
-- Generated CHANGELOG.md [`5b2198a`](https://github.com/avoidwork/filesize.js/commit/5b2198ac0249bd10c9422561ab8e0450c79f2d51)
-
-#### [10.1.2](https://github.com/avoidwork/filesize.js/compare/10.1.1...10.1.2)
-
-> 11 May 2024
-
-- fix: input type should accept string [`#181`](https://github.com/avoidwork/filesize.js/pull/181)
-- Version bump to release, generating CHANGELOG.md [`e840b87`](https://github.com/avoidwork/filesize.js/commit/e840b876572067a6e832e610331bcf146f2e7b5e)
-- Updating the year in LICENSE & README.md [`c9840ae`](https://github.com/avoidwork/filesize.js/commit/c9840ae45d7646370ccb289330d5f58655f897dc)
-
-#### [10.1.1](https://github.com/avoidwork/filesize.js/compare/10.1.0...10.1.1)
-
-> 21 March 2024
-
-- Rework types to allow Parameters<typeof filesize> to function properly [`#180`](https://github.com/avoidwork/filesize.js/pull/180)
-- Bump @babel/traverse from 7.23.0 to 7.23.2 [`#178`](https://github.com/avoidwork/filesize.js/pull/178)
-- Version bump to release new types declaration [`cf1dcb7`](https://github.com/avoidwork/filesize.js/commit/cf1dcb70a216c7321eb4a018293689c2c994a09e)
-- change: rework types to allow usages like Parameters<typeof filesize> [`fbfc87f`](https://github.com/avoidwork/filesize.js/commit/fbfc87f4d24de80813330a74fc30392f8bfb1002)
-- Generating CHANGELOG.md [`d80c457`](https://github.com/avoidwork/filesize.js/commit/d80c4579e1259f3a133fed3ae8b6762712b72623)
-
-#### [10.1.0](https://github.com/avoidwork/filesize.js/compare/10.0.13...10.1.0)
-
-> 3 October 2023
-
-- Fixing tests to use `strictEqual()` [`6b4b108`](https://github.com/avoidwork/filesize.js/commit/6b4b1081d638336074c64b35d1e240aab6102176)
-- Simplifying the assignment of `base` & `standard`, adding an `si` alias to correct implementations, fixing tests for the standards, adding tests for `si` standard, updating types, updating README.md [`720c032`](https://github.com/avoidwork/filesize.js/commit/720c0328e5dd95f41d46009e65d48a6f99dfffae)
-- Generated CHANGELOG.md [`b591a66`](https://github.com/avoidwork/filesize.js/commit/b591a660e57e35490e0e05b8ebc0768e59534ec0)
-
-#### [10.0.13](https://github.com/avoidwork/filesize.js/compare/10.0.12...10.0.13)
-
-> 3 October 2023
-
-- Symbol option type fix [`#177`](https://github.com/avoidwork/filesize.js/pull/177)
-- Merge latest [`#1`](https://github.com/avoidwork/filesize.js/pull/1)
-- Adding a test, fixing a test, adding `nyc` for test coverage reporting, updating `README.md`, returning `.npmignore`, updating `.gitignore` [`7a61c30`](https://github.com/avoidwork/filesize.js/commit/7a61c30de1ceebc506d0f83bdc67af198e7623f5)
-- Adding a workflow [`cb26761`](https://github.com/avoidwork/filesize.js/commit/cb26761dadd10e2e676edf6128f17c0d004aa96e)
-- Adding husky for a pre-commit hook [`0e7d0ba`](https://github.com/avoidwork/filesize.js/commit/0e7d0baeb7b7f2817110d661ca407f1789ddc74d)
-
-#### [10.0.12](https://github.com/avoidwork/filesize.js/compare/10.0.11...10.0.12)
-
-> 12 August 2023
-
-- Allow passing options without output property [`#174`](https://github.com/avoidwork/filesize.js/pull/174)
-- remove any usage and allow passing options without output property [`c42acc0`](https://github.com/avoidwork/filesize.js/commit/c42acc09e0e04334cf3455a9c3b4dc9da5fa5cb2)
-- Version bump, generating CHANGELOG.md [`901be1f`](https://github.com/avoidwork/filesize.js/commit/901be1f0159a7575ae6e22d39615b1206a5d6e19)
-
-#### [10.0.11](https://github.com/avoidwork/filesize.js/compare/10.0.10...10.0.11)
-
-> 10 August 2023
-
-- Version bump 'cause npm has inane rules for releases [`5544cb7`](https://github.com/avoidwork/filesize.js/commit/5544cb7feec835c85c387544e23e56bde5c04105)
-- Generating CHANGELOG.md [`dea30ba`](https://github.com/avoidwork/filesize.js/commit/dea30ba5d1f3a03796a949bb61552e358ad2a1d4)
-
-#### [10.0.10](https://github.com/avoidwork/filesize.js/compare/10.0.9...10.0.10)
-
-> 10 August 2023
-
-- Revert "Tweaking types and removing any usage" [`3aee3e8`](https://github.com/avoidwork/filesize.js/commit/3aee3e83f3d5de1b5683a0904d48815e1f539a16)
-- Version bump to release, generating CHANGELOG.md [`d1c1247`](https://github.com/avoidwork/filesize.js/commit/d1c1247dfda0f51c1d42f3534b60209c46908fbf)
-
-#### [10.0.9](https://github.com/avoidwork/filesize.js/compare/10.0.8...10.0.9)
-
-> 9 August 2023
-
-- Tweaking types and removing any usage [`#172`](https://github.com/avoidwork/filesize.js/pull/172)
-- Version bump to release, generating CHANGELOG.md [`80dcac5`](https://github.com/avoidwork/filesize.js/commit/80dcac58df50362ab1a2ae18574ba94d023805c3)
-
-#### [10.0.8](https://github.com/avoidwork/filesize.js/compare/10.0.7...10.0.8)
-
-> 27 July 2023
-
-- fixup: Add interface for filesize options object [`#171`](https://github.com/avoidwork/filesize.js/pull/171)
-- Bump word-wrap from 1.2.3 to 1.2.4 [`#170`](https://github.com/avoidwork/filesize.js/pull/170)
-- Version bump to release, generating CHANGELOG.md [`c9fff4f`](https://github.com/avoidwork/filesize.js/commit/c9fff4f777d65ac85dd14e22fa2f0a62dac166e2)
-
-#### [10.0.7](https://github.com/avoidwork/filesize.js/compare/10.0.6...10.0.7)
-
-> 29 March 2023
-
-- Updating copyright year in README.md & LICENSE, updating dependencies [`4de5566`](https://github.com/avoidwork/filesize.js/commit/4de5566e155b83eeaaf742225587502e04563809)
-- Updating CHANGELOG.md [`d41818f`](https://github.com/avoidwork/filesize.js/commit/d41818f78b0e2023eec98e5f9964aaeefaf91e8a)
-- Generating CHANGELOG.md [`a324b71`](https://github.com/avoidwork/filesize.js/commit/a324b71bde07e827f983dd997581ab8cb4fd2390)
-
-#### [10.0.6](https://github.com/avoidwork/filesize.js/compare/10.0.5...10.0.6)
-
-> 12 December 2022
-
-- Setting `engines.node` to `>= 10.4.0` for lowest version supporting `BigInt`, fixing `npm run build` for windows (needs `gow`) [`0a4d329`](https://github.com/avoidwork/filesize.js/commit/0a4d3296b584fac1c871452cafa8ed1cbf5dbdf9)
-- Minor tweak [`daf5389`](https://github.com/avoidwork/filesize.js/commit/daf53898d8a2c82519bf5a44316fb839e2891b8b)
-- Updating CHANGELOG.md [`d110a35`](https://github.com/avoidwork/filesize.js/commit/d110a35706e9685810ef469bb37e3c45c37b53b0)
-
-#### [10.0.5](https://github.com/avoidwork/filesize.js/compare/10.0.3...10.0.5)
-
-> 12 December 2022
-
-- Fix web pack [`#164`](https://github.com/avoidwork/filesize.js/pull/164)
-- Reverting revert to default export, removing `browser` key from `package.json` as it's redirection away from `main` or `module` is what breaks webpack, fixes #162 [`#162`](https://github.com/avoidwork/filesize.js/issues/162)
-- Version bump to release reverted README.md [`ee1a977`](https://github.com/avoidwork/filesize.js/commit/ee1a977551d26c0ee14f4f6a12dae21a14d5b6c0)
-- Updating CHANGELOG.md, version bump to release [`71a6336`](https://github.com/avoidwork/filesize.js/commit/71a633611e5ab1c418cdc2210515f39754057a3b)
-- Revert "Updating README.md" [`87f817c`](https://github.com/avoidwork/filesize.js/commit/87f817c81afe37768c051dbf6f6e827a6b4cefb2)
-
-#### [10.0.3](https://github.com/avoidwork/filesize.js/compare/10.0.2...10.0.3)
-
-> 29 September 2022
-
-- Switching back to a default export for webpack issues (unsure of where the issue is atm), fixes #162 [`#162`](https://github.com/avoidwork/filesize.js/issues/162)
-- Building version bump [`b80a38d`](https://github.com/avoidwork/filesize.js/commit/b80a38d49122697a1d9b8806aa7babaf6e7d38e5)
-- Updating README.md [`d826155`](https://github.com/avoidwork/filesize.js/commit/d82615587b0eee6513193294af73d4e35d2c197c)
-- Updating CHANGELOG.md [`bd259de`](https://github.com/avoidwork/filesize.js/commit/bd259de4bf73df7ca19d2cae0aecea912797a457)
-
-#### [10.0.2](https://github.com/avoidwork/filesize.js/compare/10.0.1...10.0.2)
-
-> 28 September 2022
-
-- Fixing rollup config (copy/pasta), version bump to release, fixes #162 [`#162`](https://github.com/avoidwork/filesize.js/issues/162)
-- Updating CHANGELOG.md [`24501d0`](https://github.com/avoidwork/filesize.js/commit/24501d07a0ebf179ab87f70523a8f3c35f6fefa1)
-
-#### [10.0.1](https://github.com/avoidwork/filesize.js/compare/10.0.0...10.0.1)
-
-> 28 September 2022
-
-- Lowering minimum version to 14.0.0, fixes #161 [`#161`](https://github.com/avoidwork/filesize.js/issues/161)
-- Building with new version number, updating CHANGELOG.md [`9d81ad1`](https://github.com/avoidwork/filesize.js/commit/9d81ad1120094b22e4682787c3c33e6ce43c7c3c)
-
-### [10.0.0](https://github.com/avoidwork/filesize.js/compare/9.0.11...10.0.0)
-
-> 28 September 2022
-
-- BigInts and named exports [`#160`](https://github.com/avoidwork/filesize.js/pull/160)
-- Adding support for `BigInt` numbers, fixes #146 [`#146`](https://github.com/avoidwork/filesize.js/issues/146)
-- Building with revision dependencies [`00ff1ae`](https://github.com/avoidwork/filesize.js/commit/00ff1aea8d56d0f184a7fd0226506428a9edb3dc)
-- Updating tests to run within `mocha` [`091a7cc`](https://github.com/avoidwork/filesize.js/commit/091a7cc77b72deddce36823a5d00e523422fcfaf)
-- Regenerating CHANGELOG.md [`3b40756`](https://github.com/avoidwork/filesize.js/commit/3b407564d14ab237a0287303ae2111d131d328eb)
-
-#### [9.0.11](https://github.com/avoidwork/filesize.js/compare/9.0.10...9.0.11)
-
-> 27 June 2022
-
-- Adding invaid `base 10 iec` test set, building [`38221a0`](https://github.com/avoidwork/filesize.js/commit/38221a0dcb3313c81c911860ffee50978b026c74)
-- Adding invaid `base 10 iec` test set, building, version bump to release [`7b75cae`](https://github.com/avoidwork/filesize.js/commit/7b75caeb951b82cbbd1d93108a61a0b478fe53b2)
-- Updating changelog [`893d312`](https://github.com/avoidwork/filesize.js/commit/893d3123759a1552d6387eae6d0a09f442f14d3f)
-
-#### [9.0.10](https://github.com/avoidwork/filesize.js/compare/9.0.9...9.0.10)
-
-> 27 June 2022
-
-- Fixing base 2 jedec regression with refactoring [`#158`](https://github.com/avoidwork/filesize.js/pull/158)
-- Adding dupe set of `base2` tests explicitly set to `jedec` standard to expose logic error [`1281269`](https://github.com/avoidwork/filesize.js/commit/1281269b2826534468abed691641762d2e224f65)
-- Fixing the conditional statement which assigns `standard` if `base` has been specified, updating `bit` tests in `base2Jedec` set [`dc7c3a4`](https://github.com/avoidwork/filesize.js/commit/dc7c3a473999e09742a4321b67b92c2e96d6f7dd)
-- Version bump to release [`f924463`](https://github.com/avoidwork/filesize.js/commit/f924463ebda9421c20314756de6651e4553dbdc7)
-
-#### [9.0.9](https://github.com/avoidwork/filesize.js/compare/9.0.8...9.0.9)
-
-> 17 June 2022
-
-- Fix regression of output from 9.x.x [`#155`](https://github.com/avoidwork/filesize.js/pull/155)
-- Returning original logic, taking tests from 8.x.x, creating a constants.js & moving all strings into it as named exports [`22c3911`](https://github.com/avoidwork/filesize.js/commit/22c391191e87df71772a882c6956c8369c1fb787)
-- Building [`295907c`](https://github.com/avoidwork/filesize.js/commit/295907cf7b2724e6a5e948557d939fd64bbb6df1)
-- Fixing unit assignment (WIP) [`70bb6a1`](https://github.com/avoidwork/filesize.js/commit/70bb6a1e181919a7a2db833d194bf7ca14864cc3)
-
-#### [9.0.8](https://github.com/avoidwork/filesize.js/compare/9.0.7...9.0.8)
-
-> 16 June 2022
-
-- Updating README.md to remove examples, fixes #154 [`#154`](https://github.com/avoidwork/filesize.js/issues/154)
-- Version bump to release updated README.md, updating changelog [`c798056`](https://github.com/avoidwork/filesize.js/commit/c798056ee37646a07e239a9c18d3e45dd863e928)
-
-#### [9.0.7](https://github.com/avoidwork/filesize.js/compare/9.0.6...9.0.7)
-
-> 16 June 2022
-
-- Returning strict mode to core function [`f6d2b87`](https://github.com/avoidwork/filesize.js/commit/f6d2b877148550a881febd43dd6076f1a8f4e760)
-- Version bump to release, updating CHANGELOG.md [`06e4214`](https://github.com/avoidwork/filesize.js/commit/06e42149ae1982e48659b34530230ecd3ba5c6d8)
-- Building [`8f6641b`](https://github.com/avoidwork/filesize.js/commit/8f6641bb76312d08c0b357cc7bebf79f59c57dda)
-
-#### [9.0.6](https://github.com/avoidwork/filesize.js/compare/9.0.5...9.0.6)
-
-> 16 June 2022
-
-- Fixing assignment of `base` and returning original behavior, fixing base2 tests [`35aedfd`](https://github.com/avoidwork/filesize.js/commit/35aedfd9c9e7bc547937b941063d764a7f6fafbe)
-- Version bump to release, updating CHANGELOG.md [`f2e7bde`](https://github.com/avoidwork/filesize.js/commit/f2e7bde2d97c7f9a9623298ab41b45fb9e4a0d0d)
-
-#### [9.0.5](https://github.com/avoidwork/filesize.js/compare/9.0.4...9.0.5)
-
-> 16 June 2022
-
-- Updating CHANGELOG.md [`65baab6`](https://github.com/avoidwork/filesize.js/commit/65baab6ef1e5ea29720e26a9eeb9b4853dc33ae3)
-- Building new version number [`86d71b1`](https://github.com/avoidwork/filesize.js/commit/86d71b1dc6f6d8efb49ee6615db7d012e521ca2c)
-- Updating CHANGELOG.md [`b1d1ac5`](https://github.com/avoidwork/filesize.js/commit/b1d1ac5f82ee7370c964879f4e299b36f64f2df8)
-
-#### [9.0.4](https://github.com/avoidwork/filesize.js/compare/9.0.3...9.0.4)
-
-> 16 June 2022
-
-- Fixing assignment (sigh) [`f26ac07`](https://github.com/avoidwork/filesize.js/commit/f26ac076cdd0ef2caa73f2c775bd7a6ebbe11054)
-- Updating CHANGELOG.md [`aeffb3a`](https://github.com/avoidwork/filesize.js/commit/aeffb3ac08dba324ed000db1f28700480333f3a4)
-- Updating CHANGELOG.md [`7570885`](https://github.com/avoidwork/filesize.js/commit/75708854b498532796d20ec1429e414df2ec9917)
-
-#### [9.0.3](https://github.com/avoidwork/filesize.js/compare/9.0.2...9.0.3)
-
-> 16 June 2022
-
-- Fixing the `base` value when using `iec` standard [`#153`](https://github.com/avoidwork/filesize.js/pull/153)
-- Version bump to release [`66b1da5`](https://github.com/avoidwork/filesize.js/commit/66b1da54464470535c27f6c6b752a918fce4b1fc)
-
-#### [9.0.2](https://github.com/avoidwork/filesize.js/compare/9.0.1...9.0.2)
-
-> 11 June 2022
-
-- Fix type inference for output: 'array' when precision is configured [`#151`](https://github.com/avoidwork/filesize.js/pull/151)
-- Updating CHANGELOG.md [`04542c6`](https://github.com/avoidwork/filesize.js/commit/04542c660aec846d15647749182b71863950fcf6)
-- Building for new banner [`3ff8295`](https://github.com/avoidwork/filesize.js/commit/3ff8295ceac74a1c17c1ab26045694cf1b1af47c)
-- Updating CHANGELOG.md [`6bd0ee0`](https://github.com/avoidwork/filesize.js/commit/6bd0ee0fa9f78b4966d50ad00f30f8d663f374f8)
-
-#### [9.0.1](https://github.com/avoidwork/filesize.js/compare/9.0.0...9.0.1)
-
-> 1 June 2022
-
-- Updating the signature to use destructuring, removing edge case assignments on invalid inputs (fail by design) [`a833bb5`](https://github.com/avoidwork/filesize.js/commit/a833bb50e3157aa4e78cb387be50fa08be7553af)
-- Removing more defaults from test [`3c6bcb5`](https://github.com/avoidwork/filesize.js/commit/3c6bcb55d7128dff7909bc42c88acc6790476435)
-
-### [9.0.0](https://github.com/avoidwork/filesize.js/compare/8.0.7...9.0.0)
-
-> 26 May 2022
-
-- Fixing output [`#149`](https://github.com/avoidwork/filesize.js/pull/149)
-- Updating dependencies, version bump to release [`6284219`](https://github.com/avoidwork/filesize.js/commit/62842197eabc0e76fbfb00129cbc047a6eb11378)
-- Updating CHANGELOG.md [`1223f8d`](https://github.com/avoidwork/filesize.js/commit/1223f8de46107cdbd97f10e64ab7ef468eb98252)
-- Removing `unix` option, fixing assignment of `standard` & updating tests [`3eb5bb2`](https://github.com/avoidwork/filesize.js/commit/3eb5bb229c51370ccb6b68742ab3898ee5ca86f0)
-
-#### [8.0.7](https://github.com/avoidwork/filesize.js/compare/8.0.6...8.0.7)
-
-> 19 January 2022
-
-- [typescript] Add pad, precision, & roundingMethod [`#145`](https://github.com/avoidwork/filesize.js/pull/145)
-- Fixing a duplicate declaration within `filesize.d.ts` from recent merge, building, updating copyright years, & version bump to release [`2dbc4bc`](https://github.com/avoidwork/filesize.js/commit/2dbc4bca8fd0e45434ebcf941d1ae0224d20e913)
-
-#### [8.0.6](https://github.com/avoidwork/filesize.js/compare/8.0.5...8.0.6)
-
-> 31 October 2021
-
-- Updating dependencies, fixing `test:unit`, building to update version in `lib/**,` updating CHANGELOG.md, version bump to release [`b6628f8`](https://github.com/avoidwork/filesize.js/commit/b6628f8c22e19c3f012b0f2fd57cb1def8282d50)
-
-#### [8.0.5](https://github.com/avoidwork/filesize.js/compare/8.0.4...8.0.5)
-
-> 27 October 2021
-
-- Fixing type comments of `base` and `standard` [`#143`](https://github.com/avoidwork/filesize.js/pull/143)
-- Updating CHANGELOG.md, version bump to release [`bec8e12`](https://github.com/avoidwork/filesize.js/commit/bec8e12776761ee7a20be7ebbd39dfe87b96de19)
-
-#### [8.0.4](https://github.com/avoidwork/filesize.js/compare/8.0.3...8.0.4)
-
-> 27 October 2021
-
-- feat: infer result type correctly with TypeScript (no "npx tsc") [`#144`](https://github.com/avoidwork/filesize.js/pull/144)
-- feat: infer result type correctly with TypeScript [`#142`](https://github.com/avoidwork/filesize.js/pull/142)
-- Updating CHANGELOG.md, version bump to release [`ef24fdc`](https://github.com/avoidwork/filesize.js/commit/ef24fdceca718c6633ade5a58ef921866de29059)
-- Revert "Merge pull request #142 from tomoto/feat/infer-result-type-with-typescript" [`2b2d508`](https://github.com/avoidwork/filesize.js/commit/2b2d508a3ad221ccbc08bbcd635183696fd2a72b)
-
-#### [8.0.3](https://github.com/avoidwork/filesize.js/compare/8.0.2...8.0.3)
-
-> 13 September 2021
-
-- Revert "Fixing assignment of `standard` such that it aligns with the README (default of "iec") & updating tests, fixing hardcoded copyright year in rollup.config.js, version bump to release" [`afd78c2`](https://github.com/avoidwork/filesize.js/commit/afd78c28524d7a9e4830769385d2ade467991d90)
-- Updating CHANGELOG.md [`68aeed5`](https://github.com/avoidwork/filesize.js/commit/68aeed59604f449960b940bec4cca92933914e21)
-
-#### [8.0.2](https://github.com/avoidwork/filesize.js/compare/8.0.1...8.0.2)
-
-> 12 September 2021
-
-- Version bump to release, updating dependencies [`9a1fd51`](https://github.com/avoidwork/filesize.js/commit/9a1fd51ba8847004cea51db1cab4cc8c63aa1129)
-- Updating CHANGELOG.md [`5024749`](https://github.com/avoidwork/filesize.js/commit/50247490d2cd4eec62cce70e395a354c8df704bb)
-- SI is not a symbol family, it's a synonym for 'base: 10' [`44d8bc9`](https://github.com/avoidwork/filesize.js/commit/44d8bc910979e3dc1adbc797fa89bde98c245a3c)
-
-#### [8.0.1](https://github.com/avoidwork/filesize.js/compare/8.0.0...8.0.1)
-
-> 12 September 2021
-
-- Fixing assignment of `standard` such that it aligns with the README (default of "iec") & updating tests, fixing hardcoded copyright year in rollup.config.js, version bump to release [`bb72429`](https://github.com/avoidwork/filesize.js/commit/bb72429202c4920c8a9133497b74c33eea86b60b)
-
-### [8.0.0](https://github.com/avoidwork/filesize.js/compare/7.0.0...8.0.0)
-
-> 18 August 2021
-
-- Make SI and IEC standards defaults [`#138`](https://github.com/avoidwork/filesize.js/pull/138)
-- Update symbols for bits to "bit" [`#136`](https://github.com/avoidwork/filesize.js/pull/136)
-- Make SI and IEC standards defaults [`#137`](https://github.com/avoidwork/filesize.js/issues/137)
-- Updating lock file, updating changelog, version bump to release & building outputs [`9633cda`](https://github.com/avoidwork/filesize.js/commit/9633cdaf09ff371b3e2258380c5976c29834add4)
-- Updating CHANGELOG.md [`f89b102`](https://github.com/avoidwork/filesize.js/commit/f89b1025ae9eb33025032c58592410c49488cb77)
-
-### [7.0.0](https://github.com/avoidwork/filesize.js/compare/6.4.0...7.0.0)
-
-> 11 July 2021
-
-- Build an ES6 module as well [`#134`](https://github.com/avoidwork/filesize.js/pull/134)
-- Updating CHANGELOG.md [`713000e`](https://github.com/avoidwork/filesize.js/commit/713000eda0a067e38a89aa0b54db375656fb4121)
-- Updating dev dependencies, major version bump to release new `module` value in `package.json`, adding `.esm` files in `/lib` [`4c4363a`](https://github.com/avoidwork/filesize.js/commit/4c4363ac7481c8fa6f036d85f9f898d146216bb9)
-
-#### [6.4.0](https://github.com/avoidwork/filesize.js/compare/6.3.0...6.4.0)
-
-> 29 June 2021
-
-- Precision option [`#133`](https://github.com/avoidwork/filesize.js/pull/133)
-- Implementing `precision` option with tests, fixes #117, fixes #132 [`#117`](https://github.com/avoidwork/filesize.js/issues/117) [`#132`](https://github.com/avoidwork/filesize.js/issues/132)
-- Updating README.md & dev dependencies [`8ec6429`](https://github.com/avoidwork/filesize.js/commit/8ec642977a99a4b947968458dc9a8436b32eca89)
-- Version bump to release [`d431869`](https://github.com/avoidwork/filesize.js/commit/d4318695f3fa797fddca6ae7a4a8de61ade259d6)
-- Updating CHANGELOG.md [`0f4cf40`](https://github.com/avoidwork/filesize.js/commit/0f4cf403b09825e66bfe5b3391044228967f6fbb)
-
-#### [6.3.0](https://github.com/avoidwork/filesize.js/compare/6.2.6...6.3.0)
-
-> 21 April 2021
-
-- [feature suggestion] add roundingMethod option [`#131`](https://github.com/avoidwork/filesize.js/pull/131)
-- add roundingMethod option [`f2acf64`](https://github.com/avoidwork/filesize.js/commit/f2acf64d9ec91d330f497aa64a1e29ae243d7b82)
-- Version bump to release `roundingMethod` option [`26735f6`](https://github.com/avoidwork/filesize.js/commit/26735f614a7a3f768ec3286966802a405dc3ed80)
-- Updating CHANGELOG.md [`e1448a6`](https://github.com/avoidwork/filesize.js/commit/e1448a68fb107b3de924c10c8635edb6cbdd7969)
-
-#### [6.2.6](https://github.com/avoidwork/filesize.js/compare/6.2.5...6.2.6)
-
-> 19 April 2021
-
-- Fixing missing `unit` on `object` output when input is `0` [`72c5736`](https://github.com/avoidwork/filesize.js/commit/72c5736d5b8d9a9d27b5bcc83fef0bdc4732d86f)
-- Updating CHANGELOG.md [`75c2445`](https://github.com/avoidwork/filesize.js/commit/75c2445a5ff60bab62ca403ea5b85cd4200eade9)
-
-#### [6.2.5](https://github.com/avoidwork/filesize.js/compare/6.2.4...6.2.5)
-
-> 15 April 2021
-
-- Removing the multiple `return` statements from the end of `filesize()`, tweaking order of final changes [`1d19261`](https://github.com/avoidwork/filesize.js/commit/1d19261d2e89d97262efdc27ce3618b9ffa6197f)
-- Updating CHANGELOG.md [`ae2c8f9`](https://github.com/avoidwork/filesize.js/commit/ae2c8f9ffb90074ba4308662ba4786fe7d9062d5)
-
-#### [6.2.4](https://github.com/avoidwork/filesize.js/compare/6.2.3...6.2.4)
-
-> 15 April 2021
-
-- Fixing late application of `pad` [`6c1d2cb`](https://github.com/avoidwork/filesize.js/commit/6c1d2cbea5fa52e2392fae22140864927c7f0bf2)
-- Updating travis-ci.org [`8878747`](https://github.com/avoidwork/filesize.js/commit/8878747305b7117356bd2a8b72b1deb5cf28f61f)
-
-#### [6.2.3](https://github.com/avoidwork/filesize.js/compare/6.2.2...6.2.3)
-
-> 15 April 2021
-
-- Updating dependencies, updating `bannerShort` in `rollup.config.js` [`86b4374`](https://github.com/avoidwork/filesize.js/commit/86b43745e55db1539759745c7e80c61aa22911fd)
-- Updating CHANGELOG.md [`493e759`](https://github.com/avoidwork/filesize.js/commit/493e7594cf8f8e22d548f5f2acc5fe117a55be7f)
-- Fixing README.md [`f6667c8`](https://github.com/avoidwork/filesize.js/commit/f6667c83e27ddc122d39e0004a9968102ae7c735)
-
-#### [6.2.2](https://github.com/avoidwork/filesize.js/compare/6.2.1...6.2.2)
-
-> 13 April 2021
-
-- Small package cleanup [`#130`](https://github.com/avoidwork/filesize.js/pull/130)
-- Remove support for bower [`51d4eb6`](https://github.com/avoidwork/filesize.js/commit/51d4eb6424d695d35084ec82d1be52deb9efda4c)
-- Remove support for composer/packagist [`90b3e28`](https://github.com/avoidwork/filesize.js/commit/90b3e2809f1528385970d25835078365f0b741dc)
-- Remove .npmignore [`e6bc23d`](https://github.com/avoidwork/filesize.js/commit/e6bc23d07bb059aa3727651d80fe1a0bde1d76b7)
-
-#### [6.2.1](https://github.com/avoidwork/filesize.js/compare/6.2.0...6.2.1)
-
-> 13 April 2021
-
-- Adding `unit` to `object` output [`#129`](https://github.com/avoidwork/filesize.js/pull/129)
-- Fixing `array` output such that `fullform` is a potential output [`#128`](https://github.com/avoidwork/filesize.js/pull/128)
-- Adding `pad` optional setting to pad the ending of decimal place [`#127`](https://github.com/avoidwork/filesize.js/pull/127)
-- Adding `pad` optional setting to pad the ending of decimal place, fixes #117 [`#117`](https://github.com/avoidwork/filesize.js/issues/117)
-- Version bump to release [`98a59b1`](https://github.com/avoidwork/filesize.js/commit/98a59b1187a1ad4a417f68366eb2615800dfa9c6)
-
-#### [6.2.0](https://github.com/avoidwork/filesize.js/compare/6.1.0...6.2.0)
-
-> 13 April 2021
-
-- Replace build system with rollup [`#124`](https://github.com/avoidwork/filesize.js/pull/124)
-- Updating copyright years in LICENSE & README.md, version bump to signal new build tool chain [`098538d`](https://github.com/avoidwork/filesize.js/commit/098538dac331da7fce15c8e31f1b31fbd2b8bfa1)
-- Upgrade babel to version 7 [`26d7a75`](https://github.com/avoidwork/filesize.js/commit/26d7a759e9184dda7292ed5c1c529321d62ceb6a)
-- Remove grunt [`5faab68`](https://github.com/avoidwork/filesize.js/commit/5faab68df4108a20889185fada1dc3832f245984)
-
-#### [6.1.0](https://github.com/avoidwork/filesize.js/compare/6.0.1...6.1.0)
-
-> 21 February 2020
-
-- Adding `exponent` to `object` output, fixes #112 [`#113`](https://github.com/avoidwork/filesize.js/pull/113)
-- Merge pull request #113 from avoidwork/exponents [`#112`](https://github.com/avoidwork/filesize.js/issues/112)
-- Adding `exponent` to `object` output, fixes #112 [`#112`](https://github.com/avoidwork/filesize.js/issues/112)
-- Using `auto-changelog` to generate a formatted changelog, fixes #110 [`#110`](https://github.com/avoidwork/filesize.js/issues/110)
-- Updating CHANGELOG [`d1b726a`](https://github.com/avoidwork/filesize.js/commit/d1b726aba6b488c421cd92c04da61256b54d95a1)
-- Updating LICENSE [`8acef4c`](https://github.com/avoidwork/filesize.js/commit/8acef4c68ee173ba1dc09cdaf41b014194da7610)
-- Create FUNDING.yml [`6eb9744`](https://github.com/avoidwork/filesize.js/commit/6eb9744a6e3de44c450d2aa44b23ec35659a6356)
-
-#### [6.0.1](https://github.com/avoidwork/filesize.js/compare/6.0.0...6.0.1)
-
-> 8 November 2019
-
-- Fixing a regression due to 5.x revert, fixes #111 [`#111`](https://github.com/avoidwork/filesize.js/issues/111)
-- Updating CHANGELOG [`48b7e40`](https://github.com/avoidwork/filesize.js/commit/48b7e40aa0996eb863b6521b31b2141bd048b2fd)
-
-### [6.0.0](https://github.com/avoidwork/filesize.js/compare/5.0.3...6.0.0)
-
-> 30 October 2019
-
-- Create FUNDING.yml [`#106`](https://github.com/avoidwork/filesize.js/pull/106)
-- Revert "Fixing the hackish type definition, fixes #105" [`#105`](https://github.com/avoidwork/filesize.js/issues/105)
-- Revert "Merge pull request #104 from avoidwork/modernize" [`3909b04`](https://github.com/avoidwork/filesize.js/commit/3909b04d72b7a8129d94a03612898feedf4d39b3)
-- Reverting modern build as it's too problematic at this time, major version bump to roll forward [`71a9ead`](https://github.com/avoidwork/filesize.js/commit/71a9ead9ed03e0701728cdf1007271502c442808)
-- Revert "Merge pull request #106 from avoidwork/avoidwork-patch-1" [`ec99f00`](https://github.com/avoidwork/filesize.js/commit/ec99f0041e432f13ce61df6856fbc112c8f6538d)
-
-#### [5.0.3](https://github.com/avoidwork/filesize.js/compare/5.0.2...5.0.3)
-
-> 8 October 2019
-
-- Reformatting CHANGELOG [`fd76462`](https://github.com/avoidwork/filesize.js/commit/fd76462817b484f7a87cd1263a07e82d9e0f4400)
-- Removing `.npmignore` [`7b15687`](https://github.com/avoidwork/filesize.js/commit/7b15687c0af9e716ab141e826fab16934f9b2c9e)
-- Updating CHANGELOG [`72968fa`](https://github.com/avoidwork/filesize.js/commit/72968fa5fbcf87654b9bb6606870f1518c5f24e9)
-
-#### [5.0.2](https://github.com/avoidwork/filesize.js/compare/5.0.1...5.0.2)
-
-> 7 October 2019
-
-- git-log based CHANGELOG via `npm run changelog` [`d8415f5`](https://github.com/avoidwork/filesize.js/commit/d8415f51e4432a9cec3ea6f95db5c4b1b813e1d6)
-- Adding CHANGELOG to `.npmignore` with minor version bump to prep for changes [`2a9e78d`](https://github.com/avoidwork/filesize.js/commit/2a9e78dcc03c6f0fc42a6b80207686d73e5badcd)
-
-#### [5.0.1](https://github.com/avoidwork/filesize.js/compare/5.0.0...5.0.1)
-
-> 30 September 2019
-
-- Fixing the hackish type definition, fixes #105 [`#105`](https://github.com/avoidwork/filesize.js/issues/105)
-
-### [5.0.0](https://github.com/avoidwork/filesize.js/compare/4.2.1...5.0.0)
-
-> 30 September 2019
-
-- Modernizing build & outputs [`#104`](https://github.com/avoidwork/filesize.js/pull/104)
-- Updating `.npmignore` [`5715622`](https://github.com/avoidwork/filesize.js/commit/5715622929108ec6534223ad579d21702a880efe)
-- Updating typescript module definition [`2e3d1bb`](https://github.com/avoidwork/filesize.js/commit/2e3d1bb20751e3d25057bb6ef91f66a737057380)
-
-#### [4.2.1](https://github.com/avoidwork/filesize.js/compare/4.2.0...4.2.1)
-
-> 25 September 2019
-
-- Fixing case where rounding results in the wrong exponent, fixes #103 [`#103`](https://github.com/avoidwork/filesize.js/issues/103)
-- Updating travis-ci.org config [`5b362af`](https://github.com/avoidwork/filesize.js/commit/5b362afb7dbdc67bc39606b9ca4c5f7ca2bcdab4)
-
-#### [4.2.0](https://github.com/avoidwork/filesize.js/compare/4.1.2...4.2.0)
-
-> 11 September 2019
-
-- Add support for localeOptions option: allow customization of i18n output [`#102`](https://github.com/avoidwork/filesize.js/pull/102)
-- Bump mixin-deep from 1.3.1 to 1.3.2 [`#101`](https://github.com/avoidwork/filesize.js/pull/101)
-- Bump eslint-utils from 1.3.1 to 1.4.2 [`#99`](https://github.com/avoidwork/filesize.js/pull/99)
-- Updating dependencies, version bump to release #102 [`ab80f87`](https://github.com/avoidwork/filesize.js/commit/ab80f877f0ff98fec7bd31becbc23540ff7956ab)
-- add support for localeOptions [`6505945`](https://github.com/avoidwork/filesize.js/commit/6505945d09c279cb05bca5a5698f55f1c7714eb5)
-- build [`b9f7fb4`](https://github.com/avoidwork/filesize.js/commit/b9f7fb4c9a26c9098e18f8c0521d574e80b13327)
-
-#### [4.1.2](https://github.com/avoidwork/filesize.js/compare/4.1.1...4.1.2)
-
-> 15 February 2019
-
-- Refactoring `locale` option to accept `String` or `Boolean` values, re-organizing code such that an `exponent` output skips unneeded ops [`dd8f754`](https://github.com/avoidwork/filesize.js/commit/dd8f7546dfe7d62977fdc184321e9413ab22a086)
-
-#### [4.1.1](https://github.com/avoidwork/filesize.js/compare/4.1.0...4.1.1)
-
-> 13 February 2019
-
-- Fixing order of ops that could've impacted `object` output [`3b71615`](https://github.com/avoidwork/filesize.js/commit/3b71615b50e580a3c70a9419ad46b7d44ce63782)
-
-#### [4.1.0](https://github.com/avoidwork/filesize.js/compare/4.0.0...4.1.0)
-
-> 14 February 2019
-
-- Adding `locale` option which overrides `separator`, fixes #96 [`#96`](https://github.com/avoidwork/filesize.js/issues/96)
-
-### [4.0.0](https://github.com/avoidwork/filesize.js/compare/3.6.1...4.0.0)
-
-> 12 January 2019
-
-- Removing deprecated `suffixes` option with a major version bump, updating README & LICENSE copyrights, updating dev dependencies [`a0b268f`](https://github.com/avoidwork/filesize.js/commit/a0b268f8b127cfc9327de53a489aad2b2a01dcb1)
-- Updating README [`81e5499`](https://github.com/avoidwork/filesize.js/commit/81e5499ba4d4e80c39d2d10d9fa88be1a410f1eb)
-- Updating travis-ci.org configuration [`5bcc3c4`](https://github.com/avoidwork/filesize.js/commit/5bcc3c4a47b2dd73ace38488d39b7b2c0a9ef125)
-
-#### [3.6.1](https://github.com/avoidwork/filesize.js/compare/3.6.0...3.6.1)
-
-> 24 March 2018
-
-- Including ES6 version with `npm install`, updating grunt build such that more files are linted [`fb9bd3e`](https://github.com/avoidwork/filesize.js/commit/fb9bd3e7e2964d056f6f3beee574053b2dbeb297)
-- oops [`dc04050`](https://github.com/avoidwork/filesize.js/commit/dc040503091484272f182c97d1562188581b2b23)
-
-#### [3.6.0](https://github.com/avoidwork/filesize.js/compare/3.5.11...3.6.0)
-
-> 3 February 2018
-
-- Adding `separator` option, fixes #93 [`#93`](https://github.com/avoidwork/filesize.js/issues/93)
-
-#### [3.5.11](https://github.com/avoidwork/filesize.js/compare/3.5.10...3.5.11)
-
-> 18 October 2017
-
-- Add CDNJS version badge in README.md [`#90`](https://github.com/avoidwork/filesize.js/pull/90)
-- Updating build dependencies, travis-ci.org config, fixing banner alignment in uglify output [`20baedd`](https://github.com/avoidwork/filesize.js/commit/20baeddd23b737ac87932484c0026a1e77c87fc8)
-
-#### [3.5.10](https://github.com/avoidwork/filesize.js/compare/3.5.9...3.5.10)
-
-> 19 May 2017
-
-- Updating `uglify` dependency [`b93909e`](https://github.com/avoidwork/filesize.js/commit/b93909e5ae236d091f162b4ea77bc2e9805eec3a)
-- Fucking webstorm!!!! [`7c172ea`](https://github.com/avoidwork/filesize.js/commit/7c172eac941e0dd460229ca769f121cfd75b86be)
-
-#### [3.5.9](https://github.com/avoidwork/filesize.js/compare/3.5.8...3.5.9)
-
-> 30 April 2017
-
-- Removing loader script as it apparently breaks browserify/webpack loading (sigh) [`54d9770`](https://github.com/avoidwork/filesize.js/commit/54d977032d8332daac810332796e62898f360b5b)
-
-#### [3.5.8](https://github.com/avoidwork/filesize.js/compare/3.5.7...3.5.8)
-
-> 29 April 2017
-
-- Adding `index.js` to load es5 or es6 depending on the test environment [`0e07bba`](https://github.com/avoidwork/filesize.js/commit/0e07bbae8ab619c071694ef9bf885c3c57be7521)
-
-#### [3.5.7](https://github.com/avoidwork/filesize.js/compare/3.5.6...3.5.7)
-
-> 29 April 2017
-
-- Adding `babili` task to minify the es6 file, fixes #86 [`#86`](https://github.com/avoidwork/filesize.js/issues/86)
-
-#### [3.5.6](https://github.com/avoidwork/filesize.js/compare/3.5.5...3.5.6)
-
-> 6 March 2017
-
-- Building missing files, updating README [`77db546`](https://github.com/avoidwork/filesize.js/commit/77db5467b33a5ae44d1dec83bcbbbd58732cd815)
-
-#### [3.5.5](https://github.com/avoidwork/filesize.js/compare/3.5.4...3.5.5)
-
-> 24 February 2017
-
-- Changing things such that you can do `filesize(0, {exponent: n})` and get the correct result, adding a test, fixes #85 [`#85`](https://github.com/avoidwork/filesize.js/issues/85)
-- Updating example in README [`7c75121`](https://github.com/avoidwork/filesize.js/commit/7c75121420abb6a3c855b96cb7552cda7ae7e1f4)
-- Updating example in README [`1f6c51f`](https://github.com/avoidwork/filesize.js/commit/1f6c51f1e456a43a7f82fb15a4fe9aa919b34dfa)
-
-#### [3.5.4](https://github.com/avoidwork/filesize.js/compare/3.5.3...3.5.4)
-
-> 24 January 2017
-
-- Adding `fullforms` for overriding full form [`727db07`](https://github.com/avoidwork/filesize.js/commit/727db07732c8803e89c874743cd3d5a6ba7f7d8e)
-
-#### [3.5.3](https://github.com/avoidwork/filesize.js/compare/3.5.2...3.5.3)
-
-> 24 January 2017
-
-- Fixing `0 bytes` [`d957df3`](https://github.com/avoidwork/filesize.js/commit/d957df3e3484b28470b008da45f1a34d54b85c0d)
-
-#### [3.5.2](https://github.com/avoidwork/filesize.js/compare/3.5.1...3.5.2)
-
-> 24 January 2017
-
-- Updating README [`7bc227e`](https://github.com/avoidwork/filesize.js/commit/7bc227ec811ade1a7e2c58e01546893a2ee42b4c)
-
-#### [3.5.1](https://github.com/avoidwork/filesize.js/compare/3.5.0...3.5.1)
-
-> 24 January 2017
-
-- Correcting `longform` to `fullform` [`1dee34f`](https://github.com/avoidwork/filesize.js/commit/1dee34f85781ccb63691570214e5bd8f1f835871)
-
-#### [3.5.0](https://github.com/avoidwork/filesize.js/compare/3.4.3...3.5.0)
-
-> 24 January 2017
-
-- Adding `longform` flag, fixing markdown in README [`7d8b650`](https://github.com/avoidwork/filesize.js/commit/7d8b65085d6e1436b34eebf6548702d136556d9a)
-
-#### [3.4.3](https://github.com/avoidwork/filesize.js/compare/3.4.2...3.4.3)
-
-> 23 January 2017
-
-- Oops, fixes #84 [`#84`](https://github.com/avoidwork/filesize.js/issues/84)
-
-#### [3.4.2](https://github.com/avoidwork/filesize.js/compare/3.4.1...3.4.2)
-
-> 21 January 2017
-
-- Simplifying `filesize.partial()` & adding a test [`4d1e9ea`](https://github.com/avoidwork/filesize.js/commit/4d1e9ea21b79ca0af901fcc13a3609a44e2ebcc9)
-
-#### [3.4.1](https://github.com/avoidwork/filesize.js/compare/3.4.0...3.4.1)
-
-> 19 January 2017
-
-- Changing a statement to be a little easier to read, updating build status graphic to be SVG for better rendering on various devices [`de2e388`](https://github.com/avoidwork/filesize.js/commit/de2e38839d7e450b7492ecfb9ca5228c1bdbe0e9)
-- Updating `travis-ci.org` config 'cause the eslint dep requires es6 engine without a `strictEngine` (so pro) [`c1d40b5`](https://github.com/avoidwork/filesize.js/commit/c1d40b5b38469f7f0cd7aab0ea7357398b323ead)
-- Fixing alignment of the example in README [`245aa6d`](https://github.com/avoidwork/filesize.js/commit/245aa6db2e43fb72eb5cb56c24f7423aff531d8d)
-
-#### [3.4.0](https://github.com/avoidwork/filesize.js/compare/3.3.0...3.4.0)
-
-> 19 January 2017
-
-- improve format [`#83`](https://github.com/avoidwork/filesize.js/pull/83)
-- Creating `filesize.partial()` for creating a partial application / functional programming style, updating dependencies, fixing lint errors, updating README & LICENSE copyright year, updating README to cover `filesize.partial()` [`1ba7b0c`](https://github.com/avoidwork/filesize.js/commit/1ba7b0cf0ed083da3695c120016fced7ba3cdb97)
-- Adding a downloads shield to the README ... 'cause why not [`81bc1d2`](https://github.com/avoidwork/filesize.js/commit/81bc1d239ebc292dfc2e4dfbd54b211566e94c3f)
-
-#### [3.3.0](https://github.com/avoidwork/filesize.js/compare/3.2.1...3.3.0)
-
-> 23 April 2016
-
-- Adding support for IEC standard via new `standard` descriptor property (defaults to `jedec`), fixes #80 [`#80`](https://github.com/avoidwork/filesize.js/issues/80)
-- Handling bits, and `base` collision [`70048cb`](https://github.com/avoidwork/filesize.js/commit/70048cbbfbf4b9bab922927b6ea558a081d898cc)
-- Minor optimization by looking at the exponent vs the string length [`d795026`](https://github.com/avoidwork/filesize.js/commit/d79502646ea32a7ccbb2767c09b68ea7611df085)
-- Updating a comment [`0521336`](https://github.com/avoidwork/filesize.js/commit/0521336aa3e6af6c48b2541b8798138069cb6af7)
-
-#### [3.2.1](https://github.com/avoidwork/filesize.js/compare/3.2.0...3.2.1)
-
-> 30 January 2016
-
-- add test case for huge number [`#76`](https://github.com/avoidwork/filesize.js/pull/76)
-- Fixing invalid results for small & large bit values, fixes #77 [`#77`](https://github.com/avoidwork/filesize.js/issues/77)
-
-#### [3.2.0](https://github.com/avoidwork/filesize.js/compare/3.1.6...3.2.0)
-
-> 22 January 2016
-
-- Fixing a poor choice in wording by marking `suffixes` for deprecation & moving to `symbols`, updating README (fixes #72, #73) [`#72`](https://github.com/avoidwork/filesize.js/issues/72)
-
-#### [3.1.6](https://github.com/avoidwork/filesize.js/compare/3.1.5...3.1.6)
-
-> 19 January 2016
-
-- Fixing kilobit & kilobyte symbols by ensuring JEDEC for base 2 & SI for base 10, fixes #69 [`#69`](https://github.com/avoidwork/filesize.js/issues/69)
-- Removing `.idea` file from npm, fixes #71 [`#71`](https://github.com/avoidwork/filesize.js/issues/71)
-- Updating travis-ci to test node 5.4.x [`df5d39d`](https://github.com/avoidwork/filesize.js/commit/df5d39d4633e4860b2d6f5552fb316f4f183918a)
-
-#### [3.1.5](https://github.com/avoidwork/filesize.js/compare/3.1.4...3.1.5)
-
-> 22 December 2015
-
-- Add bower manifest [`#67`](https://github.com/avoidwork/filesize.js/pull/67)
-- Fixing `bit` suffix & updating build to use latest version of babel, fixes #68 [`#68`](https://github.com/avoidwork/filesize.js/issues/68)
-- Fixing package.json [`71cc5a5`](https://github.com/avoidwork/filesize.js/commit/71cc5a5314a2efc60590254c532334b7771b7ad6)
-
-#### [3.1.4](https://github.com/avoidwork/filesize.js/compare/3.1.3...3.1.4)
-
-> 13 November 2015
-
-- Correctly check for AMD loader [`#66`](https://github.com/avoidwork/filesize.js/pull/66)
-- Version bump [`d60a6e2`](https://github.com/avoidwork/filesize.js/commit/d60a6e280fd764b8ae7d64a064b949a234ddcff8)
-
-#### [3.1.3](https://github.com/avoidwork/filesize.js/compare/3.1.2...3.1.3)
-
-> 27 July 2015
-
-- Update license attribute [`#63`](https://github.com/avoidwork/filesize.js/pull/63)
-- Updating the package manifest for npm [`20b4ac4`](https://github.com/avoidwork/filesize.js/commit/20b4ac454f9c6236b6611ddd1b9cbe97d0efbbd2)
-
-#### [3.1.2](https://github.com/avoidwork/filesize.js/compare/3.1.1...3.1.2)
-
-> 27 February 2015
-
-- Removing unneeded nesting of conditionals [`a4448cd`](https://github.com/avoidwork/filesize.js/commit/a4448cdb63d1828c07ae3d2f8e1385d31f693135)
-
-#### [3.1.1](https://github.com/avoidwork/filesize.js/compare/3.1.0...3.1.1)
-
-> 24 February 2015
-
-- Updating to transpiler to `babel` 4.0.0, reformatting some statements for readability, moving `consts` to the top of the lib [`fc3714f`](https://github.com/avoidwork/filesize.js/commit/fc3714fe90a03d05962632b4e513f88e012c236d)
-- Updating travis file [`4fd4373`](https://github.com/avoidwork/filesize.js/commit/4fd437335cc6a9750f60362778f30e7f359e3c2a)
-
-#### [3.1.0](https://github.com/avoidwork/filesize.js/compare/3.0.2...3.1.0)
-
-> 4 February 2015
-
-- Add a Gitter chat badge to README.md [`#60`](https://github.com/avoidwork/filesize.js/pull/60)
-- Refactored to ES6, with transpiling to ES5 [`f214346`](https://github.com/avoidwork/filesize.js/commit/f214346fb577cf81801a75f60424ba64398e0ad1)
-- Update README.md [`db1df8e`](https://github.com/avoidwork/filesize.js/commit/db1df8e9005b29664cd41f48ec397b414bb1b78d)
-- Added Gitter badge [`905c6b5`](https://github.com/avoidwork/filesize.js/commit/905c6b5ef804247497a90265b57f589894c17325)
-
-#### [3.0.2](https://github.com/avoidwork/filesize.js/compare/3.0.1...3.0.2)
-
-> 29 January 2015
-
-- Fixing an error in exponent calculation such that `ceil` is utilized & added two tests, fixes #59 [`#59`](https://github.com/avoidwork/filesize.js/issues/59)
-
-#### [3.0.1](https://github.com/avoidwork/filesize.js/compare/3.0.0...3.0.1)
-
-> 12 January 2015
-
-- Adding the ability to specify the `exponent` used for determining the file size, and adding `exponent` as an output value (feature request by email) [`0af5ea1`](https://github.com/avoidwork/filesize.js/commit/0af5ea1a69c97a46d12e24d27440b60f891ea87a)
-
-### [3.0.0](https://github.com/avoidwork/filesize.js/compare/2.0.4...3.0.0)
-
-> 4 January 2015
-
-- Composer support [`#58`](https://github.com/avoidwork/filesize.js/pull/58)
-- Refactoring `filesize()` to output `Array` & `Object` shapes, & changing default `base` to `2`, reformatting code based on IDE settings (not included) [`a7fe91b`](https://github.com/avoidwork/filesize.js/commit/a7fe91b78b3b97f08baf97ac52317be0ba2b247a)
-- add composer.json [`f53152d`](https://github.com/avoidwork/filesize.js/commit/f53152d43f050e04ece413f59a7baa05f91116bf)
-
-#### [2.0.4](https://github.com/avoidwork/filesize.js/compare/2.0.3...2.0.4)
-
-> 2 October 2014
-
-- Fixes #55 by avoiding type mutation, fixing CI tests by removing node 0.8.x [`#55`](https://github.com/avoidwork/filesize.js/issues/55)
-
-#### [2.0.3](https://github.com/avoidwork/filesize.js/compare/2.0.2...2.0.3)
-
-> 28 February 2014
-
-- Minor change [`#53`](https://github.com/avoidwork/filesize.js/pull/53)
-- Adding exabyte, zettabyte, yottabyte, exabit, zettabit, & yottabit sizes [`fd448ab`](https://github.com/avoidwork/filesize.js/commit/fd448abebef3f3e4cf182e316676375dc85d2098)
-
-#### [2.0.2](https://github.com/avoidwork/filesize.js/compare/2.0.1...2.0.2)
-
-> 28 February 2014
-
-- Removing a file [`#52`](https://github.com/avoidwork/filesize.js/pull/52)
-- Optimizations [`#51`](https://github.com/avoidwork/filesize.js/pull/51)
-- Changing the method of generating `result` [`98f34a1`](https://github.com/avoidwork/filesize.js/commit/98f34a1ff51e35bc8a82aacbeedb0352913c8b49)
-- Generating a String instead of an Array for 'unix mode' [`7e46fd9`](https://github.com/avoidwork/filesize.js/commit/7e46fd94b4f43c6d2f48ed7bdc2900cfe2eca8e0)
-
-#### [2.0.1](https://github.com/avoidwork/filesize.js/compare/2.0.0...2.0.1)
-
-> 24 February 2014
-
-- Adding language overriding via optional `suffixes` dictionary [`#49`](https://github.com/avoidwork/filesize.js/pull/49)
-
-### [2.0.0](https://github.com/avoidwork/filesize.js/compare/1.10.0...2.0.0)
-
-> 12 October 2013
-
-- Major refactoring, API change [`#47`](https://github.com/avoidwork/filesize.js/pull/47)
-- Initial refactor for 2.0.0 [`c401052`](https://github.com/avoidwork/filesize.js/commit/c401052e10deb8ededcb9a96504444ae52ffd64b)
-- Completing 2.0.0 [`09a7dbc`](https://github.com/avoidwork/filesize.js/commit/09a7dbc2caf9e686d0110f9d3ca3176b65ef99f5)
-- Updating README [`d68c555`](https://github.com/avoidwork/filesize.js/commit/d68c555102f80586387d926c59b054bbf4f45f5f)
-
-#### [1.10.0](https://github.com/avoidwork/filesize.js/compare/1.9.7...1.10.0)
-
-> 19 July 2013
-
-- Typo [`#42`](https://github.com/avoidwork/filesize.js/pull/42)
-- Updating README [`#41`](https://github.com/avoidwork/filesize.js/pull/41)
-- Switching to base 10 [`#40`](https://github.com/avoidwork/filesize.js/pull/40)
-- Updating example in README [`c148806`](https://github.com/avoidwork/filesize.js/commit/c14880610b6a771bbc5c330400cf30f73c7d1242)
-- Minor change [`49ecfc2`](https://github.com/avoidwork/filesize.js/commit/49ecfc2c5f3d70d27d7a818bd236260740240c1c)
-
-#### [1.9.7](https://github.com/avoidwork/filesize.js/compare/1.9.6...1.9.7)
-
-> 8 July 2013
-
-- Fixing scientific notation (google!), fixes #39 [`#39`](https://github.com/avoidwork/filesize.js/issues/39)
-
-#### [1.9.6](https://github.com/avoidwork/filesize.js/compare/1.9.5...1.9.6)
-
-> 5 July 2013
-
-- Minor fix [`#38`](https://github.com/avoidwork/filesize.js/pull/38)
-- Correcting `kilobit` & `kilobyte` symbols [`223b8ea`](https://github.com/avoidwork/filesize.js/commit/223b8ea5dd0780baa978f7bc184ef9d8d910e2a7)
-
-#### [1.9.5](https://github.com/avoidwork/filesize.js/compare/1.9.4...1.9.5)
-
-> 18 June 2013
-
-- Updating README [`#37`](https://github.com/avoidwork/filesize.js/pull/37)
-- Updating `.npmignore` [`#36`](https://github.com/avoidwork/filesize.js/pull/36)
-
-#### [1.9.4](https://github.com/avoidwork/filesize.js/compare/1.9.3...1.9.4)
-
-> 13 June 2013
-
-- Minor change [`#35`](https://github.com/avoidwork/filesize.js/pull/35)
-- Updating `README.md` examples [`#34`](https://github.com/avoidwork/filesize.js/pull/34)
-- Refactoring [`#33`](https://github.com/avoidwork/filesize.js/pull/33)
-- Updated grunt build, implemented `jshint` for linting, fixes #32 [`#32`](https://github.com/avoidwork/filesize.js/issues/32)
-- Removing unused grunt module [`11f0d72`](https://github.com/avoidwork/filesize.js/commit/11f0d72bc3502d3354adf827fd77e2eb26680d76)
-- Returning `grunt-cli` to `package.json` [`191baa4`](https://github.com/avoidwork/filesize.js/commit/191baa4d23edc5360183b67320a471df02d6ede8)
-
-#### [1.9.3](https://github.com/avoidwork/filesize.js/compare/1.9.2...1.9.3)
-
-> 14 April 2013
-
-- Minor change [`#31`](https://github.com/avoidwork/filesize.js/pull/31)
-- Making `0` case faster [`642966b`](https://github.com/avoidwork/filesize.js/commit/642966b9cb9b487ee09a30dff785989950118654)
-
-#### [1.9.2](https://github.com/avoidwork/filesize.js/compare/1.9.1...1.9.2)
-
-> 11 April 2013
-
-- Minor fix [`#30`](https://github.com/avoidwork/filesize.js/pull/30)
-- Treating bytes as cardinal numbers [`fdf8b22`](https://github.com/avoidwork/filesize.js/commit/fdf8b222baf9068eb8879ffc5485294ed845a14c)
-
-#### [1.9.1](https://github.com/avoidwork/filesize.js/compare/1.9.0...1.9.1)
-
-> 7 April 2013
-
-- Minor change [`#29`](https://github.com/avoidwork/filesize.js/pull/29)
-- Updating README.md [`#27`](https://github.com/avoidwork/filesize.js/pull/27)
-- Updating `.npmignore` to ignore unneeded files for distribution, fixes #28 [`#28`](https://github.com/avoidwork/filesize.js/issues/28)
-
-#### [1.9.0](https://github.com/avoidwork/filesize.js/compare/1.8.0...1.9.0)
-
-> 7 April 2013
-
-- API change [`#26`](https://github.com/avoidwork/filesize.js/pull/26)
-- Added a `third` optional boolean argument to disable `bit` sizes, fixes #25 [`#25`](https://github.com/avoidwork/filesize.js/issues/25)
-
-#### [1.8.0](https://github.com/avoidwork/filesize.js/compare/1.7.9...1.8.0)
-
-> 3 March 2013
-
-- Optimizations [`#24`](https://github.com/avoidwork/filesize.js/pull/24)
-- Caching variables in closure scope, upgraded to grunt 0.4.0, fixed license link in README.md [`7648fee`](https://github.com/avoidwork/filesize.js/commit/7648feeb075cb4319b0ed74b91a95c17116b941f)
-
-#### [1.7.9](https://github.com/avoidwork/filesize.js/compare/1.7.8...1.7.9)
-
-> 5 February 2013
-
-- Minor change [`#20`](https://github.com/avoidwork/filesize.js/pull/20)
-- Changing how 0 is handled (less wasted ops) [`d1428f6`](https://github.com/avoidwork/filesize.js/commit/d1428f635cde3d66d7e5d07cc5c5c7f4d85690e5)
-
-#### [1.7.8](https://github.com/avoidwork/filesize.js/compare/1.7.7...1.7.8)
-
-> 5 February 2013
-
-- Minor refactoring [`#19`](https://github.com/avoidwork/filesize.js/pull/19)
-- Adding support for zero as a parameter [`5075979`](https://github.com/avoidwork/filesize.js/commit/50759793476c40df017c3b36b5a28fbf7de69ce8)
-
-#### [1.7.7](https://github.com/avoidwork/filesize.js/compare/1.7.6...1.7.7)
-
-> 5 February 2013
-
-- Optimizations [`#18`](https://github.com/avoidwork/filesize.js/pull/18)
-- Optimizations; kudos to @marktucker for looking over the lib [`e5965f0`](https://github.com/avoidwork/filesize.js/commit/e5965f070e715dc4dd96bbc57fa8692e5ff5bfbb)
-- :gem: Added travis.yml file :gem: [`785ae92`](https://github.com/avoidwork/filesize.js/commit/785ae92f4e1762c77ad1ce3cab445c9760e78374)
-
-#### [1.7.6](https://github.com/avoidwork/filesize.js/compare/1.7.5...1.7.6)
-
-> 5 February 2013
-
-- Minor optimization [`#17`](https://github.com/avoidwork/filesize.js/pull/17)
-- Optimizing the negative number flip using the simplest method (minus operator) [`0fb401c`](https://github.com/avoidwork/filesize.js/commit/0fb401c58ba35d54de6421ab44fd55089f069ead)
-
-#### [1.7.5](https://github.com/avoidwork/filesize.js/compare/1.7.4...1.7.5)
-
-> 2 February 2013
-
-- Fixing license link in banner [`#16`](https://github.com/avoidwork/filesize.js/pull/16)
-- One last change [`#15`](https://github.com/avoidwork/filesize.js/pull/15)
-- Removing unnecessary `typeof` operators [`3f347fa`](https://github.com/avoidwork/filesize.js/commit/3f347fa0a9a8f130271c46a0afd7e5e6c78ad176)
-
-#### [1.7.4](https://github.com/avoidwork/filesize.js/compare/1.7.3...1.7.4)
-
-> 2 February 2013
-
-- Minor changes [`#14`](https://github.com/avoidwork/filesize.js/pull/14)
-- Utilizing Math.abs(), updating the banner [`fb27fd3`](https://github.com/avoidwork/filesize.js/commit/fb27fd38d637937e1f27b70cad76c50fcd0278d0)
-
-#### [1.7.3](https://github.com/avoidwork/filesize.js/compare/1.7.2...1.7.3)
-
-> 2 February 2013
-
-- Minor refactoring [`#13`](https://github.com/avoidwork/filesize.js/pull/13)
-- Adding support for negative sizes, fixes #12 [`#12`](https://github.com/avoidwork/filesize.js/issues/12)
-- Adding license for proper attribution in a retail product [`e1a3ea5`](https://github.com/avoidwork/filesize.js/commit/e1a3ea58cd208403ca14bf4d2e45b26d39f44c1d)
-- Adding license for proper attribution in a retail product [`4a167c2`](https://github.com/avoidwork/filesize.js/commit/4a167c20d273c0d4ffb507772ce2c9ca0fdeab65)
-
-#### [1.7.2](https://github.com/avoidwork/filesize.js/compare/1.7.1...1.7.2)
-
-> 2 November 2012
-
-- Minor changes [`#11`](https://github.com/avoidwork/filesize.js/pull/11)
-- Refactored to utilize regex tests instead of string comparisons, minor version bump [`bfa1398`](https://github.com/avoidwork/filesize.js/commit/bfa1398ffee5a0c697fa6c8c58ecf5a40df28f25)
-
-#### [1.7.1](https://github.com/avoidwork/filesize.js/compare/1.7.0...1.7.1)
-
-> 2 November 2012
-
-- Minor changes [`#10`](https://github.com/avoidwork/filesize.js/pull/10)
-- Fixing shorthand for `bit` suffixes [`2222c6e`](https://github.com/avoidwork/filesize.js/commit/2222c6ed03b3c936a3bdc76a474d1c4475821d4a)
-- Updated README [`1d0eb61`](https://github.com/avoidwork/filesize.js/commit/1d0eb618bb7ee92aaa09c0fc582733ed6ecf824f)
-- Updated README [`5ffc824`](https://github.com/avoidwork/filesize.js/commit/5ffc82440d8319be4023d379d57907307af4023e)
-
-#### [1.7.0](https://github.com/avoidwork/filesize.js/compare/1.6.7...1.7.0)
-
-> 2 November 2012
-
-- Refactored [`#9`](https://github.com/avoidwork/filesize.js/pull/9)
-- Extended size ranges to support Byte - PetaByte based on the new standard definitions [`97a497c`](https://github.com/avoidwork/filesize.js/commit/97a497cfed5b1a7a1aee250b92ea8103e8c4d12f)
-- Version bump [`5341f0b`](https://github.com/avoidwork/filesize.js/commit/5341f0b8c7f529cb15b86bc035c066a3cb3ea83c)
-
-#### [1.6.7](https://github.com/avoidwork/filesize.js/compare/1.6.6...1.6.7)
-
-> 2 November 2012
-
-- Minor refactoring [`#8`](https://github.com/avoidwork/filesize.js/pull/8)
-- The repo your repo could be like! [`#7`](https://github.com/avoidwork/filesize.js/pull/7)
-- Specified the base/radix for parseInt() & simplified the number cast [`8315027`](https://github.com/avoidwork/filesize.js/commit/83150274fc76a724ea4287a200dc20dac211af0d)
-- Fixing a test [`f487a26`](https://github.com/avoidwork/filesize.js/commit/f487a26251c4f1912d3b4909d66b630ed796ec7a)
-- :gem: Added travis.yml file :gem: [`497a6f9`](https://github.com/avoidwork/filesize.js/commit/497a6f95d125a4b1d66e30f2edbf8b087775e68f)
-
-#### [1.6.6](https://github.com/avoidwork/filesize.js/compare/1.6.5...1.6.6)
-
-> 15 August 2012
-
-- Shouldn't have been in the commit [`#6`](https://github.com/avoidwork/filesize.js/pull/6)
-- Correcting dir structure [`#5`](https://github.com/avoidwork/filesize.js/pull/5)
-- Implemented a grunt build process & unit tests [`#4`](https://github.com/avoidwork/filesize.js/pull/4)
-- Removing deprecated variables, moving tag [`6cfdca0`](https://github.com/avoidwork/filesize.js/commit/6cfdca0adce2474dde103768322c4eab89ce5248)
-- Fixing npm path [`cc36eac`](https://github.com/avoidwork/filesize.js/commit/cc36eac57f8fea5c978b03a0c0e51b1962e41c0c)
-- Updating npm package.json, moving tag [`ce70843`](https://github.com/avoidwork/filesize.js/commit/ce70843863f52ecd1a2b75adb69fbf1b05120f1d)
-
-#### [1.6.5](https://github.com/avoidwork/filesize.js/compare/1.6.0...1.6.5)
-
-> 22 June 2012
-
-- Add a jam ignore to reduce packaged size [`#3`](https://github.com/avoidwork/filesize.js/pull/3)
-- Made it faster [`f2126d0`](https://github.com/avoidwork/filesize.js/commit/f2126d053c52dbbed7917c4976bab3382e73f377)
-- Removing unnecessary ops, making the AMD loading anonymous, updated docblock [`cf2c698`](https://github.com/avoidwork/filesize.js/commit/cf2c6981181ca7c1a3f4d477c489e76b8280a55a)
-- Generated a proper package.json [`59d04ab`](https://github.com/avoidwork/filesize.js/commit/59d04ab5fc00b6b909fbddeca59e97b8984e520d)
-
-#### [1.6.0](https://github.com/avoidwork/filesize.js/compare/1.5.0...1.6.0)
-
-> 2 May 2012
-
-- Added support for node.js [`2b14b66`](https://github.com/avoidwork/filesize.js/commit/2b14b664351f1f41a50e95e126d1813c77e6fa62)
-- Updated read me [`f3e8803`](https://github.com/avoidwork/filesize.js/commit/f3e88030486d1ad58a5231cfaf4bef6debfc2785)
-- Updated read me [`4165623`](https://github.com/avoidwork/filesize.js/commit/41656233df59d19549648247a9bf37eeda2be33e)
-
-#### [1.5.0](https://github.com/avoidwork/filesize.js/compare/1.4.0...1.5.0)
-
-> 30 April 2012
-
-- Added an optional third boolean parameter to emulate "ls -lh" output, which overrides "pos" parameter [`33b074c`](https://github.com/avoidwork/filesize.js/commit/33b074c62b2ae618678731e835114a78f721a5bb)
-
-#### [1.4.0](https://github.com/avoidwork/filesize.js/compare/1.3.0...1.4.0)
-
-> 16 March 2012
-
-- Add parameter validation, fixed byte output, updated docblock [`329e874`](https://github.com/avoidwork/filesize.js/commit/329e874c8e9293e656f3383fc555c0babf5f3125)
-- Removing window references [`1375bdc`](https://github.com/avoidwork/filesize.js/commit/1375bdc95af858fab34ca79d5c38d12fb8ef84a4)
-- Fixing AMD loading [`21e2aa7`](https://github.com/avoidwork/filesize.js/commit/21e2aa77faca310c15e242a962d8ba96dd4c01b4)
-
-#### [1.3.0](https://github.com/avoidwork/filesize.js/compare/1.2.0...1.3.0)
-
-> 8 March 2012
-
-- Really, this time... [`326e4f4`](https://github.com/avoidwork/filesize.js/commit/326e4f43547a816a6b73c8e5e5a5c4c8219ffd57)
-- Fixing AMD loading (for real) [`41901ec`](https://github.com/avoidwork/filesize.js/commit/41901eca89b93c4741f6850222377f4ac2cb5952)
-
-#### [1.2.0](https://github.com/avoidwork/filesize.js/compare/1.1.0...1.2.0)
-
-> 4 March 2012
-
-- Fixing AMD loading [`5c177a9`](https://github.com/avoidwork/filesize.js/commit/5c177a9806b62371efdd7d1380bba813156d0390)
-- Updated README [`38de690`](https://github.com/avoidwork/filesize.js/commit/38de69077225692f2d8a77381b8c2d0fd429a923)
-- Updated README [`319e420`](https://github.com/avoidwork/filesize.js/commit/319e420d31022a62db87e6ea2512d0b07dc3df9a)
-
-#### [1.1.0](https://github.com/avoidwork/filesize.js/compare/1.0.0...1.1.0)
-
-> 2 March 2012
-
-- Added 'byte' as the smallest size, fixes S3 file size computing, etc. [`829b250`](https://github.com/avoidwork/filesize.js/commit/829b2504e37031bb5aca7bdab57f348f5fc37e92)
-- Updated README [`11f5015`](https://github.com/avoidwork/filesize.js/commit/11f5015344da58a174131a81e72180e59f354b9a)
-
-#### 1.0.0
-
-> 2 March 2012
-
-- Initial code commit [`c1f49eb`](https://github.com/avoidwork/filesize.js/commit/c1f49eb4765dd635a646e9477e7836d4d779dbc4)
-- Initial commit [`7078c4f`](https://github.com/avoidwork/filesize.js/commit/7078c4fb825a9d3de8bb79f22ec6aa5d3dbadfdd)
diff --git a/CNAME b/CNAME
new file mode 100644
index 0000000..a2f83dd
--- /dev/null
+++ b/CNAME
@@ -0,0 +1 @@
+filesizejs.com
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index a5edba3..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,28 +0,0 @@
-Copyright (c) 2025, Jason Mulligan
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-* Neither the name of filesize nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
diff --git a/README.md b/README.md
deleted file mode 100644
index 16a1bcf..0000000
--- a/README.md
+++ /dev/null
@@ -1,518 +0,0 @@
-# filesize.js
-
-[](https://www.npmjs.com/package/filesize)
-[](https://badge.fury.io/js/filesize)
-[](https://nodejs.org/)
-[](https://opensource.org/licenses/BSD-3-Clause)
-[](https://github.com/avoidwork/filesize.js/actions)
-
-A lightweight, high-performance file size utility for JavaScript that converts bytes to human-readable strings. Works in both Node.js and browser environments with comprehensive format support.
-
-## Installation
-
-```bash
-npm install filesize
-```
-
-## Usage
-
-### ES Modules
-
-```javascript
-import {filesize} from "filesize";
-filesize(265318, {standard: "jedec"}); // "259.1 KB"
-```
-
-### CommonJS
-
-```javascript
-const {filesize} = require("filesize");
-filesize(1024); // "1.02 kB"
-```
-
-### Partial Application
-
-```javascript
-import {partial} from "filesize";
-const size = partial({standard: "jedec"});
-size(265318); // "259.1 KB"
-```
-
-## Parameters
-
-* **input** `{Number|String|BigInt}` - The value to convert (required)
-* **options** `{Object}` - Configuration object (optional)
-
-### Options Object
-
-* **base** `{Number}` - Number base, default is `10`
-* **bits** `{Boolean}` - Enables `bit` sizes, default is `false`
-* **exponent** `{Number}` - Specifies the symbol via exponent, e.g. `2` is `MB` for base 2, default is `-1`
-* **fullform** `{Boolean}` - Enables full form of unit of measure, default is `false`
-* **fullforms** `{Array}` - Array of full form overrides, default is `[]`
-* **locale** `{String|Boolean}` - BCP 47 language tag to specify a locale, or `true` to use default locale, default is `""`
-* **localeOptions** `{Object}` - Dictionary of options defined by ECMA-402 ([Number.prototype.toLocaleString](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString))
-* **output** `{String}` - Output of function (`array`, `exponent`, `object`, or `string`), default is `string`
-* **pad** `{Boolean}` - Decimal place end padding, default is `false`
-* **precision** `{Number}` - Sets precision of numerical output, default is `0`
-* **round** `{Number}` - Decimal place, default is `2`
-* **roundingMethod** `{String}` - Rounding method, can be `round`, `floor`, or `ceil`, default is `round`
-* **separator** `{String}` - Decimal separator character, default is an empty string
-* **spacer** `{String}` - Character between the `result` and `symbol`, default is `" "`
-* **standard** `{String}` - Standard unit of measure, can be `iec`, `jedec`, or `si`. Default is `si` (base 10)
-* **symbols** `{Object}` - Dictionary of IEC/JEDEC symbols to replace for localization
-
-### Input Validation
-
-The function validates input and throws `TypeError` for invalid values:
-
-```javascript
-// Invalid input will throw TypeError
-try {
- filesize("invalid");
-} catch (error) {
- console.error(error.message); // "Invalid input"
-}
-
-try {
- filesize(NaN);
-} catch (error) {
- console.error(error.message); // "Invalid input"
-}
-```
-
-## Testing
-
-filesize.js maintains **100% test coverage** across all metrics with a comprehensive test suite of 47 test cases:
-
-```console
--------------|---------|----------|---------|---------|-------------------
-File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------|---------|----------|---------|---------|-------------------
-All files | 100 | 100 | 100 | 100 |
- filesize.js | 100 | 100 | 100 | 100 |
--------------|---------|----------|---------|---------|-------------------
-```
-
-### Running Tests
-
-```bash
-# Run all tests (linting + unit tests)
-npm test
-
-# Run only unit tests
-npm run mocha
-```
-
-### Test Coverage
-
-The test suite comprehensively covers:
-
-* **Basic functionality**: Core conversion logic and edge cases
-* **Output formats**: All output types (string, array, object, exponent)
-* **Standards support**: IEC, JEDEC, and SI standards with different bases
-* **Bit conversion**: Bits vs bytes with auto-increment logic
-* **Precision handling**: Rounding methods and decimal precision
-* **Localization**: Locale formatting and custom symbols
-* **Error handling**: Invalid inputs and boundary conditions
-* **Partial functions**: All option combinations with curried functions
-
-## Performance Benchmarks
-
-filesize.js is optimized for high performance with comprehensive benchmarks covering various usage patterns:
-
-### 🚀 Performance Overview
-
-| Scenario | Operations/sec | Notes |
-|----------|----------------|-------|
-| **Basic conversion** | ~16-27M ops/sec | Fastest operations (large numbers) |
-| **Small numbers** | ~18-20M ops/sec | Consistent performance |
-| **With options** | ~5-13M ops/sec | Depends on option complexity |
-| **Locale formatting** | ~91K ops/sec | Most expensive operation |
-| **Stress testing** | ~2-10M ops/sec | Handles edge cases gracefully |
-
-### 📊 Detailed Benchmark Results
-
-#### Basic Performance (5-run average)
-- **filesize(0)**: 18.6M ops/sec
-- **filesize(512)**: 20.3M ops/sec
-- **filesize(1024)**: 18.7M ops/sec
-- **filesize(1048576)**: 23.5M ops/sec
-- **filesize(1073741824)**: 23.6M ops/sec
-- **filesize(1099511627776)**: 26.9M ops/sec
-- **With bits=true**: 16.8M ops/sec
-- **With standard="iec"**: 16.6M ops/sec
-- **With round=4**: 13.4M ops/sec
-
-#### Options Performance Impact
-- **bits=true**: 12.5M ops/sec
-- **pad=true**: 5.6M ops/sec
-- **locale="en-US"**: 91K ops/sec (significant overhead)
-- **standard="iec"**: 8.8M ops/sec
-- **standard="jedec"**: 9.0M ops/sec
-- **output="array"**: 10.2M ops/sec
-- **output="object"**: 9.2M ops/sec
-- **fullform=true**: 7.8M ops/sec
-- **precision=3**: 6.3M ops/sec
-- **separator=","**: 7.2M ops/sec
-
-#### Stress Test Results
-- **Edge cases**: 2.3M ops/sec (90% success rate)
-- **Very large numbers**: 4.6M ops/sec (100% success)
-- **Very small numbers**: 10.4M ops/sec (100% success)
-- **Negative numbers**: 5.4M ops/sec (100% success)
-- **Random options**: 2.3M ops/sec (100% success)
-- **BigInt values**: 3.7M ops/sec (100% success)
-- **Memory pressure**: 49K ops/sec (100% success)
-- **Error conditions**: 715K ops/sec (~40% success rate)
-
-#### Partial Function Performance
-Partial functions maintain excellent performance with minimal overhead:
-- **Acceptable overhead**: 1.1-1.4x slower for most configurations
-- **Locale partials**: Significant overhead (~180x slower) due to locale formatting
-- **Creation cost**: Amortized across multiple uses
-
-### 💡 Performance Insights
-
-**Excellent Performance (>10M ops/sec)**
-- Basic conversions with minimal options
-- Large number processing (1TB+ values)
-- Standard output formats (string, array, object)
-- IEC and JEDEC standards
-
-**Good Performance (1-10M ops/sec)**
-- Complex option combinations
-- Precision and rounding operations
-- Fullform output
-- Stress test scenarios
-
-**Use Sparingly (<100K ops/sec)**
-- Locale formatting (significant overhead ~91K ops/sec)
-- Memory pressure conditions
-
-### 🎯 Optimization Tips
-
-1. **Cache partial functions** for repeated operations with same options
-2. **Avoid locale formatting** in performance-critical code
-3. **Use object output** for fastest structured data
-4. **Batch similar operations** together
-5. **Profile your specific usage patterns**
-
-### Running Benchmarks
-
-```bash
-# Run all benchmarks
-cd benchmarks && node index.js
-
-# Run specific benchmark
-node benchmarks/basic-performance.js
-
-# With garbage collection (more accurate)
-node --expose-gc benchmarks/index.js
-```
-
-### 🔥 Recent Performance Optimizations (v11.0.8)
-
-The latest version includes significant performance improvements:
-
-- **Pre-computed lookup tables** for Math operations (eliminates expensive `Math.pow()` calls)
-- **Optimized base/standard logic** with reduced branching
-- **Fast path for zero values** with minimal computation
-- **Cached object property access** to reduce repeated lookups
-- **Improved mathematical operations** with conditional calculations
-
-**Overall performance improvement: 30-70% faster** across common use cases while maintaining full backward compatibility.
-
-*Benchmarks run on macOS ARM64, Node.js v24.8.0, 12 CPU cores, 24GB RAM (5-run averages)*
-
-## API Reference
-
-### Functions
-
-#### filesize(input, options)
-
-Converts a numeric value to a human-readable file size string.
-
-**Parameters:**
-
-* `input` `{Number|String|BigInt}` - The value to convert
-* `options` `{Object}` - Configuration options (optional)
-
-**Returns:** `{String|Array|Object|Number}` - Formatted size based on output option
-
-```javascript
-filesize(500); // "500 B"
-filesize(1024, {base: 2}); // "1 KiB"
-filesize(265318, {output: "array"}); // [265.32, "kB"]
-```
-
-**See also:** partial()
-
-#### partial(options)
-
-Creates a pre-configured filesize function with options applied.
-
-**Parameters:**
-
-* `options` `{Object}` - Configuration options to apply
-
-**Returns:** `{Function}` - New function with options pre-applied
-
-```javascript
-const formatBinary = partial({base: 2, standard: "iec"});
-formatBinary(1048576); // "1 MiB"
-
-const formatBits = partial({bits: true});
-formatBits(1024); // "8.19 kbit"
-```
-
-**See also:** filesize()
-
-### Output Formats
-
-#### String Output (default)
-
-```javascript
-filesize(265318); // "265.32 kB"
-filesize(265318, {separator: ","}); // "265,32 kB"
-```
-
-#### Array Output
-
-```javascript
-filesize(265318, {output: "array"}); // [265.32, "kB"]
-filesize(1024, {output: "array", base: 2}); // [1, "KiB"]
-```
-
-#### Object Output
-
-```javascript
-filesize(265318, {output: "object"});
-// {value: 265.32, symbol: "kB", exponent: 1, unit: "kB"}
-```
-
-#### Exponent Output
-
-```javascript
-filesize(1024, {output: "exponent"}); // 1
-filesize(1048576, {output: "exponent", base: 2}); // 2
-```
-
-### Standards Support
-
-#### SI (International System of Units) - Default
-
-```javascript
-filesize(1000); // "1 kB" (base 10)
-filesize(1000000); // "1 MB"
-```
-
-#### IEC (International Electrotechnical Commission)
-
-```javascript
-filesize(1024, {standard: "iec", base: 2}); // "1 KiB"
-filesize(1048576, {standard: "iec", base: 2}); // "1 MiB"
-```
-
-#### JEDEC (Joint Electron Device Engineering Council)
-
-```javascript
-filesize(1024, {standard: "jedec"}); // "1 KB"
-filesize(1048576, {standard: "jedec"}); // "1 MB"
-```
-
-## Examples
-
-### Basic Usage
-
-```javascript
-import {filesize} from "filesize";
-
-filesize(500); // "500 B"
-filesize(1024); // "1.02 kB"
-filesize(265318); // "265.32 kB"
-filesize(265318, {round: 0}); // "265 kB"
-```
-
-### Binary Formats
-
-```javascript
-// IEC binary prefixes (KiB, MiB, GiB)
-filesize(1024, {base: 2, standard: "iec"}); // "1 KiB"
-filesize(1048576, {base: 2, standard: "iec"}); // "1 MiB"
-
-// JEDEC binary format (KB, MB, GB with binary calculation)
-filesize(1024, {standard: "jedec"}); // "1 KB"
-filesize(265318, {standard: "jedec"}); // "259.1 KB"
-```
-
-### Bits vs Bytes
-
-```javascript
-filesize(500, {bits: true}); // "4 kbit"
-filesize(1024, {bits: true}); // "8.19 kbit"
-filesize(1024, {bits: true, base: 2}); // "8 Kibit"
-```
-
-### Custom Formatting
-
-```javascript
-// Full form units
-filesize(1024, {fullform: true}); // "1.02 kilobytes"
-filesize(1024, {base: 2, fullform: true}); // "1 kibibyte"
-
-// Custom separators and spacing
-filesize(265318, {separator: ","}); // "265,32 kB"
-filesize(265318, {spacer: ""}); // "265.32kB"
-
-// Precision and padding
-filesize(1536, {round: 3, pad: true}); // "1.536 kB"
-filesize(1536, {precision: 3}); // "1.54 kB"
-```
-
-### Localization
-
-```javascript
-// German locale
-filesize(265318, {locale: "de"}); // "265,32 kB"
-
-// Custom symbols
-filesize(1, {symbols: {B: "Б"}}); // "1 Б"
-
-// Custom full forms
-filesize(12, {fullform: true, fullforms: ["байтов"]}); // "12 байтов"
-```
-
-### Advanced Usage
-
-```javascript
-// Specific exponent
-filesize(1024, {exponent: 0}); // "1024 B"
-filesize(1024, {exponent: 1}); // "1.02 kB"
-
-// BigInt support
-filesize(BigInt(1024), {standard: "jedec"}); // "1 KB"
-
-// Extreme precision for very large numbers
-filesize(Math.pow(1024, 8), {precision: 3}); // "1.21 YB"
-```
-
-### Partial Application Patterns
-
-```javascript
-import {partial} from "filesize";
-
-// Create specialized formatters
-const formatBinary = partial({base: 2, standard: "iec"});
-const formatBits = partial({bits: true});
-const formatPrecise = partial({round: 3, pad: true});
-const formatGerman = partial({locale: "de"});
-
-// Use throughout application
-formatBinary(1048576); // "1 MiB"
-formatBits(1024); // "8.19 kbit"
-formatPrecise(1536); // "1.536 kB"
-formatGerman(265318); // "265,32 kB"
-
-// Method chaining equivalent
-const sizes = [1024, 2048, 4096];
-sizes.map(formatBinary); // ["1 KiB", "2 KiB", "4 KiB"]
-```
-
-## Development
-
-This project follows Node.js best practices and uses:
-
-* **ES Modules** for modern JavaScript
-* **Mocha** for testing with comprehensive coverage
-* **ESLint** for code quality and consistency
-* **Rollup** for building distributions
-* **TypeScript definitions** for type safety
-
-### Project Structure
-
-```
-filesize.js/
-├── src/
-│ ├── filesize.js # Main implementation
-│ └── constants.js # Unit definitions and constants
-├── tests/
-│ └── unit/
-│ └── filesize.test.js # Comprehensive test suite
-├── types/
-│ ├── filesize.d.ts # TypeScript definitions
-│ └── constants.d.ts # Constants type definitions
-└── package.json # Dependencies and scripts
-```
-
-### Contributing
-
-1. Fork the repository
-2. Create your feature branch (`git checkout -b feature/amazing-feature`)
-3. Write tests for your changes
-4. Ensure all tests pass (`npm test`)
-5. Commit your changes (`git commit -m 'Add amazing feature'`)
-6. Push to the branch (`git push origin feature/amazing-feature`)
-7. Open a Pull Request
-
-### Development Workflow
-
-filesize.js includes an optimized development workflow with modern build tools:
-
-* **🔄 Live Reload**: Use `npm run dev` for automatic rebuilds during development
-* **📊 Bundle Analysis**: Monitor build sizes with `npm run build:analyze`
-* **⚡ Fast Testing**: Live test running with `npm run test:watch`
-* **🔧 Auto-fixing**: Automatic linting fixes with `npm run lint:fix`
-* **📈 Performance**: Optimized Rollup configuration with enhanced tree shaking
-
-**Build Output Analysis:**
-- Minified ES Module: ~1.8KB (gzipped)
-- UMD Bundle: ~1.9KB (gzipped)
-- Comprehensive source maps included
-
-### Development Commands
-
-```bash
-# Install dependencies
-npm install
-
-# Development mode with live rebuild
-npm run dev
-
-# Build distribution
-npm run build
-
-# Build with bundle size analysis
-npm run build:analyze
-
-# Live rebuild during development
-npm run build:watch
-
-# Run linting
-npm run lint
-
-# Auto-fix linting issues
-npm run lint:fix
-
-# Run tests
-npm test
-
-# Live testing during development
-npm run test:watch
-
-# Run only unit tests
-npm run mocha
-
-# Bundle size analysis
-npm run analyze:size
-
-# Benchmarking
-npm run benchmark
-npm run benchmark:basic
-npm run benchmark:stress
-```
-
-## License
-
-Copyright (c) 2025 Jason Mulligan
-Licensed under the BSD-3 license.
diff --git a/assets/css/default.css b/assets/css/default.css
new file mode 100644
index 0000000..4501802
--- /dev/null
+++ b/assets/css/default.css
@@ -0,0 +1 @@
+html,body{padding:0 0 0 0;margin:0 0 0 0;min-height:100%}body{background-color:#fff;font-size:24pt;font-family:"Lato", arial, helvetica, sans-serif;color:#000}a{color:#000}a:hover{color:#fff}header h1{font-weight:normal;font-size:90pt;margin:0 0 0 0}header h1,header .container{padding:0 0 0 0}article{color:#fff}article h2{font-size:40pt;margin:0 0 0 0;padding:0 0 0 0;margin-bottom:20px}article h3{font-size:26pt}article ul li{margin:5px}article p,article ul{margin:0 0 0 0;padding:0 0 20px 0}article ul{display:inline-block;width:100%}article ul li{list-style-type:none;margin:0 0 0 0;padding:0 0 0 0;font-size:16pt;float:left;width:50%;text-align:center}article ul li a{font-size:24pt}article ul li span{display:block}article #about{background:#ffa040}article #example{background:#ff5f00}article #download{background:#36cabe}article #demo{background:#057d9f}article #demo .clickable{cursor:pointer}article #demo p,article #demo #result{margin:5px 0 0 0}article #demo #result{display:inline-block}article #demo formset{margin:0 0 0 0;padding:0 0 0 0}article #demo p span:last-child{margin-left:50px}article #demo button,article #demo input{height:28pt;font-size:24pt}article #demo button{background:none;border:none}article #demo button:hover{cursor:pointer;color:#fff}article .code{border:1px solid #dedede;padding:2px;font-size:10pt;background:#f8f8ff}article .gist{font-size:10pt}footer a:hover{color:#7e7e7e}.container{width:960px;margin:0 auto 0 auto;padding-top:20px;padding-bottom:20px}.github{position:absolute;top:0;right:0;z-index:100}.hidden{display:none}@media screen and (min-width: 900px) and (max-width: 960px){.container{width:890px !important}}@media screen and (min-width: 600px) and (max-width: 900px){.container{width:590px !important}}@media screen and (min-width: 1px) and (max-width: 600px){header h1{font-size:60pt}article h2{font-size:32pt}body{font-size:18pt}.container{width:400px !important}}
diff --git a/assets/css/default.scss b/assets/css/default.scss
new file mode 100644
index 0000000..c63c873
--- /dev/null
+++ b/assets/css/default.scss
@@ -0,0 +1,219 @@
+$zeros: 0 0 0 0;
+$ten: 10px;
+$lightestgrey: #f2f2f2;
+$lightgrey: #7e7e7e;
+$darkgrey: #282828;
+$white: #fff;
+$black: #000;
+$fontsize: 24pt;
+
+html,
+body {
+ padding: $zeros;
+ margin: $zeros;
+ min-height: 100%;
+}
+
+body {
+ background-color: $white;
+ font-size: $fontsize;
+ font-family: "Lato", arial, helvetica, sans-serif;
+ color: $black;
+}
+
+a {
+ color: $black;
+
+ &:hover {
+ color: $white;
+ }
+}
+
+header {
+ h1 {
+ font-weight: normal;
+ font-size: 90pt;
+ margin: $zeros;
+ }
+
+ h1,
+ .container {
+ padding: $zeros;
+ }
+}
+
+article {
+ color: $white;
+
+ h2 {
+ font-size: $fontsize + 16;
+ margin: $zeros;
+ padding: $zeros;
+ margin-bottom: $ten * 2;
+ }
+
+ h3 {
+ font-size: $fontsize + 2;
+ }
+
+ ul {
+ li {
+ margin: 5px;
+ }
+ }
+
+ p,
+ ul {
+ margin: $zeros;
+ padding: 0 0 $ten * 2 0;
+ }
+
+ ul {
+ display: inline-block;
+ width: 100%;
+
+ li {
+ list-style-type: none;
+ margin: $zeros;
+ padding: $zeros;
+ font-size: $fontsize - 8;
+ float: left;
+ width: 50%;
+ text-align: center;
+
+ a {
+ font-size: $fontsize;
+ }
+
+ span {
+ display: block;
+ }
+ }
+ }
+
+ #about {
+ background: #ffa040;
+ }
+
+ #example {
+ background: #ff5f00;
+ }
+
+ #download {
+ background: #36cabe;
+ }
+
+ #demo {
+ background: #057d9f;
+
+ .clickable {
+ cursor: pointer;
+ }
+
+ p,
+ #result {
+ margin: $ten / 2 0 0 0;
+ }
+
+ #result {
+ display: inline-block;
+ }
+
+ formset {
+ margin: $zeros;
+ padding: $zeros
+ }
+
+ p {
+ span:last-child {
+ margin-left: $ten * 5;
+ }
+ }
+
+ button,
+ input {
+ height: $fontsize + 4;
+ font-size: $fontsize;
+ }
+
+ button {
+ background: none;
+ border: none;
+
+ &:hover {
+ cursor: pointer;
+ color: $white;
+ }
+ }
+ }
+
+ .code {
+ border: 1px solid #dedede;
+ padding: 2px;
+ font-size: 10pt;
+ background: #f8f8ff;
+ }
+
+ .gist {
+ font-size: 10pt;
+ }
+}
+
+footer {
+ a:hover {
+ color: $lightgrey;
+ }
+}
+
+.container {
+ width: $ten * 96;
+ margin: 0 auto 0 auto;
+ /*transition: width .2s ease-in-out;*/
+ padding-top: $ten * 2;
+ padding-bottom: $ten * 2;
+}
+
+.github {
+ position: absolute;
+ top: 0;
+ right: 0;
+ z-index: 100;
+}
+
+.hidden {
+ display: none;
+}
+
+@media screen and (min-width: 900px) and (max-width: 960px) {
+ .container {
+ width: $ten * 89 !important;
+ }
+}
+
+@media screen and (min-width: 600px) and (max-width: 900px) {
+ .container {
+ width: $ten * 59 !important;
+ }
+}
+
+@media screen and (min-width: 1px) and (max-width: 600px) {
+ header {
+ h1 {
+ font-size: 60pt;
+ }
+ }
+
+ article {
+ h2 {
+ font-size: $fontsize + 8;
+ }
+ }
+
+ body {
+ font-size: $fontsize - 6;
+ }
+
+ .container {
+ width: $ten * 40 !important;
+ }
+}
diff --git a/assets/dashboard.js b/assets/dashboard.js
new file mode 100644
index 0000000..aa0a3c4
--- /dev/null
+++ b/assets/dashboard.js
@@ -0,0 +1,59 @@
+/**
+ * filesize.js dashboard
+ *
+ * @author Jason Mulligan | t |
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 3 | +6 | +9 | +
| A | +B | +C | +
|---|---|---|
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 3 | +6 | +9 | +
| 1 | +2 | +3 | +
|---|---|---|
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 1 | +2 | +3 | +
| 3 | +6 | +9 | +
| 1 | +2 | +3 | +
|---|---|---|
| 1 and 2 | +3 | +|
| 1 | +2 | +3 | +
| 1 | +3 | +|
| 2 and 3 | +||
| 1 | +2 | +3 | +
|---|---|---|
| 1 and 2 | +3 | +|
| 1 | +2 | +3 | +
| 1 | +3 | +|
| 2 and 3 | +||
| Test | +||||||||
|---|---|---|---|---|---|---|---|---|
+
|
+
| 1 | +2 | +3 | +
|---|---|---|
| 1 and 2 | +3 | +|
| 1 | +2 | +3 | +
| 1 | +3 | +|
| 2 and 3 | +||
Inputs should not extend past the light red background, set on their parent, a .span* column.
Inputs should not extend past the light red background, set on their parent, a .span* column.
I'm in Section 1.
+ +I'm in Section 1.1.
+I'm in Section 1.2.
+I'm in Section 1.3.
+Howdy, I'm in Section 2.
+What up girl, this is Section 3.
+Cras justo odio, dapibus ac facilisis in, egestas eget quam. Maecenas sed diam Label name eget risus varius blandit sit amet non magna. Fusce .class-name dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
| + Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue. Donec ullamcorper nulla non metus auctor fringilla. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. + | +
+
+
+
+
+
+
+ |
+
This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.
+ +This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.
+ +This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.
+ ++ Install FontAwesome.otf on your system. + Then, copy and paste any of these icons to use them in your mockups & designs. +
+ +The iconic font designed for
use with Twitter Bootstrap
+ You asked, Font Awesome delivers with 40 shiny new icons in version 3.0. New icons can be requested on the + Font Awesome GitHub project. Or even + better, you can contribute your own icons. +
+It's easy to integrate Font Awesome into Twitter Bootstrap, or even use it on its own.
+Use this method to integrate Font Awesome with the default Bootstrap CSS.
+The font path is relative from your CSS directory.
+<head> of your html, reference the location to your font-awesome.min.css.
++<link rel="stylesheet" href="../css/bootstrap.min.css"> +<link rel="stylesheet" href="../css/font-awesome.min.css"> ++
Use this method to integrate Font Awesome with Twitter Bootstrap using LESS.
+@import "sprites.less"; with @import "font-awesome.less";@FontAwesomePath variable to point to your font directory.
++@FontAwesomePath: "../font"; ++
The font path is relative from your compiled CSS directory.
+I have never used either, so let me know if the included SCSS or SASS files have issues.
+Font Awesome works just as well without Twitter Bootstrap.
+Font Awesome supports IE7. If you need it, you have my condolences.
+<head> of your html, reference the location to your font-awesome-ie7.min.css.
++<link rel="stylesheet" href="../css/bootstrap.min.css"> +<link rel="stylesheet" href="../css/font-awesome.min.css"> +<!--[if IE 7]> +<link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css"> +<![endif]--> ++
Many examples re-used from the Twitter Bootstrap documentation.
+Use Font Awesome icons in:
+Place Font Awesome icons just about anywhere with the <i> tag.
+<i class="icon-camera-retro"></i> icon-camera-retro ++
+ To increase the size of icons relative to its container, use icon-large, icon-2x,
+ icon-3x, or icon-4x.
+
+ Increase the icon size by using the icon-large (33% increase), icon-2x,
+ icon-3x, or icon-4x classes.
+
icon-camera-retro
+icon-camera-retro
+icon-camera-retro
+icon-camera-retro
++<p><i class="icon-camera-retro icon-large"></i> icon-camera-retro</p> +<p><i class="icon-camera-retro icon-2x"></i> icon-camera-retro</p> +<p><i class="icon-camera-retro icon-3x"></i> icon-camera-retro</p> +<p><i class="icon-camera-retro icon-4x"></i> icon-camera-retro</p> ++
+ Use the icon-spin class to get any icon to rotate. Works best with icon-spinner and
+ icon-refresh.
+
+<i class="icon-spinner icon-spin"></i> Spinner icon when loading content... ++
+ CSS3 animations aren't supported in IE7 - IE9. +
+
+ Use icon-border and pull-right or pull-left for easy pull quotes or
+ article graphics.
+
+<i class="icon-quote-left icon-4x pull-left icon-muted"></i> +Use a few of the new styles together ... lots of new possibilities. ++
+<i class="icon-flag icon-4x pull-left icon-border"></i> +Use a few of the new styles together ... lots of new possibilities. ++
+ + Reload + + Checkout +
+ ++ + Delete + + Settings +
+ + + +
+ Font Awesome icons work great in buttons. You can even combine them with larger icon styles,
+ pull-right and pull-left, and icon-spin.
+
+<a class="btn" href="#"> + <i class="icon-repeat"></i> Reload</a> +<a class="btn btn-success" href="#"> + <i class="icon-shopping-cart icon-large"></i> Checkout</a> +<a class="btn btn-large btn-primary" href="#"> + <i class="icon-comment"></i> Comment</a> +<a class="btn btn-small btn-info" href="#"> + <i class="icon-info-sign"></i> Info</a> +<a class="btn btn-danger" href="#"> + <i class="icon-trash icon-large"></i> Delete</a> +<a class="btn btn-small" href="#"> + <i class="icon-cog"></i> Settings</a> +<a class="btn btn-large btn-danger" href="#"> + <i class="icon-flag icon-2x pull-left"></i>Font Awesome<br>Version 3.0</a> +<a class="btn btn-primary" href="#"> + <i class="icon-refresh icon-spin"></i> Synchronizing Content...</a> ++
+<div class="btn-group"> + <a class="btn" href="#"><i class="icon-align-left"></i></a> + <a class="btn" href="#"><i class="icon-align-center"></i></a> + <a class="btn" href="#"><i class="icon-align-right"></i></a> + <a class="btn" href="#"><i class="icon-align-justify"></i></a> +</div> ++
+<div class="btn-group open"> + <a class="btn btn-primary" href="#"><i class="icon-user"></i> User</a> + <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="icon-caret-down"></span></a> + <ul class="dropdown-menu"> + <li><a href="#"><i class="icon-pencil"></i> Edit</a></li> + <li><a href="#"><i class="icon-trash"></i> Delete</a></li> + <li><a href="#"><i class="icon-ban-circle"></i> Ban</a></li> + <li class="divider"></li> + <li><a href="#"><i class="i"></i> Make admin</a></li> + </ul> +</div> ++
+
Easily replace individual bullets.
++<ul class="icons"> + <li><i class="icon-ok"></i> Lists</li> + <li><i class="icon-ok"></i> Buttons</li> + <li><i class="icon-ok"></i> Button groups</li> + <li><i class="icon-ok"></i> Navigation</li> + <li><i class="icon-ok"></i> Prepended form inputs</li> +</ul> ++
Use Font Awesome icons in navigation to provide helpful visual cues.
++<ul class="nav nav-list"> + <li class="active"><a href="#"><i class="icon-home"></i> Home</a></li> + <li><a href="#"><i class="icon-book"></i> Library</a></li> + <li><a href="#"><i class="icon-pencil"></i> Applications</a></li> + <li><a href="#"><i class="icon-cogs"></i> Settings</a></li> +</ul> ++
+
+ ++<form> + <div class="input-prepend"> + <span class="add-on"><i class="icon-envelope"></i></span> + <input class="span2" type="text" placeholder="Email address"> + </div> + <div class="input-prepend"> + <span class="add-on"><i class="icon-key"></i></span> + <input class="span2" type="password" placeholder="Password"> + </div> +</form> ++
Anything you can do with CSS font styles, you can do with Font Awesome.
+Star Ratings (inspired by CSS Tricks)
+
+ + Want to help make Font Awesome even more awesome? Contribute back to the Font Awesome community by designing + new pictograms for the set. +
++ If selected, you'll retain the CC-BY license to your pictogram and get attribution + right here on the Font Awesome site. +
+[Font Awesome] [Icon Contribution] icon-name and attach your PDF file. If your
+ icon makes it into Font Awesome (I'm keeping a very tight reign on quality), I'll ask what contact info you'd
+ like to use for attribution.
+ Here's the plan for future updates.
+Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome.+ I'm the lead product designer at Kyruus. I wake up every single day excited about my job. + Why? Kyruus is going to change healthcare. No exaggeration. +
+ ++ Kyruus is a well-funded, big data healthcare startup in Boston. We believe that the right data at the right time + can help doctors make better decisions. We believe data can save lives. +
+ + What I love about Kyruus: ++ Kyruus needs good people. Designers, app developers, big data masters, & interns that get real responsibility. Come work with me. +
+ + Interested? Email me. ++ + Hopefully you think Font Awesome is awesome. I've put hundreds of hours into the project to give back to the + open source community. If you'd like, here are some ways you can tell me thanks for all my hard work. +
++ Contribute icons to make Font Awesome even awesome-er. +
++ Contribute to a shiny + new iMac for me to keep making great icons. +
++ Or pick something straight + from my wish list. Gift cards are great. +
++ + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et lectus id nisl hendrerit varius. Aliquam erat volutpat. Suspendisse potenti. Aliquam erat volutpat. Aliquam ut dolor lectus. +
++ + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et lectus id nisl hendrerit varius. Aliquam erat volutpat. Suspendisse potenti. Aliquam erat volutpat. Aliquam ut dolor lectus. +
+