{"_id":"node-print","_rev":"15-46972b0a9bf134227f7781bb0bd97d43","name":"node-print","description":"Print Tool","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"node-print","title":"Print","description":"Print Tool","version":"0.0.1","homepage":"https://github.com/nuysoft/node-print","keywords":["print","printf","color","date","table"],"author":{"name":"nuysoft@gmail.com"},"engines":{"node":""},"dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/nuysoft/node-print.git"},"main":"./print.js","licenses":[{"type":"MIT","url":"https://github.com/nuysoft/node-print/blob/master/README.md"}],"readme":"# Print Tool\n\n1. printf in JavaScript\n2. Prettify log's color\n3. Prettify JSONArray to table\n4. Simple date format\n\n## printf in JavaScript\n\n    // syntax\n    exports.pf(format, args)\n    format\n        %-ms    - String\n        %-m.nd  - Number (both integer and float)\n        %-mj    - JSON\n\n    // examples\n    print.pf('%s %10s %-10s %10s', 1, 1, 12345, '1');\n    print.pf('%s %10s %-10s %10s', 2, 12, 1234, '123');\n    print.pf('%s %10s %-10s %10s', 3, 123, 123, '123456');\n    print.pf('%s %10s %-10s %10s', 4, 1234, 12, '123456789');\n    print.pf('%s %10s %-10s %10s', 5, 12345, 1, '1234567890');\n    print.pf('%s %10.1d %-10s %10s', 6, 1.123, 123456, '1234567890123');\n    print.pf('%s %3s %3s %3s', 7, 1234, 12345, 123456);\n\n    // out\n    1          1 12345               1\n    2         12 1234              123\n    3        123 123            123456\n    4       1234 12          123456789\n    5      12345 1          1234567890\n    6        1.1 123456     1234567890123\n    7 1234 12345 123456\n\n## Prettify log's color\n    \n    // examples\n    var out = 'http://nuysoft.com/ nuysoft@gmail.com';\n    // \n    console.log(out.red);\n    print.red(out);\n    print.color('red', out);\n    // \n    print.bold(out);\n    print.italic(out);\n    print.underline(out);\n    print.inverse(out);\n    print.white(out);\n    print.grey(out);\n    print.black(out);\n    print.blue(out);\n    print.cyan(out);\n    print.green(out);\n    print.magenta(out);\n    print.red(out);\n    print.yellow(out);\n\n## Prettify JSONArray to table\n    \n    // examples\n    var list = [\n        { id: 1, foo: 'f', bar: 'barbarbarbar' },\n        { id: 2, foo: 'foo', bar: 'barbar' },\n        { id: 3, foo: 'foofoo', bar: 'bar' },\n        { id: 4, foo: 'foofoofoofoo', bar: 'b', fb: 'foobar' }\n    ];\n    print.pt(list);\n\n    // out\n    +----+--------------+--------------+-----------+\n    | id | foo          | bar          | fb        |\n    +----+--------------+--------------+-----------+\n    | 1  | f            | barbarbarbar | undefined |\n    | 2  | foo          | barbar       | undefined |\n    | 3  | foofoo       | bar          | undefined |\n    | 4  | foofoofoofoo | b            | foobar    |\n    +----+--------------+--------------+-----------+\n\n## Simple date format\n\n### Pattern Letters\n\n    Format  Description                                                 Example\n    ------- ----------------------------------------------------------- -------\n    yyyy    A full numeric representation of a year, 4 digits           1999 or 2003\n    yy      A two digit representation of a year                        99 or 03\n    y       A two digit representation of a year                        99 or 03\n    MM      Numeric representation of a month, with leading zeros       01 to 12\n    M       Numeric representation of a month, without leading zeros    1 to 12\n    dd      Day of the month, 2 digits with leading zeros               01 to 31\n    d       Day of the month without leading zeros                      1 to 31\n    HH      24-hour format of an hour with leading zeros                00 to 23\n    H       24-hour format of an hour without leading zeros             0 to 23\n    hh      12-hour format of an hour without leading zeros             1 to 12\n    h       12-hour format of an hour with leading zeros                01 to 12\n    mm      Minutes, with leading zeros                                 00 to 59\n    m       Minutes, without leading zeros                              0 to 59\n    ss      Seconds, with leading zeros                                 00 to 59\n    s       Seconds, without leading zeros                              0 to 59\n    SS      Milliseconds, with leading zeros                            000 to 999\n    S       Milliseconds, without leading zeros                         0 to 999\n    A       Uppercase Ante meridiem and Post meridiem                   AM or PM\n    a       Lowercase Ante meridiem and Post meridiem                   am or pm\n\n### Examples\n\n    print.pln(new Date(), 'yyyy-MM-dd A HH:mm:ss');\n    print.pln(new Date(), 'yyyy-MM-dd a HH:mm:ss');\n    print.pln(new Date(), 'yy-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-M-d H:m:s');\n\n","_id":"node-print@0.0.1","dist":{"shasum":"11962afc864396a713952f5beb05ee62643c5f10","tarball":"https://registry.npmjs.org/node-print/-/node-print-0.0.1.tgz","integrity":"sha512-zE0gMdFVjKsRPJsxmiAC18XYznB413VlgC5NfRMfl9hjvfFOiVEcuVTepYimHqi6+H47Oehg8jgCyLzvcWoGWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBY6K1zdn0JayahHBdbzfZk2TerFh4tUc22e7RgUPmT/AiAxPqnTWOp3eQp4wjVb370fCwToPNyxOa/5go0vDarUiA=="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"nuysoft","email":"nuysoft@gmail.com"},"maintainers":[{"name":"nuysoft","email":"nuysoft@gmail.com"}]},"0.0.2":{"name":"node-print","title":"Print","description":"Print Tool","version":"0.0.2","homepage":"https://github.com/nuysoft/node-print","keywords":["print","printf","color","date","table"],"author":{"name":"nuysoft@gmail.com"},"engines":{"node":""},"dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/nuysoft/node-print.git"},"main":"./print.js","licenses":[{"type":"MIT","url":"https://github.com/nuysoft/node-print/blob/master/README.md"}],"readme":"# Print Tool\n\n1. printf in JavaScript\n2. Prettify log's color\n3. Prettify JSONArray to table\n4. Simple date format\n\n## Installation\n\n    npm install node-print\n\n\n## printf in JavaScript\n\n    // syntax\n    exports.pf(format, args)\n    format\n        %-ms    - String\n        %-m.nd  - Number (both integer and float)\n        %-mj    - JSON\n\n    // examples\n    print.pf('%s %10s %-10s %10s', 1, 1, 12345, '1');\n    print.pf('%s %10s %-10s %10s', 2, 12, 1234, '123');\n    print.pf('%s %10s %-10s %10s', 3, 123, 123, '123456');\n    print.pf('%s %10s %-10s %10s', 4, 1234, 12, '123456789');\n    print.pf('%s %10s %-10s %10s', 5, 12345, 1, '1234567890');\n    print.pf('%s %10.1d %-10s %10s', 6, 1.123, 123456, '1234567890123');\n    print.pf('%s %3s %3s %3s', 7, 1234, 12345, 123456);\n\n    // out\n    1          1 12345               1\n    2         12 1234              123\n    3        123 123            123456\n    4       1234 12          123456789\n    5      12345 1          1234567890\n    6        1.1 123456     1234567890123\n    7 1234 12345 123456\n\n## Prettify log's color\n    \n    // examples\n    var out = 'http://nuysoft.com/ nuysoft@gmail.com';\n    // \n    console.log(out.red);\n    print.red(out);\n    print.color('red', out);\n    // \n    print.bold(out);\n    print.italic(out);\n    print.underline(out);\n    print.inverse(out);\n    print.white(out);\n    print.grey(out);\n    print.black(out);\n    print.blue(out);\n    print.cyan(out);\n    print.green(out);\n    print.magenta(out);\n    print.red(out);\n    print.yellow(out);\n\n## Prettify JSONArray to table\n    \n    // examples\n    var list = [\n        { id: 1, foo: 'f', bar: 'barbarbarbar' },\n        { id: 2, foo: 'foo', bar: 'barbar' },\n        { id: 3, foo: 'foofoo', bar: 'bar' },\n        { id: 4, foo: 'foofoofoofoo', bar: 'b', fb: 'foobar' }\n    ];\n    print.pt(list);\n\n    // out\n    +----+--------------+--------------+-----------+\n    | id | foo          | bar          | fb        |\n    +----+--------------+--------------+-----------+\n    | 1  | f            | barbarbarbar | undefined |\n    | 2  | foo          | barbar       | undefined |\n    | 3  | foofoo       | bar          | undefined |\n    | 4  | foofoofoofoo | b            | foobar    |\n    +----+--------------+--------------+-----------+\n\n## Simple date format\n\n### Pattern Letters\n\n    Format  Description                                                 Example\n    ------- ----------------------------------------------------------- -------\n    yyyy    A full numeric representation of a year, 4 digits           1999 or 2003\n    yy      A two digit representation of a year                        99 or 03\n    y       A two digit representation of a year                        99 or 03\n    MM      Numeric representation of a month, with leading zeros       01 to 12\n    M       Numeric representation of a month, without leading zeros    1 to 12\n    dd      Day of the month, 2 digits with leading zeros               01 to 31\n    d       Day of the month without leading zeros                      1 to 31\n    HH      24-hour format of an hour with leading zeros                00 to 23\n    H       24-hour format of an hour without leading zeros             0 to 23\n    hh      12-hour format of an hour without leading zeros             1 to 12\n    h       12-hour format of an hour with leading zeros                01 to 12\n    mm      Minutes, with leading zeros                                 00 to 59\n    m       Minutes, without leading zeros                              0 to 59\n    ss      Seconds, with leading zeros                                 00 to 59\n    s       Seconds, without leading zeros                              0 to 59\n    SS      Milliseconds, with leading zeros                            000 to 999\n    S       Milliseconds, without leading zeros                         0 to 999\n    A       Uppercase Ante meridiem and Post meridiem                   AM or PM\n    a       Lowercase Ante meridiem and Post meridiem                   am or pm\n\n### Examples\n\n    print.pln(new Date(), 'yyyy-MM-dd A HH:mm:ss');\n    print.pln(new Date(), 'yyyy-MM-dd a HH:mm:ss');\n    print.pln(new Date(), 'yy-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-M-d H:m:s');\n\n","_id":"node-print@0.0.2","dist":{"shasum":"301cef363504fbd3320798c736e8dcb3dc200d4f","tarball":"https://registry.npmjs.org/node-print/-/node-print-0.0.2.tgz","integrity":"sha512-oTn7hiA3rQqK+xhcOT5jK74q+Fmqm/kg0NFI8OYt+Fg4aqIGY7Tolzhq31HxLkoyr7pZZSP4LLeUVNWo88/deg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMzPQAUqEU9jYPfDe7iGQFBLcDXPAXwsgZe4CLBFoJWAiAqKUE+prMX79RU5/JtEyclRc+6vDb/o4lXyryIK1BCQQ=="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"nuysoft","email":"nuysoft@gmail.com"},"maintainers":[{"name":"nuysoft","email":"nuysoft@gmail.com"}]},"0.0.3":{"name":"node-print","title":"Print","description":"Print Tool","version":"0.0.3","homepage":"https://github.com/nuysoft/node-print","keywords":["print","printf","color","date","table"],"author":{"name":"nuysoft@gmail.com"},"engines":{"node":""},"dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/nuysoft/node-print.git"},"main":"./print.js","licenses":[{"type":"MIT","url":"https://github.com/nuysoft/node-print/blob/master/README.md"}],"readme":"# Print Tool\n\n1. printf in JavaScript\n2. Prettify log's color\n3. Prettify JSONArray to table\n4. Simple date format\n\n## Installation\n\n    npm install node-print\n\n\n## printf in JavaScript\n\n    // syntax\n    exports.pf(format, args)\n    format\n        %-ms    - String\n        %-m.nd  - Number (both integer and float)\n        %-mj    - JSON\n\n    // examples\n    print.pf('%s %10s %-10s %10s', 1, 1, 12345, '1');\n    print.pf('%s %10s %-10s %10s', 2, 12, 1234, '123');\n    print.pf('%s %10s %-10s %10s', 3, 123, 123, '123456');\n    print.pf('%s %10s %-10s %10s', 4, 1234, 12, '123456789');\n    print.pf('%s %10s %-10s %10s', 5, 12345, 1, '1234567890');\n    print.pf('%s %10.1d %-10s %10s', 6, 1.123, 123456, '1234567890123');\n    print.pf('%s %3s %3s %3s', 7, 1234, 12345, 123456);\n\n    // out\n    1          1 12345               1\n    2         12 1234              123\n    3        123 123            123456\n    4       1234 12          123456789\n    5      12345 1          1234567890\n    6        1.1 123456     1234567890123\n    7 1234 12345 123456\n\n## Prettify log's color\n    \n    // examples\n    var out = 'http://nuysoft.com/ nuysoft@gmail.com';\n    // \n    console.log(out.red);\n    print.red(out);\n    print.color('red', out);\n    // \n    print.bold(out);\n    print.italic(out);\n    print.underline(out);\n    print.inverse(out);\n    print.white(out);\n    print.grey(out);\n    print.black(out);\n    print.blue(out);\n    print.cyan(out);\n    print.green(out);\n    print.magenta(out);\n    print.red(out);\n    print.yellow(out);\n\n## Prettify JSONArray to table\n    \n    // examples\n    var list = [\n        { id: 1, foo: 'f', bar: 'barbarbarbar' },\n        { id: 2, foo: 'foo', bar: 'barbar' },\n        { id: 3, foo: 'foofoo', bar: 'bar' },\n        { id: 4, foo: 'foofoofoofoo', bar: 'b', fb: 'foobar' }\n    ];\n    print.pt(list);\n\n    // out\n    +----+--------------+--------------+-----------+\n    | id | foo          | bar          | fb        |\n    +----+--------------+--------------+-----------+\n    | 1  | f            | barbarbarbar | undefined |\n    | 2  | foo          | barbar       | undefined |\n    | 3  | foofoo       | bar          | undefined |\n    | 4  | foofoofoofoo | b            | foobar    |\n    +----+--------------+--------------+-----------+\n\n## Simple date format\n\n### Pattern Letters\n\n    Format  Description                                                 Example\n    ------- ----------------------------------------------------------- -------\n    yyyy    A full numeric representation of a year, 4 digits           1999 or 2003\n    yy      A two digit representation of a year                        99 or 03\n    y       A two digit representation of a year                        99 or 03\n    MM      Numeric representation of a month, with leading zeros       01 to 12\n    M       Numeric representation of a month, without leading zeros    1 to 12\n    dd      Day of the month, 2 digits with leading zeros               01 to 31\n    d       Day of the month without leading zeros                      1 to 31\n    HH      24-hour format of an hour with leading zeros                00 to 23\n    H       24-hour format of an hour without leading zeros             0 to 23\n    hh      12-hour format of an hour without leading zeros             1 to 12\n    h       12-hour format of an hour with leading zeros                01 to 12\n    mm      Minutes, with leading zeros                                 00 to 59\n    m       Minutes, without leading zeros                              0 to 59\n    ss      Seconds, with leading zeros                                 00 to 59\n    s       Seconds, without leading zeros                              0 to 59\n    SS      Milliseconds, with leading zeros                            000 to 999\n    S       Milliseconds, without leading zeros                         0 to 999\n    A       Uppercase Ante meridiem and Post meridiem                   AM or PM\n    a       Lowercase Ante meridiem and Post meridiem                   am or pm\n\n### Examples\n\n    print.pln(new Date(), 'yyyy-MM-dd A HH:mm:ss');\n    print.pln(new Date(), 'yyyy-MM-dd a HH:mm:ss');\n    print.pln(new Date(), 'yy-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-M-d H:m:s');\n\n","_id":"node-print@0.0.3","dist":{"shasum":"62b235f003766190f43b9a1e27f19ff48afc8773","tarball":"https://registry.npmjs.org/node-print/-/node-print-0.0.3.tgz","integrity":"sha512-lSYFSRS5C7le7xb6oMoNvdyLs/jrviIkmqeL5nMiKMo8co74UO7pusZcdlV58UrdWu1SlVFPcgy/9hV1GxxBdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDufjWqAangnYjjjKf0a2zG5EZE3q/OKyZ0cTqKdG98IgIgcElV3hlVXH5+ba77GeUBBzkQ3PpJGmWg9qgQGpLQTGg="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"nuysoft","email":"nuysoft@gmail.com"},"maintainers":[{"name":"nuysoft","email":"nuysoft@gmail.com"}]},"0.0.4":{"name":"node-print","title":"Print","description":"Print Tool","version":"0.0.4","homepage":"https://github.com/nuysoft/node-print","keywords":["print","printf","color","date","table"],"author":{"name":"nuysoft@gmail.com"},"engines":{"node":""},"dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/nuysoft/node-print.git"},"main":"./print.js","licenses":[{"type":"MIT","url":"https://github.com/nuysoft/node-print/blob/master/README.md"}],"readme":"# Print Tool\n\n1. printf in JavaScript\n2. Prettify log's color\n3. Prettify JSONArray to table\n4. Simple date format\n\n## Installation\n\n    npm install node-print\n\n\n## printf in JavaScript\n\n    // syntax\n    exports.pf(format, args)\n    format\n        %-ms    - String\n        %-m.nd  - Number (both integer and float)\n        %-mj    - JSON\n\n    // examples\n    print.pf('%s %10s %-10s %10s', 1, 1, 12345, '1');\n    print.pf('%s %10s %-10s %10s', 2, 12, 1234, '123');\n    print.pf('%s %10s %-10s %10s', 3, 123, 123, '123456');\n    print.pf('%s %10s %-10s %10s', 4, 1234, 12, '123456789');\n    print.pf('%s %10s %-10s %10s', 5, 12345, 1, '1234567890');\n    print.pf('%s %10.1d %-10s %10s', 6, 1.123, 123456, '1234567890123');\n    print.pf('%s %3s %3s %3s', 7, 1234, 12345, 123456);\n\n    // out\n    1          1 12345               1\n    2         12 1234              123\n    3        123 123            123456\n    4       1234 12          123456789\n    5      12345 1          1234567890\n    6        1.1 123456     1234567890123\n    7 1234 12345 123456\n\n## Prettify log's color\n    \n    // examples\n    var out = 'http://nuysoft.com/ nuysoft@gmail.com';\n    // \n    console.log(out.red);\n    print.red(out);\n    print.color('red', out);\n    // \n    print.bold(out);\n    print.italic(out);\n    print.underline(out);\n    print.inverse(out);\n    print.white(out);\n    print.grey(out);\n    print.black(out);\n    print.blue(out);\n    print.cyan(out);\n    print.green(out);\n    print.magenta(out);\n    print.red(out);\n    print.yellow(out);\n\n## Prettify JSONArray to table\n    \n    // examples\n    var list = [\n        { id: 1, foo: 'f', bar: 'barbarbarbar' },\n        { id: 2, foo: 'foo', bar: 'barbar' },\n        { id: 3, foo: 'foofoo', bar: 'bar' },\n        { id: 4, foo: 'foofoofoofoo', bar: 'b', fb: 'foobar' }\n    ];\n    print.pt(list);\n\n    // out\n    +----+--------------+--------------+-----------+\n    | id | foo          | bar          | fb        |\n    +----+--------------+--------------+-----------+\n    | 1  | f            | barbarbarbar | undefined |\n    | 2  | foo          | barbar       | undefined |\n    | 3  | foofoo       | bar          | undefined |\n    | 4  | foofoofoofoo | b            | foobar    |\n    +----+--------------+--------------+-----------+\n\n## Simple date format\n\n### Pattern Letters\n\n    Format  Description                                                 Example\n    ------- ----------------------------------------------------------- -------\n    yyyy    A full numeric representation of a year, 4 digits           1999 or 2003\n    yy      A two digit representation of a year                        99 or 03\n    y       A two digit representation of a year                        99 or 03\n    MM      Numeric representation of a month, with leading zeros       01 to 12\n    M       Numeric representation of a month, without leading zeros    1 to 12\n    dd      Day of the month, 2 digits with leading zeros               01 to 31\n    d       Day of the month without leading zeros                      1 to 31\n    HH      24-hour format of an hour with leading zeros                00 to 23\n    H       24-hour format of an hour without leading zeros             0 to 23\n    hh      12-hour format of an hour without leading zeros             1 to 12\n    h       12-hour format of an hour with leading zeros                01 to 12\n    mm      Minutes, with leading zeros                                 00 to 59\n    m       Minutes, without leading zeros                              0 to 59\n    ss      Seconds, with leading zeros                                 00 to 59\n    s       Seconds, without leading zeros                              0 to 59\n    SS      Milliseconds, with leading zeros                            000 to 999\n    S       Milliseconds, without leading zeros                         0 to 999\n    A       Uppercase Ante meridiem and Post meridiem                   AM or PM\n    a       Lowercase Ante meridiem and Post meridiem                   am or pm\n\n### Examples\n\n    print.pln(new Date(), 'yyyy-MM-dd A HH:mm:ss');\n    print.pln(new Date(), 'yyyy-MM-dd a HH:mm:ss');\n    print.pln(new Date(), 'yy-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-M-d H:m:s');\n\n","_id":"node-print@0.0.4","dist":{"shasum":"e64c69886e02e47ceb8964f3ed2bdea514708076","tarball":"https://registry.npmjs.org/node-print/-/node-print-0.0.4.tgz","integrity":"sha512-9CFtSN2IZyfrQMDRIZ4cBcfmrVh2q8/XsP4kOp8FC5OVtnL5dJ8XGqjIsz6C6XAMeUvS660w3SaTsdno1xkK0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQE5tfI3RpoJaZtcJCPfuoHHmVhxpGFEbGH5+dFFq3UAiEAjB3fb08mQB6dwVb/59Rt4yj//c/bCFOMlOHYEaSoVVE="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"nuysoft","email":"nuysoft@gmail.com"},"maintainers":[{"name":"nuysoft","email":"nuysoft@gmail.com"}]}},"readme":"# Print Tool\n\n1. printf in JavaScript\n2. Prettify log's color\n3. Prettify JSONArray to table\n4. Simple date format\n\n## printf in JavaScript\n\n    // syntax\n    exports.pf(format, args)\n    format\n        %-ms    - String\n        %-m.nd  - Number (both integer and float)\n        %-mj    - JSON\n\n    // examples\n    print.pf('%s %10s %-10s %10s', 1, 1, 12345, '1');\n    print.pf('%s %10s %-10s %10s', 2, 12, 1234, '123');\n    print.pf('%s %10s %-10s %10s', 3, 123, 123, '123456');\n    print.pf('%s %10s %-10s %10s', 4, 1234, 12, '123456789');\n    print.pf('%s %10s %-10s %10s', 5, 12345, 1, '1234567890');\n    print.pf('%s %10.1d %-10s %10s', 6, 1.123, 123456, '1234567890123');\n    print.pf('%s %3s %3s %3s', 7, 1234, 12345, 123456);\n\n    // out\n    1          1 12345               1\n    2         12 1234              123\n    3        123 123            123456\n    4       1234 12          123456789\n    5      12345 1          1234567890\n    6        1.1 123456     1234567890123\n    7 1234 12345 123456\n\n## Prettify log's color\n    \n    // examples\n    var out = 'http://nuysoft.com/ nuysoft@gmail.com';\n    // \n    console.log(out.red);\n    print.red(out);\n    print.color('red', out);\n    // \n    print.bold(out);\n    print.italic(out);\n    print.underline(out);\n    print.inverse(out);\n    print.white(out);\n    print.grey(out);\n    print.black(out);\n    print.blue(out);\n    print.cyan(out);\n    print.green(out);\n    print.magenta(out);\n    print.red(out);\n    print.yellow(out);\n\n## Prettify JSONArray to table\n    \n    // examples\n    var list = [\n        { id: 1, foo: 'f', bar: 'barbarbarbar' },\n        { id: 2, foo: 'foo', bar: 'barbar' },\n        { id: 3, foo: 'foofoo', bar: 'bar' },\n        { id: 4, foo: 'foofoofoofoo', bar: 'b', fb: 'foobar' }\n    ];\n    print.pt(list);\n\n    // out\n    +----+--------------+--------------+-----------+\n    | id | foo          | bar          | fb        |\n    +----+--------------+--------------+-----------+\n    | 1  | f            | barbarbarbar | undefined |\n    | 2  | foo          | barbar       | undefined |\n    | 3  | foofoo       | bar          | undefined |\n    | 4  | foofoofoofoo | b            | foobar    |\n    +----+--------------+--------------+-----------+\n\n## Simple date format\n\n### Pattern Letters\n\n    Format  Description                                                 Example\n    ------- ----------------------------------------------------------- -------\n    yyyy    A full numeric representation of a year, 4 digits           1999 or 2003\n    yy      A two digit representation of a year                        99 or 03\n    y       A two digit representation of a year                        99 or 03\n    MM      Numeric representation of a month, with leading zeros       01 to 12\n    M       Numeric representation of a month, without leading zeros    1 to 12\n    dd      Day of the month, 2 digits with leading zeros               01 to 31\n    d       Day of the month without leading zeros                      1 to 31\n    HH      24-hour format of an hour with leading zeros                00 to 23\n    H       24-hour format of an hour without leading zeros             0 to 23\n    hh      12-hour format of an hour without leading zeros             1 to 12\n    h       12-hour format of an hour with leading zeros                01 to 12\n    mm      Minutes, with leading zeros                                 00 to 59\n    m       Minutes, without leading zeros                              0 to 59\n    ss      Seconds, with leading zeros                                 00 to 59\n    s       Seconds, without leading zeros                              0 to 59\n    SS      Milliseconds, with leading zeros                            000 to 999\n    S       Milliseconds, without leading zeros                         0 to 999\n    A       Uppercase Ante meridiem and Post meridiem                   AM or PM\n    a       Lowercase Ante meridiem and Post meridiem                   am or pm\n\n### Examples\n\n    print.pln(new Date(), 'yyyy-MM-dd A HH:mm:ss');\n    print.pln(new Date(), 'yyyy-MM-dd a HH:mm:ss');\n    print.pln(new Date(), 'yy-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-MM-dd HH:mm:ss');\n    print.pln(new Date(), 'y-M-d H:m:s');\n\n","maintainers":[{"name":"nuysoft","email":"nuysoft@gmail.com"}],"time":{"modified":"2022-06-21T18:16:56.375Z","created":"2013-03-17T03:21:55.027Z","0.0.1":"2013-03-17T03:22:00.127Z","0.0.2":"2013-04-26T10:36:53.759Z","0.0.3":"2013-07-30T11:23:17.979Z","0.0.4":"2013-07-30T11:29:45.377Z"},"author":{"name":"nuysoft@gmail.com"},"repository":{"type":"git","url":"git://github.com/nuysoft/node-print.git"},"users":{"sapjax":true,"feryardiant":true,"indooorsman":true}}