here is a wiper v2.8 patch for ntfs/hfsplus offline trim. Works also for a hfsplus within a wrapper (mkfs.hfsplus -w).
ntfs: ntfscat and ntfsinfo from package ntfs-tools is required.
hfsplus: fsstat and icat from package sleuthkit (v3.1.1 and above) is required.
The gawk part is mostly the same for both filesystems. Within each byte, the most significant bit holds information about the allocation block with the lowest number for hfsplus. Ntfs has reverse order. For hfsplus only ranges > (2*blocksize) will be trimmed, because every file is followed from (2*blocksize) empty sectors and this makes the trimming dogslow on big filesystems.
Please include the patch in the next wiper version.