npm.io
0.0.1 • Published 13 years ago

pad-component v0.0.1

Weekly downloads
210,723
License
-
Repository
-
Last release
13 years ago

pad

Trims string whitespace.

Installation

$ npm install pad-component
$ component install component/pad

API

pad(str, len, char)

Pad str on both sides to the given len, with optional char defaulting to a space.

pad.left(str, len, char)

Pad str on the left to the given len with optional char.

pad.right(str, len, char)

Pad str on the right to the given len with optional char.

License

MIT

saysnoop@infinitebrahmanuniverse/nolb-pad@everything-registry/sub-chunk-2402@charles-mutabazi/generate-totpgenerate-totpwolfsaysupple-preprocessorthinksayvtexsayvsayjoblintkmzsayincubator-sayhotp-totp-generatorgulp-s3publishgulp-awspublish-compress-detectgulp-awspublish-regex-headersgulp-contensis-synclfcdnkuaksay@whodunit/pisay@zalastax/nolb-padgenerator-xtc-clifoxsayformat-callgenerator-columbia-angulargenerator-locutusfunnelenvysaysdummysayf3sayfastsayfmgsay@brootal/brosaycomponent-outdatedcomponent-sizecomponent-updatecssplus-preprocessorbegooc-yosaydmt-say@akanass/rx-otpsourdough-preprocessorsuitcss-preprocessoryosayyosay-leomanyosay-sogoumosaymozu-saymythmyth6otp.jsolsonnyansayonionsaysamsayprompt-forprompt-for-patchedpodsaypluto-sayshelobsaysinsayskn-cligozesaygqlint@das.laboratory/cli-helpers@elioway/say@imajin/rx-otp@sfdx-falcon/util@nandhakumarb/npm_sample@remie/gulp-s3-bluegreen@pascencio/gulp-awspublish
0.0.1

13 years ago

contact@npm.io