cerialize
cerialize copied to clipboard
Version 2 is here!
Is there any ETA on when this version will be published to npm?
I can publish it as a beta, I have a few more things I want to look into before officially releasing it but haven't had time with chaos at work recently.
Published, you can pull it with npm install cerialize@next
Thanks! If it's not too much trouble, could you also build it for commonjs modules?
I end up with this error when using it in Node 9.5.0:
node_modules/cerialize/dist/index.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import { MetaData } from "./meta_data";
^^^^^^
SyntaxError: Unexpected token import
run into same error like TheBinaryFox
@TheBinaryFox @joey-he8x changed the module type to commonjs, hope it fixes your issues
@weichx cerialize looks great! :) are you still going to work on v2?
To be honest not really, as is it should be pretty well tested and functional but I don't work on the web anymore and can't dedicate time to the project right now.
@weichx Thanks for the reply :-) if it's ok with you I could have a look at the PR and then finally merge it...
@weichx I have reviewed about a dozen of similar libs for serialization in detail recently and even the most popular one (class-transformer) is not really maintained anymore but has lots of open issues and PRs. I do like the simple and straight-forward approach of cerialize. Since I want to use this in a large production app, I'd rather try to push forward development on this one than bet on class-transformer or serializr.
@marcelh-gh sure, happy to have another set of eyes on it