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-pad@akanass/rx-otpsourdough-preprocessorsuitcss-preprocessor@brootal/brosayyosayyosay-leomanyosay-sogou@nandhakumarb/npm_sample@pascencio/gulp-awspublish@remie/gulp-s3-bluegreenmosaymozu-saymythmyth6otp.jsolsonnyansayonionsaysamsayprompt-forprompt-for-patchedpodsaypluto-sayshelobsaysinsayskn-cligozesaygqlintcomponent-outdatedcomponent-sizecomponent-updatecssplus-preprocessorbegooc-yosaydmt-saygenerator-xtc-clifoxsayformat-callgenerator-columbia-angulargenerator-locutusfunnelenvysays@sfdx-falcon/utildummysayf3sayfastsayfmgsay@imajin/rx-otp@elioway/say@das.laboratory/cli-helpers
0.0.1

13 years ago

contact@npm.io