Skip to content

Commit

Permalink
Show a correct size
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoni Kepinski committed Aug 24, 2020
1 parent f2189b4 commit 68a2c0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "light-date",
"version": "1.0.0",
"description": "Blazing fast & lightweight (191 bytes) date formatting for Node.js and the browser.",
"version": "1.0.1",
"description": "Blazing fast & lightweight (173 bytes) date formatting for Node.js and the browser.",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -90,12 +90,9 @@
},
"size-limit": [
{
"path": [
"dist/index.js",
"dist/index.esm.js"
],
"path": "dist/index.esm.js",
"import": "{format}",
"limit": "191 B"
"limit": "173 B"
}
]
}
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Light Date :alarm_clock:

> Blazing fast & lightweight date formatting for Node.js and the browser.
> Blazing fast & lightweight (173 bytes) date formatting for Node.js and the browser.
[![Build Status](https://travis-ci.com/xxczaki/light-date.svg?branch=master)](https://travis-ci.com/xxczaki/light-date)
[![Coverage Status](https://coveralls.io/repos/github/xxczaki/light-date/badge.svg?branch=master)](https://coveralls.io/github/xxczaki/light-date?branch=master)
Expand All @@ -15,7 +15,7 @@ Note that only a [limited subset of Date methods](#patterns) is provided.

## Highlights

* **Small.** 191 bytes (minified and gzipped). No dependencies. [Size Limit](https://github.com/ai/size-limit) controls the size.
* **Small.** 173 bytes (minified and gzipped). No dependencies. [Size Limit](https://github.com/ai/size-limit) controls the size.
* **Fast.** See the [benchmarks](#benchmarks).
* **Compliant.** Follows [Unicode Technical Standard #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).
* **Well tested.** To make sure it handles various use cases correctly.
Expand Down

0 comments on commit 68a2c0a

Please # to comment.