path-complete-extname

path.extname implementation adapted to also include multiple dots extensions.

Browse on unpkg