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-preprocessorthinksayvtexsayvsay@das.laboratory/cli-helpersjoblintkmzsaysourdough-preprocessorsuitcss-preprocessor@akanass/rx-otp@brootal/brosayyosayyosay-leomanyosay-sogou@elioway/say@nandhakumarb/npm_sample@imajin/rx-otp@pascencio/gulp-awspublish@remie/gulp-s3-bluegreenmosaymozu-saymythmyth6otp.jsolsonnyansayonionsaysamsayprompt-forprompt-for-patchedpodsaypluto-sayshelobsaysinsayskn-cligozesaygqlintincubator-sayhotp-totp-generatorgulp-s3publishgulp-awspublish-compress-detectgulp-awspublish-regex-headersgulp-contensis-synclfcdnkuaksay@whodunit/pisay@zalastax/nolb-padcomponent-outdatedcomponent-sizecomponent-updatecssplus-preprocessorbegooc-yosaydmt-saydummysayf3sayfastsayfmgsayfoxsayformat-callgenerator-columbia-angulargenerator-locutusfunnelenvysaysgenerator-xtc-cli@sfdx-falcon/util
0.0.1

13 years ago

contact@npm.io