hmp 25a7eb19b1 分包+代理 4 лет назад
..
.npmignore 25a7eb19b1 分包+代理 4 лет назад
History.md 25a7eb19b1 分包+代理 4 лет назад
Makefile 25a7eb19b1 分包+代理 4 лет назад
Readme.md 25a7eb19b1 分包+代理 4 лет назад
component.json 25a7eb19b1 分包+代理 4 лет назад
index.js 25a7eb19b1 分包+代理 4 лет назад
package.json 25a7eb19b1 分包+代理 4 лет назад

Readme.md

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