Skip to content

Commit

Permalink
fix: update README to include DecimalSignedFormat import
Browse files Browse the repository at this point in the history
  • Loading branch information
reskume committed Dec 30, 2024
1 parent 5f3e447 commit ea53aee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ required ones. Each format parser can be configured individually:

```javascript
import { Parser } from '@openaip/openaip-coordinate-parser';
import { DecimalUnsignedFormat } from '@openaip/openaip-coordinate-parser/formats/decimal-format.js';
import { DecimalSignedFormat } from '@openaip/openaip-coordinate-parser/formats/decimal-signed-format.js';
import { DecimalUnsignedFormat } from '@openaip/openaip-coordinate-parser/formats/decimal-unsigned-format.js';

// only parsing two formats is ever required
const decimalParser = new DecimalUnsignedFormat({ precision: 5 });
Expand Down

0 comments on commit ea53aee

Please sign in to comment.