{"_id":"@aaashur/innie","_rev":"1-85e69599f773c5160835c7517645af3f","name":"@aaashur/innie","dist-tags":{"beta":"1.0.0-beta.1","latest":"1.0.0-beta.1"},"versions":{"1.0.0-beta.1":{"name":"@aaashur/innie","version":"1.0.0-beta.1","description":"Read, write, and delete INI file entries from the command line.","main":"index.js","bin":{"innie":"bin/innie"},"scripts":{"lint":"eslint ./*.js bin/* tests","test":"mocha tests/"},"keywords":["cli","ini"],"author":{"name":"Ashur Cabrera","email":"hello@ashur.cab","url":"https://ashur.cab/rera"},"repository":{"type":"git","url":"git://gitlab.com/ashur/innie.git"},"bugs":{"url":"https://gitlab.com/ashur/innie/issues"},"license":"ISC","dependencies":{"commander":"^6.0.0","dot-prop":"^5.2.0","ini":"^1.3.5"},"devDependencies":{"chai":"^4.2.0","eslint":"^7.7.0","husky":"^4.2.5","mocha":"^8.1.3"},"husky":{"hooks":{"pre-commit":"npm run lint","pre-push":"npm run test"}},"gitHead":"faa231ed40d7a461893fc7f9a999d94d7f0c40f9","_id":"@aaashur/innie@1.0.0-beta.1","_nodeVersion":"11.14.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-IdJYxGs/Zq2JKCzsg0Gw48k5Q4JswEr/b9ZWHzrKRz2+MDmTkA7S8TDUICND8ZMm8iUNkOZSl/n1RW+b+GztiA==","shasum":"88668d0cc7c840e7b3686ee522e9de772d3f480e","tarball":"https://registry.npmjs.org/@aaashur/innie/-/innie-1.0.0-beta.1.tgz","fileCount":11,"unpackedSize":11418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSuaFCRA9TVsSAnZWagAAvJIP/2qX9q6fxzyzP+dKGSHR\ncPtPuCM22AmQrbZaqLw907DoycviHD6vNq7xxqpmsyJnm6wrqsjmiPz61ayn\n2zBBb6rd4ymc59+aZjztHfbm+XV3uIoDie2py1+L5ulCN7TCg6ElVDbeOH/Y\nfIVQmDwm1KY8FrAyLeAp1qKMW+pxqnuaPEhv+1SBJu8Ib1K83RFKy5frx6V7\naibmG/kPjQVlfPm/CsB1oXBxnDfTFojSswk3WpGrmisnTk3rgmb0G8IRpBAW\nDfs0FPkV7mCJhXukafCh5bOMKZOfZXjz0M0aK3WJFjc6rNShoBHTk0QR5oiK\nEZ9s1PTglZP6JGzstt3As4n+bmuqNv0qppIaQdyq53zBucZkP8lQE/r2UMfj\nrE4OzaG7JaAPJyYovXiFxw3GAOVWtylIwUsKb3XfdhdYG16g+yLaFZbgQeGK\neNbS0Gqm3Ei8FkZI2AT0ZITwh57tztIHgHXXKau2gJe2oDxaPXYuC0+9jXg6\nknG6361oJh8hXCdOCa5m+7jGl0WOkB+Y50WNUEZ5L8unoUUGtnqpuq6Q3AUE\nCCpoM7GY+pFPIwHLgainBxEEVl3XEw3NmCGLlAEEdGc/GtfsSvGjqNiv0LeR\n14Svrh9vKTTSqbrXPOQCmlD0ddyzIfSQ3yV5G3vJK9tKeWNoDKwLRqoJJ0Yl\nxRJs\r\n=t9j+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFPvUWzWEqmQKdJAPkoBjlwXz221ivX6fjwYrQHbONRAIhAPAqEknEqc0cNqpMLuNp7J6p+Gb1oaqa/+y3ICEm/sxt"}]},"maintainers":[{"name":"aaashur","email":"hello@ashur.cab"}],"_npmUser":{"name":"aaashur","email":"hello@ashur.cab"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/innie_1.0.0-beta.1_1598744196915_0.5058162740448167"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-29T23:36:36.863Z","1.0.0-beta.1":"2020-08-29T23:36:37.032Z","modified":"2022-04-04T10:54:50.363Z"},"maintainers":[{"name":"aaashur","email":"hello@ashur.cab"}],"description":"Read, write, and delete INI file entries from the command line.","keywords":["cli","ini"],"repository":{"type":"git","url":"git://gitlab.com/ashur/innie.git"},"author":{"name":"Ashur Cabrera","email":"hello@ashur.cab","url":"https://ashur.cab/rera"},"bugs":{"url":"https://gitlab.com/ashur/innie/issues"},"license":"ISC","readme":"# innie\n\nRead, write, and delete [INI](https://en.wikipedia.org/wiki/INI_file) file entries from the command line.\n\n## Setup\n\n### Requirements\n\n- [Node and NPM](https://nodejs.org)\n\n### Installation\n\nTo install **innie** globally:\n\n```\nnpm install -g @aaashur/innie\n```\n\nTo run without installing:\n\n```\nnpx @aaashur/innie <command> <args>\n```\n\n## Usage\n\nGiven **colors.ini**:\n\n```ini\nblack=rgb(0, 0, 0)\n\n[red]\n100=rgb(255, 245, 245)\n200=rgb(254, 215, 215)\n300=rgb(254, 178, 178)\n\n[orange]\n100=rgb(255, 250, 240)\n200=rgb(254, 235, 200)\n300=rgb(254, 235, 200)\n```\n\n### read\n\nRead the value of top-level key `black`:\n\n```\n$ innie read colors.ini black\nrgb(0, 0, 0)\n```\n\nRead the value of key `100` in section `red`:\n\n```\n$ innie read colors.ini red.100\nrgb(255, 245, 245)\n```\n\nRead the value of all keys in section `orange`:\n\n```\n$ innie read colors.ini orange\n100=rgb(255, 250, 240)\n200=rgb(254, 235, 200)\n300=rgb(254, 235, 200)\n```\n\n### write\n\nWrite the value of new top-level key `white`:\n\n```\n$ innie write colors.ini white \"rgb(255, 255, 255)\"\n```\n\nOverwrite the value of existing nested key `300` in section `orange`:\n\n```\n$ innie write colors.ini orange.300 \"rgb(251, 211, 141)\"\n```\n\nCreate a new section `yellow` and write the value of nested key `100`:\n\n```\n$ innie write colors.ini yellow.100 \"rgb(255, 255, 240)\"\n```\n\n### delete\n\nDelete top-level key `white`:\n\n```\n$ innie delete colors.ini white\n```\n\nDelete nested key `300` in section `orange`:\n\n```\n$ innie delete colors.ini orange.300\n```\n\nDelete section `yellow` and all of its nested keys:\n\n```\n$ innie delete colors.ini yellow\n```\n","readmeFilename":"README.md"}