If given CSS size value has no unit, px will be appended.
JavaScript
0
0
MIT License
px-by-default is a JavaScript library that appends 'px' to CSS size values lacking a unit, simplifying CSS handling in development. It is ideal for developers working on projects where CSS values are dynamically generated or manipulated, ensuring consistent unit application.