{"_id":"@albertdahlin/elm-posix","_rev":"6-8e0eabfdfe3c39b58f9c4237134980f7","name":"@albertdahlin/elm-posix","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@albertdahlin/elm-posix","version":"1.0.0","description":"Write CLI scripts in Elm","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/albertdahlin/elm-posix.git"},"keywords":["elm"],"author":{"name":"Albert Dahlin"},"license":"MIT","bugs":{"url":"https://github.com/albertdahlin/elm-posix/issues"},"homepage":"https://github.com/albertdahlin/elm-posix#readme","bin":{"elm-cli":"bin/elm-cli"},"gitHead":"fb69dee8e6eb77c70cc6f14b241abecd56d8746c","_id":"@albertdahlin/elm-posix@1.0.0","_nodeVersion":"13.5.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-/O8NpLKVgaunmRGPXRRVJo1dGdfsyNmTwXFJ/Br7mcWMPrU5d2QLcKjiA6br2Rviyn8Q9vXNyYdYcCT1OVAT9A==","shasum":"47c33835f0e28600acfceede8bb8292bef6d8a23","tarball":"https://registry.npmjs.org/@albertdahlin/elm-posix/-/elm-posix-1.0.0.tgz","fileCount":4,"unpackedSize":10189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7zeDCRA9TVsSAnZWagAA85MP/RvhaKQQLdztV/TTA/mL\np/DALudRK3+uT0QulNAf2luQNBxCoaTuDR5SbCgyGar91ASbH0PuNW6/7RMK\nazrg8dlzfcEKzya7qNHdy4EAyN7hBg8KGyS0/ojsDHxE2EJDZ2Ql3fXa7vZ9\noJiTenPaMOVEEo5ZYHqITIcNNd0QJ/gxTRQWMGyXmqzzho9uYeJtAfLA8H4m\nKGGJFD0JPJVlAyJyjLIi/3CvCoyyrxnQkudv6aWAqpqepmQvfUcmOdEiHHS5\nLJN5l8jnTJBof9OhsLBGkzmdIM4P6G9Z39z17wtMU+RsG8k+s+5hp6e77S7N\nSt52KVjeKMZcrCo8luy5oGgK0uA8dRyGMWO7ss1YFcFn6vZCBqo6XE09iTFo\nmrDLx6BXmSncokZ11GSjV3trL3FPIXU9SqPEXhpXkGHCvgZI7NZj8Z4MBhBw\neXFLcNhGrSqY6CQj/5sIjJUDDrUs5Yio1C+H4duijowGkZOLborlr7NvujRQ\nDmrtnrBR/fZcHEHIIlvhq6IEvxnG8zoOrOc5PpmxmQSgPOaJvvMF3MxM7vOe\nys7yfJJyVXFJ7wlke8jussGdKV/2mTmc4LZ+XYFThqE3wuBxRUE3LDmiI/m7\nxjsMULubUk31mJPhsDl0LhoCc3RMgez6sZskA1qaxWQpTfp0DSNJrgqrdwBa\nT5DT\r\n=2OEG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFLIm5O5WjZ49OIRq/nYaJvemEmv033gs6E3HdnITcrAIgZELYv8yWqtihv0QIpzdML8DAmSPe5sD0ckvSMqFDgu8="}]},"_npmUser":{"name":"albertdahlin","email":"info@albertdahlin.com"},"directories":{},"maintainers":[{"name":"albertdahlin","email":"info@albertdahlin.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-posix_1.0.0_1626290050632_0.3585826196505415"},"_hasShrinkwrap":false},"1.0.1":{"name":"@albertdahlin/elm-posix","version":"1.0.1","description":"Write CLI scripts in Elm","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/albertdahlin/elm-posix.git"},"keywords":["elm"],"author":{"name":"Albert Dahlin"},"license":"MIT","bugs":{"url":"https://github.com/albertdahlin/elm-posix/issues"},"homepage":"https://github.com/albertdahlin/elm-posix#readme","bin":{"elm-cli":"bin/elm-cli"},"gitHead":"61fb0d934b4c51bef07eef8caec82bfda4a8464a","_id":"@albertdahlin/elm-posix@1.0.1","_nodeVersion":"13.5.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-H+lCLxUE7jWiAr32WUe9qkARPw/Dc08Vm32v66pO6Fy2fZf70kkTc/hutm/r6DxrLZSiycWgT4DzSWuTfTu45g==","shasum":"3bbcae4b8155ac8d79c4dcdfc188618ee8c10141","tarball":"https://registry.npmjs.org/@albertdahlin/elm-posix/-/elm-posix-1.0.1.tgz","fileCount":4,"unpackedSize":10138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg70AlCRA9TVsSAnZWagAAGIQP/iICS+w1EwL30DVa571s\ny/ILADqA4jGrdjHHBSfckQ90NoqEaOy0ofU0Pp31HHgJ4Q2E445sisD69GIr\nUcJM4UJVI8v0QLC361zo2wgKKEDrb8g/81NpYw4YWkAwSXngOAje+L4g/3w2\nAL2kp+0fmDc086PmZ47zRuOR62R2vA3KBpjnRdKkVi9dYuwBs4pRvlY4YYDA\nGJ1G2pv5lbxjz0H+FmDSVjB40yakK1uo8z3qVZh7e2YQu3ZBJC+/vhj+AuHP\nLTdKQsatJREYbzXnhtXCKp3WOM2IDTNedYJSO+TVs5oR3Q5I8D4igRGI3Wa0\nUmDDbXOYaNr62jUk9YjT35Fa9JlPPPIEb+b8mIrpvBWt2VYiYEZJ7QkYic1M\nh4h1PUDKxC+QJmeiRoys8sg1nBQrT4k2+wFu6s9DIsdkmCgmnk6wikSp4/p+\n9nNiKWn3vfo+lhmRPdojZ+DKB8pHVGNoRZRHy1wdT+i6DgQm7fKfIa7aR7SM\ntIUVLpzdIPSduKVCFO2Wx6/Vi8rlEy/egAVdaz+Rqd7HIc9w4LhwL8t28StL\nqb0mQIoSt/xK/abbgCCQAqx3jU8HHsy+USXE9nhFlgUkCwVLasQJDgHr5ywM\nx9YQv+UKmIfVgxCgcBprG4+X2Cj5sFh3AM4nRUHEhXretM3ahEXpKZeQyP90\nbWN1\r\n=H+8g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF3iJJY6AEsGsqK4cACNJz93rBkyIremOH20/jl7B5EwIgBM5lmQbf+ozmvMFYGh7+cEW2o8h4rgvNRwZmVKUsjP8="}]},"_npmUser":{"name":"albertdahlin","email":"info@albertdahlin.com"},"directories":{},"maintainers":[{"name":"albertdahlin","email":"info@albertdahlin.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-posix_1.0.1_1626292260953_0.8181840507376776"},"_hasShrinkwrap":false},"1.0.2":{"name":"@albertdahlin/elm-posix","version":"1.0.2","description":"Write CLI scripts in Elm","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/albertdahlin/elm-posix.git"},"keywords":["elm"],"author":{"name":"Albert Dahlin"},"license":"MIT","bugs":{"url":"https://github.com/albertdahlin/elm-posix/issues"},"homepage":"https://github.com/albertdahlin/elm-posix#readme","bin":{"elm-cli":"bin/elm-cli"},"gitHead":"040339596c708f3edf1c1b1416a2f43e21248f16","_id":"@albertdahlin/elm-posix@1.0.2","_nodeVersion":"13.5.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-VLaBGoc0PzhyqE7FwozCOaeQvX37rgqdMroMZZSY4fzKxIuNRQb199ZYZdQ/7WE20BpjxOo9P1pauwunqAZaEQ==","shasum":"bb71e67243a7e9855add2c110c6bb095a6648672","tarball":"https://registry.npmjs.org/@albertdahlin/elm-posix/-/elm-posix-1.0.2.tgz","fileCount":4,"unpackedSize":10349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/DCMCRA9TVsSAnZWagAAnvkP+wQDwpYGSz93H+ObrKw6\nGkcS3CIBmiv26/mOTh/JqTd/kMeQ9BVMdhgIxcqrxSwruhQg6kTiqtebAA6h\nGuXqrW9t/XZR6jlaVBy/wygSnKY4jNwGIcmwbadG0Oc03WyoIW2AgcU1qMyG\nv+TvHHckj/xCT6wSPr7oHGh/Lvkq4EyOtsihe9JYB70yddgUc1u16FpWA+ay\n4KbTabOgu2ZV5yanYijciTESYPM/27wwVHpSfXUwzZSatjaNs9s50iIJ+JSU\n1587wPASX+6uqfCmDqIw1V81gpsO7LuiW18Ekx74O/ZOSBWc2TKmHZkPBXKA\nKuGFvMJE7sdjRw58O52kL3j9jx4w9FPs2mLIdRp7G6HH/kGTa5rT/SOg48aY\nymMsMYGhVIC6sv4mJh5H2T3RxnuyC2iWCVHP2vZ5Z1vAJlVNUK6nAWmWAeXl\nFgGf1wAJ7ydb7f3hptZybav/vpZsRONW+oitqWpf4/EgRnkoBiNSQcKQ366R\ngbdQBGX1EKQ8qq+xBUdAKc4zrVb83qaI573Ap2tjO3gHpCV+ZpSZ502/8ucc\nF08Ic1qPUqSJOemk3MzK3eR/QpJEocxwH97ILT2NB2xtrXoxX8EVmkARNO5X\nMZqleO4BYcZtrlgA8NiycTLl3R8hBhDL88rzRWbhCHteazZY8T14I33cLq5P\nAqmd\r\n=vqxP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtQ3DIYjQ7zhfn/WL/5rHTDTGAfmWssklqaBu1KBusfAiEAqY2dEH1h8oRQedX713i5MW/ejkJ4fTbdeYREiB5CW9M="}]},"_npmUser":{"name":"albertdahlin","email":"info@albertdahlin.com"},"directories":{},"maintainers":[{"name":"albertdahlin","email":"info@albertdahlin.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-posix_1.0.2_1627140236711_0.41854714425169526"},"_hasShrinkwrap":false},"1.0.3":{"name":"@albertdahlin/elm-posix","version":"1.0.3","description":"Write CLI scripts in Elm","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/albertdahlin/elm-posix.git"},"keywords":["elm"],"author":{"name":"Albert Dahlin"},"license":"MIT","bugs":{"url":"https://github.com/albertdahlin/elm-posix/issues"},"homepage":"https://github.com/albertdahlin/elm-posix#readme","bin":{"elm-cli":"bin/elm-cli"},"gitHead":"04a01961baf43ff7986baf5a545b2d2b6dc820be","_id":"@albertdahlin/elm-posix@1.0.3","_nodeVersion":"14.4.0","_npmVersion":"7.8.0","dist":{"integrity":"sha512-F2Q8FjqTyn7tqgiwLdZRCw0yuIYxtNx7rKzc5kGXCgELFmq0YeHxAGDeq83K1hlkIL/7AHz/KF+TvduOazg+zA==","shasum":"f9e5a8f7ece7d6f8f569db35fad09237a0142f18","tarball":"https://registry.npmjs.org/@albertdahlin/elm-posix/-/elm-posix-1.0.3.tgz","fileCount":4,"unpackedSize":10353,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEkdd29bF28nLiEvCu5Etv1MLZRYMB+VlhE481wRb96IAiEAo1Vs2GgUJsevJbNLLa6Xn0jDVowAnxIdJtiqx22jAWE="}]},"_npmUser":{"name":"albertdahlin","email":"info@albertdahlin.com"},"directories":{},"maintainers":[{"name":"albertdahlin","email":"info@albertdahlin.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-posix_1.0.3_1633586279667_0.7082553060493129"},"_hasShrinkwrap":false},"1.1.0":{"name":"@albertdahlin/elm-posix","version":"1.1.0","description":"Write CLI scripts in Elm","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/albertdahlin/elm-posix.git"},"keywords":["elm"],"author":{"name":"Albert Dahlin"},"license":"MIT","bugs":{"url":"https://github.com/albertdahlin/elm-posix/issues"},"homepage":"https://github.com/albertdahlin/elm-posix#readme","bin":{"elm-cli":"bin/elm-cli"},"gitHead":"961289fd7d96d06d774b261e3a4bd015871027e4","_id":"@albertdahlin/elm-posix@1.1.0","_nodeVersion":"14.4.0","_npmVersion":"7.8.0","dist":{"integrity":"sha512-0TSLMNKINUllT7FSlwrhhdBwMe7CUfnLknBo8F7DQlJ7ET/RSoNpyZzy+S3OLgELkszWvxHSic0aPN/XrbzP5w==","shasum":"96c850f1cc9b88168ed2ddb6c9b714a62471f5e8","tarball":"https://registry.npmjs.org/@albertdahlin/elm-posix/-/elm-posix-1.1.0.tgz","fileCount":4,"unpackedSize":10503,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwwXiCRA9TVsSAnZWagAA0foP/1erzoGFK0lywBAKLUpF\nKi0Ya4llZB2i0vqxKEQ5kobEkh6nRdSF44dvOuatMqtJsCaxRiY4JVsSxqxD\nJHtVvyZN8Ye4WHBpEmJkgCE5+54w1+VXa4HNHyfK87e9lLBlqZEedaSRy7KF\n4o0B9FUWwtfxKgRxQkgl5Jbih6Up3/CjA9ZlXx8oclraqsmHv3iRPDWfGPqw\nGPsVnjoefCSqpmLJzZLhqXkgl+qPGcu0TDEEdOneCYzvAUHxV9qEkuZaAvrx\nKei/PbZAxjPTX7p8NhX4R61Fg2LP9QWpsud5F+Lkzfe0f3y6ku+gVBqf/r/O\nspsZ1Gg1wWYcm+NrTq6tJmFvNN3cuKA0GMD64BD5H8YKrIhQuqmZxJLHMijg\nJzWi5AXWfz5pgLvBU4Qm9MerCck3CWfeNNJc/3Xh0TKYrKd+biBb29JNGioW\n7jbR5fOXWpSyYRCan3xGW2AnkU0nUOif1ZS708ipBeznG/lb/rzsKq6vHANh\nSQPFdj/NvbXCub2Uz+001LO/DDTEIC2f1NPMqLcQhLFB3jsoUfcEh8r7bSmL\ntDQfQ/f6Ph0IzhexqGQYcwocy6jCL/72/lnDPBP3f4oyhwuwd6ztBIh+rMaW\nAGjrCVzTzPyxqWMF/v52zASyPjjKwYakaRwLKMJUREDNCEUCrjmupn1JpSZb\nZBG2\r\n=2REI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlMW/nirLozbb6zQhCBzFloZj2IyjX9YTcinNXDaLOJAiEAgKwKCfGdUhgfMr99AO+x7cfTHVPvNL8rHLGsEcbAQWo="}]},"_npmUser":{"name":"albertdahlin","email":"info@albertdahlin.com"},"directories":{},"maintainers":[{"name":"albertdahlin","email":"info@albertdahlin.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-posix_1.1.0_1634563178896_0.5323475607970827"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-14T19:14:10.568Z","1.0.0":"2021-07-14T19:14:10.739Z","modified":"2022-04-04T12:35:22.729Z","1.0.1":"2021-07-14T19:51:01.078Z","1.0.2":"2021-07-24T15:23:56.867Z","1.0.3":"2021-10-07T05:57:59.827Z","1.1.0":"2021-10-18T13:19:39.037Z"},"maintainers":[{"name":"albertdahlin","email":"info@albertdahlin.com"}],"description":"Write CLI scripts in Elm","homepage":"https://github.com/albertdahlin/elm-posix#readme","keywords":["elm"],"repository":{"type":"git","url":"git+https://github.com/albertdahlin/elm-posix.git"},"author":{"name":"Albert Dahlin"},"bugs":{"url":"https://github.com/albertdahlin/elm-posix/issues"},"license":"MIT","readme":"# Posix programs in Elm\n\nWrite your tools and build scripts in Elm.\n\nThe Elm Architecture is nice when you are writing event driven applications and long running processes.\nHowever, I find it a bit cumbersome when you just want to do some simple scripts and tools.\n\nThis project lets you write monadic IO programs, similar to Haskell, and then compile them to a nodejs shell script.\n\nFor example\n```\nelm-cli make src/MyScript.elm my-script\n```\nwill create an executable shell script that you can run with `./my-script`.\n\n**This is still under development and will most likely change**\n\n## Installation / Setup\n\nYou need `elm`, `node` and `npm` on your system.\n\nInstall the cli tool:\n```\nnpm install -g @albertdahlin/elm-posix\n```\n\nInstall Elm dependencies in your project\n```\nelm install albertdahlin/elm-posix\nelm install elm/json\n```\n\n## Usage\n\n- See [examples] for how to build and run cli programs.\n- Read the package [documentation]\n\nYou can also run `elm-cli` without any arguments to get usage info.\n\n## Work in Progress\n\nA proof of concept is implemented and testable (on Linux).\nThere are still some things pending before publishing v1.0.\n\n### Some things to fix before publishing\n\n- Make sure it works on other OS\n- Documentation and user help\n\nIO effects to implement:\n- Spawning child processes\n- Executing `Cmd`, for example `Http`\n\n[examples]: https://github.com/albertdahlin/elm-posix/tree/master/example\n[documentation]: https://package.elm-lang.org/packages/albertdahlin/elm-posix/latest/\n","readmeFilename":"README.md"}