Closed corysimmons closed 3 years ago
Looks like you're exporting
And the dist looks like it's getting bundled:
Is it getting babelified correctly? Not sure it would matter. Even when I test using latest Node (15) locally it gives me the same err.
What am I overlooking? :D
hi @corysimmons I had updated the docs with the use case
const validateFEN = require('fen-validator').default;
Not sure why it's not getting added in the npm package!!
I have updated the patch so the docs would look good in npm also.
Thank you sir!
The package on npm says the function isn't exported. Copying your README here: