enlarge

0.0.2 • Public • Published

enlarge npm version

Dead simple string padding module with a funny name.

Most important feature: I'm not taking this down from npm (except for a DMCA takedown from PornHub :-D)

Installation

npm install enlarge

Examples

var enlarge = require('enlarge');
var test = 'stuff';

enlarge(test, 7); // gives back '  stuff'
enlarge(test, 7, '@') // gives back '@@stuff'

A bit of history

Read this.

I just wanted to write my own implementation of a string padding module for NodeJS.

Package Sidebar

Install

npm i enlarge

Weekly Downloads

3

Version

0.0.2

License

MIT

Last publish

Collaborators

  • dottorblaster