mirror of
https://github.com/abrendan/MicDropMessages.git
synced 2025-08-25 22:12:02 +02:00
Initial commit
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