Adding turf.isolines layer to leaflet map

I think I’m overlooking something very simple with my notebook. I’m trying to use the turf.isolines feature in a leaflet map.

Is there any way to figure out what’s going wrong with my lines object?

I made this one with jsts:

Maybe is useful if you don’t mind changing the library

Here’s a quick demo of isolines in Turf:


Awesome, thanks so much Mike! My mistake was trying to put the turf.js calls within the map = { } object.