Skip to content

Commit

Permalink
add support for 34 digit fedex tracking (#8)
Browse files Browse the repository at this point in the history
* add support for 24 digit fedex tracking

* add support for 24 digit fedex tracking

* add support for 24 digit fedex tracking

* add support for 24 digit fedex tracking

* add support for 24 digit fedex tracking

* add support for 24 digit fedex tracking

* add support for 24 digit fedex tracking

* add support for 24 digit fedex tracking
  • Loading branch information
niradler authored Dec 12, 2021
1 parent 9876227 commit 54a439f
Show file tree
Hide file tree
Showing 9 changed files with 11,661 additions and 158 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/build.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,24 @@ name: Node.js CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
package-lock.json
yarn.lock
yarn.lock
index.js
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ Javascript:

- npm i tracking-number-validation --save
- include main.js in your index.html

```html
<script src="node_modules/tracking-number-validation/dist/main.js"></script>
```

- const courier = TNV.getCourier(tr)

### Demo
Expand Down Expand Up @@ -112,4 +114,4 @@ DHL:
- "125 12345678": "dhl",
- "12512345678": "dhl",
- SEA1234567: "dhl",
- LAX1234567: "dhl",
- LAX1234567: "dhl",
48 changes: 0 additions & 48 deletions index.html

This file was deleted.

79 changes: 0 additions & 79 deletions index.js

This file was deleted.

Loading

0 comments on commit 54a439f

Please sign in to comment.