-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
81 changed files
with
3,703 additions
and
16,916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: build | ||
on: [push] | ||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [18.x, 20.x, latest] | ||
|
||
steps: | ||
- name: ➡️ Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🟢 Set up Node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: ⬇️ Install dependencies | ||
run: npm install | ||
|
||
- name: 🏃 Run tests | ||
run: npm run coverage | ||
|
||
- name: ☂️ Upload to codecov | ||
if: matrix.node-version == 'latest' | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
fail_ci_if_error: true | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
fund=false | ||
audit=false | ||
save-exact=true | ||
legacy-peer-deps=true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"plugins": ["prettier-plugin-organize-imports"], | ||
"trailingComma": "es5", | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": true, | ||
"singleQuote": true, | ||
"bracketSpacing": true, | ||
"jsxBracketSameLine": false, | ||
"arrowParens": "avoid", | ||
"endOfLine": "lf", | ||
"fluid": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
# any-date-parser | ||
|
||
[![NPM Link](https://img.shields.io/npm/v/any-date-parser?v=1.6.0)](https://npm.com/package/any-date-parser) | ||
[![Minified Size](https://badgen.net/bundlephobia/min/react)](https://bundlephobia.com/package/[email protected]) | ||
[![Build Status](https://travis-ci.org/kensnyder/any-date-parser.svg?branch=master&v=1.6.0)](https://travis-ci.org/kensnyder/any-date-parser) | ||
[![Code Coverage](https://codecov.io/gh/kensnyder/any-date-parser/branch/master/graph/badge.svg?v=1.6.0)](https://codecov.io/gh/kensnyder/any-date-parser) | ||
[![ISC License](https://img.shields.io/npm/l/any-date-parser.svg?v=1.6.0)](https://opensource.org/licenses/ISC) | ||
[![NPM Link](https://badgen.net/npm/v/any-date-parser?v=1.6.0)](https://npmjs.com/package/any-date-parser) | ||
[![Language](https://badgen.net/static/language/TS?v=1.6.0)](https://github.com/search?q=repo:kensnyder/any-date-parser++language:TypeScript&type=code) | ||
[![Build Status](https://github.com/kensnyder/any-date-parser/actions/workflows/workflow.yml/badge.svg?v=1.6.0)](https://github.com/kensnyder/any-date-parser/actions) | ||
[![Code Coverage](https://codecov.io/gh/kensnyder/any-date-parser/branch/main/graph/badge.svg?v=1.6.0)](https://codecov.io/gh/kensnyder/any-date-parser) | ||
[![Gzipped Size](https://badgen.net/bundlephobia/minzip/any-date-parser?label=minzipped&v=1.6.0)](https://bundlephobia.com/package/[email protected]) | ||
[![Dependency details](https://badgen.net/bundlephobia/dependency-count/any-date-parser?v=1.6.0)](https://www.npmjs.com/package/any-date-parser?activeTab=dependencies) | ||
[![Tree shakeable](https://badgen.net/bundlephobia/tree-shaking/any-date-parser?v=1.6.0)](https://www.npmjs.com/package/any-date-parser) | ||
[![ISC License](https://badgen.net/github/license/kensnyder/any-date-parser?v=1.6.0)](https://opensource.org/licenses/ISC) | ||
|
||
Parse a wide range of date formats including human-input dates. | ||
|
||
Supports Node, IE11+ and evergreen browsers. | ||
Supports Node and browsers. Uses `Intl` to provide parsing support for all installed locales. | ||
|
||
## Installation | ||
|
||
|
Oops, something went wrong.