Searched refs:ansiAlign (Results 1 – 3 of 3) sorted by relevance
/third_party/node/deps/npm/node_modules/ansi-align/ |
D | index.js | 5 function ansiAlign (text, opts) { function 41 ansiAlign.left = function left (text) { 42 return ansiAlign(text, { align: 'left' }) 45 ansiAlign.center = function center (text) { 46 return ansiAlign(text, { align: 'center' }) 49 ansiAlign.right = function right (text) { 50 return ansiAlign(text, { align: 'right' }) 53 module.exports = ansiAlign
|
D | README.md | 26 var ansiAlign = require('ansi-align') 31 ### `ansiAlign(text, [opts])` 59 ### `ansiAlign.center(text)` 61 Alias for `ansiAlign(text, { align: 'center' })`. 63 ### `ansiAlign.right(text)` 65 Alias for `ansiAlign(text, { align: 'right' })`. 67 ### `ansiAlign.left(text)` 69 Alias for `ansiAlign(text, { align: 'left' })`, which is a no-op.
|
/third_party/node/deps/npm/node_modules/boxen/ |
D | index.js | 7 const ansiAlign = require('ansi-align'); constant 97 text = ansiAlign(text, {align: opts.align});
|