knockout.wrap
knockout.wrap copied to clipboard
Added options argument for allowing ignoring properties like __ko_mapping__ and including computed values
Let the user choose which properties to include and which to ignore.
I had a performance issue with ko.mapping.toJS and replaced it with ko.wrap.toJS which lacked my most basic needs from the conversion. I updated it as little as possible to keep it fast but also allow the user to control the conversion.
Plus, I added a package.json, bower.json and updated nupkg files after bumping the version to 1.0.2.
Looks good, could you add some tests?
Works great on my code!