{"_id":"@types/text-table","_rev":"2804292","name":"@types/text-table","description":"TypeScript definitions for text-table","dist-tags":{"latest":"0.2.2","ts2.0":"0.2.1","ts2.1":"0.2.1","ts2.2":"0.2.1","ts2.3":"0.2.1","ts2.4":"0.2.1","ts2.5":"0.2.1","ts2.6":"0.2.1","ts2.7":"0.2.1","ts2.8":"0.2.1","ts2.9":"0.2.1","ts3.0":"0.2.1","ts3.1":"0.2.1","ts3.2":"0.2.1","ts3.3":"0.2.1","ts3.4":"0.2.1","ts3.5":"0.2.1","ts3.6":"0.2.2","ts3.7":"0.2.2","ts3.8":"0.2.2","ts3.9":"0.2.2","ts4.0":"0.2.2","ts4.1":"0.2.2","ts4.2":"0.2.2","ts4.3":"0.2.2","ts4.4":"0.2.2","ts4.5":"0.2.2","ts4.6":"0.2.2","ts4.7":"0.2.2","ts4.8":"0.2.2","ts4.9":"0.2.2"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"time":{"modified":"2022-09-01T09:22:44.000Z","created":"2018-05-08T17:12:44.134Z","0.2.2":"2021-07-02T21:44:08.241Z","0.2.1":"2019-04-26T18:25:02.953Z","0.2.0":"2018-05-08T17:12:44.134Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/text-table"},"versions":{"0.2.2":{"name":"@types/text-table","version":"0.2.2","description":"TypeScript definitions for text-table","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/text-table","license":"MIT","contributors":[{"name":"Saad Quadri","url":"https://github.com/saadq","githubUsername":"saadq"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/text-table"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"aadf009e5184c718caaa4134249e034a6a321067cccf61fba97fb9310055efc9","typeScriptVersion":"3.6","_id":"@types/text-table@0.2.2","dist":{"shasum":"774c90cfcfbc8b4b0ebb00fecbe861dc8b1e8e26","size":1879,"noattachment":false,"key":"/@types/text-table/-/@types/text-table-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/text-table/download/@types/text-table-0.2.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/text-table_0.2.2_1625262248113_0.9021588880428113"},"_hasShrinkwrap":false,"publish_time":1625262248241,"_cnpm_publish_time":1625262248241,"_cnpmcore_publish_time":"2021-12-16T21:04:48.764Z"},"0.2.1":{"name":"@types/text-table","version":"0.2.1","description":"TypeScript definitions for text-table","license":"MIT","contributors":[{"name":"Saad Quadri","url":"https://github.com/saadq","githubUsername":"saadq"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/text-table"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"b7a72fe70074d37b908d73d6ff467c6af1b8c21fec88cac7a21d81455cbaa3a4","typeScriptVersion":"2.0","_id":"@types/text-table@0.2.1","dist":{"shasum":"39c4d4a058a82f677392dfd09976e83d9b4c9264","size":1815,"noattachment":false,"key":"/@types/text-table/-/@types/text-table-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/text-table/download/@types/text-table-0.2.1.tgz"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/text-table_0.2.1_1556303102825_0.9239052605925961"},"_hasShrinkwrap":false,"publish_time":1556303102953,"_cnpm_publish_time":1556303102953,"_cnpmcore_publish_time":"2021-12-16T21:04:49.460Z"},"0.2.0":{"name":"@types/text-table","version":"0.2.0","description":"TypeScript definitions for text-table","license":"MIT","contributors":[{"name":"Saad Quadri","url":"https://github.com/saadq","githubUsername":"saadq"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"cf997e3bc039786b820b94cda59574eedcb305d94f7a5e67e3872ddd5b92076a","typeScriptVersion":"2.0","_id":"@types/text-table@0.2.0","dist":{"shasum":"cec067b522598bbb37186375b834ac30411c9af6","size":1801,"noattachment":false,"key":"/@types/text-table/-/@types/text-table-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/text-table/download/@types/text-table-0.2.0.tgz"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/text-table_0.2.0_1525799563857_0.5530208476677148"},"_hasShrinkwrap":false,"publish_time":1525799564134,"_cnpm_publish_time":1525799564134,"_cnpmcore_publish_time":"2021-12-16T21:04:49.689Z"}},"readme":"# Installation\r\n> `npm install --save @types/text-table`\r\n\r\n# Summary\r\nThis package contains type definitions for text-table (https://github.com/substack/text-table).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/text-table.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/text-table/index.d.ts)\r\n````ts\r\n// Type definitions for text-table 0.2\n// Project: https://github.com/substack/text-table\n// Definitions by: Saad Quadri <https://github.com/saadq>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/**\n * Generates borderless text table strings suitable for printing to stdout.\n */\ndeclare function table(\n    /** An array of arrays containing strings, numbers, or other printable values. */\n    rows: Array<Array<{}>>,\n\n    /** A configuration object to customize table output. */\n    options?: table.Options\n): string;\n\ndeclare namespace table {\n    interface Options {\n        /** Separator to use between columns, (default: ' '). */\n        hsep?: string | undefined;\n\n        /** An array of alignment types for each column, default ['l','l',...]. */\n        align?: Array<'l' | 'r' | 'c' | '.' | null | undefined> | undefined;\n\n        /** A callback function to use when calculating the string length. */\n        stringLength?(str: string): number;\n    }\n}\n\nexport = table;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 02 Jul 2021 21:32:20 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Saad Quadri](https://github.com/saadq).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/text-table","license":"MIT"}