UNPKG

@sequencemedia/css-purge

Version:

A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.

10 lines (9 loc) 240 B
export default function hasPropertyMargin ({ property }) { return ( property === 'margin-top' || property === 'margin-right' || property === 'margin-bottom' || property === 'margin-left' || property === 'margin' ) }