jimmykane / fit-parser

Parse your FIT files easily, directly from JS (Garmin, Polar, Suunto)
Other
92 stars 33 forks source link

Use require 'buffer/' instead of 'buffer' #3

Closed joecorkerton closed 5 years ago

joecorkerton commented 5 years ago

This solves an error where buffer is not defined when not using browserify.

See https://github.com/calvinmetcalf/shapefile-js/issues/99 for more details.

I came across this while trying to use the library in an electron app

jimmykane commented 5 years ago

@joecorkerton Thanks merging bumping and releasing

jimmykane commented 5 years ago

@joecorkerton fit-file-parser@1.6.3 is published with your fix thanks.

Perhaps worth to mention here that we are starting to work with the original author of this lib for a TS module.

Keep an eye for a new package coming up the next months.