mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
update
This commit is contained in:
16
node_modules/right-align/index.js
generated
vendored
Normal file
16
node_modules/right-align/index.js
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
/*!
|
||||
* right-align <https://github.com/jonschlinkert/right-align>
|
||||
*
|
||||
* Copyright (c) 2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var align = require('align-text');
|
||||
|
||||
module.exports = function rightAlign(val) {
|
||||
return align(val, function (len, longest) {
|
||||
return longest - len;
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user