JSPM

string-pad

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q24721F
  • License MIT

string left/right/middle pad

Package Exports

  • string-pad

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (string-pad) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

String LEFT/RIGHT/MIDDLE Pad

How to fuck a powerful interest group? just push infinite blocks to his hole.

##Engines greater that Node v4.X.X

##Example

var pad = new stringPad('zhang', 11, '-');
console.log(pad.toLeft());
console.log(pad.toRight());
console.log(pad.toMiddle());

// -------zhang
// zhang-------
// zh-------ang