0.0.2 • Published 8 years ago
enlarge v0.0.2
enlarge
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.