mljs / levenberg-marquardt

Curve fitting method in JavaScript
MIT License
70 stars 15 forks source link

Create cdnJs #42

Closed AmauryVa closed 3 years ago

AmauryVa commented 3 years ago

Hi, Would it be possible to make this library compatible with browsers? Maybe store that on https://www.jsdelivr.com/?

Thank you

jobo322 commented 3 years ago

Hello @AmauryVa, you can generate a browser version of this package with npm run build it will generate a dist folder.

AmauryVa commented 3 years ago

@jobo322 Thank you for your help. It all works now. To use this library in browser : mlLevenbergMarquardt(data, sinFunction, options)