npm.io
1.0.4 • Published 3 years ago

@mliebelt/pgn-types

Licence
Apache-2.0
Version
1.0.4
Deps
0
Size
18 kB
Vulns
0
Weekly
0

In a nutshell

Provide the (type) language for all the pgn-* packages I am developing.

I have tried to develop parts of the pgn-* packages individually, and to import what is needed. By extracting now pgn-writer (that uses types in part defined by pgn-parser, part by pgn-reader) it gets more and more complicated.

To avoid having duplication of the types (by doing copy and paste), I try now to eliminate duplicates and move them to the common types used in many packages. The size should be minimal (only declaration), but perhaps I gain a common model where the small glitches that are not easy to find can be avoided.

And yes, I will have additional dependencies that has to be managed, with some more changes if types / design changes. But better to have it explicit instead of subtle errors ...

Keywords