@ungap/trim
v0.2.0
Published
An trim polyfill for legacy browsers.
Downloads
32,149
Maintainers
Readme
String.prototype.trim
A String.prototype.trim polyfill for legacy browsers.
- CDN via https://unpkg.com/@ungap/trim
- ESM via
import trim from '@ungap/trim'
- CJS via
const trim = require('@ungap/trim')
Compatible down to IE9, works well with ES5 shim upfront in IE8 (and maybe lower too).