swantzter / kontonummer

Parse, validate and format Swedish bank account numbers
https://kontonummer.se
MIT License
5 stars 2 forks source link

Implement the format method #3

Closed swantzter closed 4 years ago

swantzter commented 4 years ago

add the first implementation of the format method that includes a simple mask formatter and outputs two different formats

codecov[bot] commented 4 years ago

Codecov Report

Merging #3 into master will increase coverage by 5.57%. The diff coverage is 84.44%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   70.00%   75.57%   +5.57%     
==========================================
  Files           4        5       +1     
  Lines          90      131      +41     
  Branches       22       38      +16     
==========================================
+ Hits           63       99      +36     
  Misses         19       19              
- Partials        8       13       +5     
Impacted Files Coverage Δ
src/banks.ts 100.00% <ø> (ø)
src/validate.ts 96.15% <ø> (-0.15%) :arrow_down:
src/index.ts 56.89% <80.00%> (+3.32%) :arrow_up:
src/format.ts 85.00% <85.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5e2fe28...41c0a3b. Read the comment docs.

github-actions[bot] commented 4 years ago

:tada: This PR is included in version 1.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: