{"_id":"echo-cli","_rev":"13-a572ca6d185b4163f13d8b9809f4173b","name":"echo-cli","description":"A cross-platform CLI for outputting text to the command line. Supports escape sequences","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.2":{"name":"echo-cli","version":"1.0.2","description":"A cross-platform CLI for outputting text to the command line. Supports escape sequences","main":"dist/index.js","bin":{"echo-cli":"dist/index.js"},"scripts":{"build":"babel src -d dist","pretest":"npm run build","test":"ava test/index.js","prepublish":"npm run test","coverage":"nyc --reporter=text-lcov npm test","precoverage-coveralls":"nyc npm test","coverage-coveralls":"nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/iamakulov/echo-cli.git"},"author":{"name":"Ivan Akulov","email":"mail@iamakulov.com","url":"http://iamakulov.com/"},"license":"MIT","bugs":{"url":"https://github.com/iamakulov/echo-cli/issues"},"keywords":["echo","cli","print","cross-platform"],"homepage":"https://github.com/iamakulov/echo-cli#readme","dependencies":{"meow":"^3.7.0"},"devDependencies":{"ava":"^0.14.0","babel-cli":"^6.7.5","babel-preset-es2015":"^6.6.0","coveralls":"^2.11.9","nyc":"^6.4.0","unescape-js":"^1.0.3"},"babel":{"presets":["es2015"]},"gitHead":"12d716003751aaee8139ca8d0c8f3dfd7fba8f62","_id":"echo-cli@1.0.2","_shasum":"22b7fbd6073c4c7f7ed106d076799b7a09775267","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"iamakulov","email":"mail@iamakulov.com"},"dist":{"shasum":"22b7fbd6073c4c7f7ed106d076799b7a09775267","tarball":"https://registry.npmjs.org/echo-cli/-/echo-cli-1.0.2.tgz","integrity":"sha512-0J8ojDCIQEWJZM2UqJhH7dIx81uysXlXIZvPWk5tujxl28R0fBUbYQinROaq61l94zZuhF8yceTYf6WI7QGhyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICUCF7IDJAlJFIwnCmBLgWCfs03iWl3ZlFTot1ahVbADAiA7vGW+23b42XHoirSvihxnFoj4UAiUl5z9KqNZcpD2bw=="}]},"maintainers":[{"name":"iamakulov","email":"mail@iamakulov.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/echo-cli-1.0.2.tgz_1460814960134_0.8851613176520914"},"directories":{}},"1.0.3":{"name":"echo-cli","version":"1.0.3","description":"A cross-platform CLI for outputting text to the command line. Supports escape sequences","main":"dist/index.js","bin":{"echo-cli":"dist/index.js"},"scripts":{"build":"babel src -d dist","pretest":"npm run build","test":"ava test/index.js","prepublish":"npm run test","coverage":"nyc npm test","precoverage-coveralls":"npm run coverage","coverage-coveralls":"nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/iamakulov/echo-cli.git"},"author":{"name":"Ivan Akulov","email":"mail@iamakulov.com","url":"http://iamakulov.com/"},"license":"MIT","bugs":{"url":"https://github.com/iamakulov/echo-cli/issues"},"keywords":["echo","cli","print","cross-platform"],"homepage":"https://github.com/iamakulov/echo-cli#readme","dependencies":{"meow":"^3.7.0"},"devDependencies":{"ava":"^0.14.0","babel-cli":"^6.7.5","babel-preset-es2015":"^6.6.0","coveralls":"^2.11.9","nyc":"^6.4.0","unescape-js":"^1.0.3"},"babel":{"presets":["es2015"]},"gitHead":"ad1663563763a8b97cacec2460b7e8c766a0d9b5","_id":"echo-cli@1.0.3","_shasum":"87da7c8003a2650e641258f1b33d73ffccb24a4f","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"iamakulov","email":"mail@iamakulov.com"},"dist":{"shasum":"87da7c8003a2650e641258f1b33d73ffccb24a4f","tarball":"https://registry.npmjs.org/echo-cli/-/echo-cli-1.0.3.tgz","integrity":"sha512-ZxKnb2oAJ8qnWN7ZzgApdZKbkH3Jpzus5YD5Tj1aqexA9wagl8BPrOoH5gRvxHF0b4Ld2bJT5h3uU1tgy0nCSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+HtDL053V5iboFaKo0/NmUImqk3Kq+QY9BrK2kJKwpAiEAsPaoNnenn7SluGWr5PidjRzCPiHB3lXLcHDRigL56mU="}]},"maintainers":[{"name":"iamakulov","email":"mail@iamakulov.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/echo-cli-1.0.3.tgz_1460816494015_0.02574488427489996"},"directories":{}},"1.0.4":{"name":"echo-cli","version":"1.0.4","description":"A cross-platform CLI for outputting text to the command line. Supports escape sequences","main":"dist/index.js","bin":{"echo-cli":"dist/index.js"},"scripts":{"build":"babel src -d dist","pretest":"npm run build","test":"ava test/index.js","prepublish":"npm run test","coverage":"nyc npm test","precoverage-coveralls":"npm run coverage","coverage-coveralls":"nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/iamakulov/echo-cli.git"},"author":{"name":"Ivan Akulov","email":"mail@iamakulov.com","url":"http://iamakulov.com/"},"license":"MIT","bugs":{"url":"https://github.com/iamakulov/echo-cli/issues"},"keywords":["echo","cli","print","cross-platform"],"homepage":"https://github.com/iamakulov/echo-cli#readme","dependencies":{"meow":"^3.7.0"},"devDependencies":{"ava":"^0.14.0","babel-cli":"^6.7.5","babel-preset-es2015":"^6.6.0","coveralls":"^2.11.9","nyc":"^6.4.0","unescape-js":"^1.0.3"},"babel":{"presets":["es2015"]},"gitHead":"0e98c30d067da98dbdad79d18cba11af8cf318bd","_id":"echo-cli@1.0.4","_shasum":"4931ac7ac30102193ec521972a3b011cc1cbe9c7","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"iamakulov","email":"mail@iamakulov.com"},"dist":{"shasum":"4931ac7ac30102193ec521972a3b011cc1cbe9c7","tarball":"https://registry.npmjs.org/echo-cli/-/echo-cli-1.0.4.tgz","integrity":"sha512-YA8shRURxVL5NFQ7FatXTwYrUOuN7WM1NuBucOqD2rUVr3AzowsinwqDPUntKlFGeqqd3sfBvXjRhTMtIKwtBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICX4U+XG+aMbmXQ17U07BTOHtN6ArjhCzlLj58/wprKxAiA7tSGvMUo7/jde3H3pi66xLtqkTablzA4YhN3RWX9YcA=="}]},"maintainers":[{"name":"iamakulov","email":"mail@iamakulov.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/echo-cli-1.0.4.tgz_1460816616261_0.6236635157838464"},"directories":{}},"1.0.5":{"name":"echo-cli","version":"1.0.5","description":"A cross-platform CLI for outputting text to the command line. Supports escape sequences","main":"dist/index.js","bin":{"echo-cli":"dist/index.js"},"scripts":{"build":"babel src -d dist","pretest":"npm run build","test":"ava test/index.js","prepublish":"npm run test","coverage":"nyc npm test","precoverage-coveralls":"npm run coverage","coverage-coveralls":"nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/iamakulov/echo-cli.git"},"author":{"name":"Ivan Akulov","email":"mail@iamakulov.com","url":"http://iamakulov.com/"},"license":"MIT","bugs":{"url":"https://github.com/iamakulov/echo-cli/issues"},"keywords":["echo","cli","print","cross-platform"],"homepage":"https://github.com/iamakulov/echo-cli#readme","dependencies":{"meow":"^3.7.0"},"devDependencies":{"ava":"^0.14.0","babel-cli":"^6.7.5","babel-preset-es2015":"^6.6.0","coveralls":"^2.11.9","nyc":"^6.4.0","unescape-js":"^1.0.3"},"babel":{"presets":["es2015"]},"gitHead":"6b67f8595404c67d3b78ddb275ad14da160d55f7","_id":"echo-cli@1.0.5","_shasum":"efeffd2594462bdce22bbf71d912f620e2857806","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"iamakulov","email":"mail@iamakulov.com"},"dist":{"shasum":"efeffd2594462bdce22bbf71d912f620e2857806","tarball":"https://registry.npmjs.org/echo-cli/-/echo-cli-1.0.5.tgz","integrity":"sha512-7tJKrG6okBQ2Ms6DsrXq1yvj9rLRnF5Iey1U1JnzNiqTFVOQHATmdiJLh0rtv0y4uBT50OjPGs4bkBijIOLvIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjq4QvGtV3pWqJUmgti27GeHV1akcLCHHUJfbSj87MvAiEA/Ze7aZr4pIJCMHKM04+M67Q9fSsf7O5ugwXyR0bJ8oM="}]},"maintainers":[{"name":"iamakulov","email":"mail@iamakulov.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/echo-cli-1.0.5.tgz_1460818756199_0.2642264470923692"},"directories":{}},"1.0.6":{"name":"echo-cli","version":"1.0.6","description":"A cross-platform CLI for outputting text to the command line. Supports escape sequences","main":"dist/index.js","bin":{"echo-cli":"dist/index.js"},"scripts":{"build":"babel src -d dist","pretest":"npm run build","test":"ava test/index.js","prepublish":"npm run test","coverage":"nyc npm test","precoverage-coveralls":"npm run coverage","coverage-coveralls":"nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/iamakulov/echo-cli.git"},"author":{"name":"Ivan Akulov","email":"mail@iamakulov.com","url":"http://iamakulov.com/"},"license":"MIT","bugs":{"url":"https://github.com/iamakulov/echo-cli/issues"},"keywords":["echo","cli","print","cross-platform"],"homepage":"https://github.com/iamakulov/echo-cli#readme","dependencies":{"meow":"^3.7.0","unescape-js":"^1.0.3"},"devDependencies":{"ava":"^0.14.0","babel-cli":"^6.7.5","babel-preset-es2015":"^6.6.0","coveralls":"^2.11.9","nyc":"^6.4.0"},"babel":{"presets":["es2015"]},"gitHead":"eed0982132245f12368e21632034aefc6f04a1fb","_id":"echo-cli@1.0.6","_shasum":"9ea47e1a897f2fde82311d352e4657e24a58b49c","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"iamakulov","email":"mail@iamakulov.com"},"dist":{"shasum":"9ea47e1a897f2fde82311d352e4657e24a58b49c","tarball":"https://registry.npmjs.org/echo-cli/-/echo-cli-1.0.6.tgz","integrity":"sha512-A1wY9ywrHZGpm/GjV5S5P8LmJOVMTBT4SBrt78q1pBeq1lLcQhF424tQQs59rXKByf3h5kMtpEGxXj6QX9+GEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBvneoNBcriZm+H+YuEMFonK/8KxeoFfYji9HkI/neKAiEAgFc0ZjdE5vmEm9rs09I77D9vv/L2KQNicwIH1QfYicM="}]},"maintainers":[{"name":"iamakulov","email":"mail@iamakulov.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/echo-cli-1.0.6.tgz_1460819340439_0.5756794379558414"},"directories":{}},"1.0.8":{"name":"echo-cli","version":"1.0.8","description":"A cross-platform CLI for outputting text to the command line. Supports escape sequences","main":"dist/index.js","bin":{"echo-cli":"dist/index.js"},"scripts":{"build":"babel src -d dist","pretest":"npm run build","test":"ava test/index.js","prepublish":"npm run test","coverage":"nyc npm test","precoverage-coveralls":"npm run coverage","coverage-coveralls":"nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/iamakulov/echo-cli.git"},"author":{"name":"Ivan Akulov","email":"mail@iamakulov.com","url":"http://iamakulov.com/"},"license":"MIT","bugs":{"url":"https://github.com/iamakulov/echo-cli/issues"},"keywords":["echo","cli","print","cross-platform"],"homepage":"https://github.com/iamakulov/echo-cli#readme","dependencies":{"meow":"^3.7.0","unescape-js":"^1.0.3"},"devDependencies":{"ava":"^0.14.0","babel-cli":"^6.7.5","babel-preset-es2015":"^6.6.0","coveralls":"^2.11.9","nyc":"^6.4.0"},"babel":{"presets":["es2015"]},"gitHead":"94bf6c56be43f5cd839c4797fbded047cbe9698c","_id":"echo-cli@1.0.8","_shasum":"70a45b87f96db08b4543c9895bf2ae82e6910988","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"iamakulov","email":"mail@iamakulov.com"},"dist":{"shasum":"70a45b87f96db08b4543c9895bf2ae82e6910988","tarball":"https://registry.npmjs.org/echo-cli/-/echo-cli-1.0.8.tgz","integrity":"sha512-OZC63J3y2i3Agl02OJ8R/+AAfbWp2l2HC57IPCzRXhK8qNccgMY34lM6juBs0QpDfmEghjVYGHbAnkqSRmLWtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgRJ0JZ1kO2/KesIhblyeikUi2VRqy7S7RtlenMu8d5wIgLeXb/f16kW29/FTeM7Njq3jYV7hATsojFc5zB8XUkkc="}]},"maintainers":[{"name":"iamakulov","email":"mail@iamakulov.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/echo-cli-1.0.8.tgz_1460820357210_0.6706228589173406"},"directories":{}},"2.0.0":{"name":"echo-cli","version":"2.0.0","description":"A cross-platform CLI for outputting text to the command line. Supports escape sequences","main":"dist/index.js","bin":{"echo-cli":"dist/index.js"},"scripts":{"build":"babel src -d dist","pretest":"npm run build","test":"ava test/index.js","prepublish":"npm run test","coverage":"nyc npm test","precoverage-coveralls":"npm run coverage","coverage-coveralls":"nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/iamakulov/echo-cli.git"},"author":{"name":"Ivan Akulov","email":"mail@iamakulov.com","url":"http://iamakulov.com/"},"license":"MIT","bugs":{"url":"https://github.com/iamakulov/echo-cli/issues"},"keywords":["echo","cli","print","cross-platform"],"homepage":"https://github.com/iamakulov/echo-cli#readme","dependencies":{"unescape-js":"^1.0.3"},"devDependencies":{"ava":"^0.14.0","babel-cli":"^6.7.5","babel-preset-es2015":"^6.6.0","coveralls":"^2.11.9","nyc":"^6.4.0"},"babel":{"presets":["es2015"]},"packageManager":"yarn@3.1.1","gitHead":"c75dff50b113cd6593a0badea6a466e60afbde84","_id":"echo-cli@2.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-PHuMIwMiBaO2eNoIEu4s7631xMQCLCbP4HD3z0PIENLPiCViTSpx1MTGd8enYJCM2ldxipAOOAF0IKBSC0reNg==","shasum":"53842eb23c3e5ae637cd805f448ec3f7c5805a60","tarball":"https://registry.npmjs.org/echo-cli/-/echo-cli-2.0.0.tgz","fileCount":8,"unpackedSize":9537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqASPCRA9TVsSAnZWagAAYLwP/1L8UF5QWJivt8YgeWe0\nJkq7uX7ZF3ylGpfMHlpVY4u41DN0WLFMMOK40Gv0C+xS87jg7qc+vc2GIsNf\nOg3u3j99j1X6CdCrGKFhC+AiTc7vSvVaSV/kA3NQXvIUYIiVp1gOxb7yDmNG\nfgQaE6b8Np0taM//l5CjsTMFbZYufpzb0AV8qrencscgAzM6NGTOc7jWuGbC\nwecNld0oSjvBAtEbSGWZTuCo0Xv+GmIzJv+KGzmuwiYWTnaxaQNIsQF90wSg\nvjmVL/48DmoJjKiW6NMRrCe1N8If1SHWqJumj9Y0cLN0QypX9kBgOV+KZIZ5\nl4ZCRm001XVkQYivBdeYZJreekhJ6WeXZIguEAmzpDjR/tD/nFHaFOJUAYXi\n76ioInU1znEeg0LXTtCJw8NLTwcFNtK9dsz6XT1pl5uZ9z60szVxDY8OvGDB\nmr0Le/tLdVwzuTncLSJUHelodSdOajNV39tDNzU8HC0BT0wwkQ300XVJHaPX\n6AeEQ+DQ7NMWXqJIewN9I56+OsqRLif+LgnVb2WJZeVK/nX0Xrbshtj//Tcp\n1WBmd5IqBFKfyKJdJadBkkhlXBN4iaoI7GH9E6q3N2zgYnDu7qAvrURbi/Wz\nmUaDsDYaPmQv8vZdMxNXcjd8DubD5HhfA/IGAgLFshuGFr239mbKeLLFrFvL\nA7qh\r\n=1vuV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC52YAz5wHBaBvWh0/Ujmu4cHr/GprzBbOus7D0yj7veQIgf6r6Kv18zwWjcIDdMOLpp3cnKMT+WOtN5TpB9j4+6/c="}]},"_npmUser":{"name":"iamakulov","email":"mail@iamakulov.com"},"directories":{},"maintainers":[{"name":"iamakulov","email":"mail@iamakulov.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/echo-cli_2.0.0_1638401167815_0.0005767774851228591"},"_hasShrinkwrap":false}},"readme":"# echo-cli\n\n[![npm](https://img.shields.io/npm/v/echo-cli.svg?maxAge=2592000&style=flat-square&reset-cache-2)](https://www.npmjs.com/package/echo-cli) [![Travis](https://img.shields.io/travis/iamakulov/echo-cli.svg?maxAge=2592000&style=flat-square&reset-cache-2)](https://travis-ci.org/iamakulov/echo-cli) [![Coveralls](https://img.shields.io/coveralls/iamakulov/echo-cli.svg?maxAge=2592000&style=flat-square&reset-cache-2)](https://coveralls.io/github/iamakulov/echo-cli)\n\n> A cross-platform CLI for outputting text to the command line (with escape sequences)\n\nWhy? Because Windows’ CMD doesn’t support escape sequences, and even [a new line is printed differently from Bash](http://stackoverflow.com/a/132804/1192426). This makes outputting something from npm scripts much more challenging.\n\n## Install\n\nTo use in your package:\n\n```\nnpm install --save-dev echo-cli\n```\n\nTo use from the command line:\n\n```\nnpm install --global echo-cli\n```\n\n## Usage\n\n`echo-cli` supports all JavaScript escape sequences described [on the according MDN page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#Using_special_characters_in_strings). Feel free to open an issue if you need the Bash escape sequences too.\n\nWhen passing an escape sequence, wrap the passed text into quotes to prevent Bash from interpreting the sequence on its own.\n\n```js\n// In package.json\n{\n    \"scripts\": {\n        \"build\": \"echo-cli Building the project... && babel src -d dist\",\n        \"test\": \"echo-cli 'Running the tests...\\\\nThis usually takes a couple of minutes.' && ava\",\n    }\n}\n\n// Or in Webpack config\n{\n    plugins: [\n        new WebpackShellPlugin({\n            onBuildEnd: ['copyfiles dist ../archive/dist && echo-cli \"\\\\nCopied the build results\"']\n        })\n    ]\n}\n```\n\n```sh\n# Or in a shell\n$ echo-cli \"Hello,\\nworld!\"\nHello,\nworld\n```\n\n\n## License\n\nMIT © [Ivan Akulov](http://iamakulov.com)","maintainers":[{"name":"iamakulov","email":"mail@iamakulov.com"}],"time":{"modified":"2023-04-05T02:09:07.929Z","created":"2016-04-16T13:56:01.338Z","1.0.2":"2016-04-16T13:56:01.338Z","1.0.3":"2016-04-16T14:21:35.245Z","1.0.4":"2016-04-16T14:23:37.389Z","1.0.5":"2016-04-16T14:59:17.300Z","1.0.6":"2016-04-16T15:09:01.606Z","1.0.8":"2016-04-16T15:25:58.230Z","2.0.0":"2021-12-01T23:26:07.987Z"},"homepage":"https://github.com/iamakulov/echo-cli#readme","keywords":["echo","cli","print","cross-platform"],"repository":{"type":"git","url":"git+https://github.com/iamakulov/echo-cli.git"},"author":{"name":"Ivan Akulov","email":"mail@iamakulov.com","url":"http://iamakulov.com/"},"bugs":{"url":"https://github.com/iamakulov/echo-cli/issues"},"license":"MIT","readmeFilename":"README.md","users":{"flumpus-dev":true}}