abranhe / normalize-mongoose

Normalize Mongoose JSON output
https://p.abranhe.com/normalize-mongoose
MIT License
12 stars 0 forks source link

transpile exported code #33

Open goldylucks opened 2 years ago

goldylucks commented 2 years ago

would be easier to consume this package if you transpile it with babel before shipping.

right now I copy pasted it locally because jest is throwing syntax errors

abranhe commented 2 years ago

I will consider it, but in the meantime, you can use a previous version normalize-mongoose@0.0.1.


You can also read more about moving from CommonJS to ESM here.

ArthurGorbenko commented 2 years ago

Sounds reasonable request to me, so +1