1.0.0 • Published 5 years ago
@feizheng/next-pad-start v1.0.0
next-pad-start
Pad start for next.
installation
npm install -S @feizheng/next-pad-start
usage
import '@feizheng/next-pad-start';
//DOCS here!
simple solution
('0' + 1).slice(-2)
// "01"
('0' + 12).slice(-2)
// "12"
1.0.0
5 years ago