Export leaflet map to a big image file using leaflet-image.
npm install
npm start
Any images you generate from maps that require attribution - which is most, including all from commercial sources and those that include any data from OpenStreetMap - will require the same attribution as the map did. Remember to attribute.