{"_id":"a-kind-of-magic","_rev":"31-7fd954d3eb51edf55b356bb91f694570","name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","dist-tags":{"latest":"0.5.1"},"versions":{"0.2.0":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.2.0","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.4.7"},"dependencies":{"acorn":"~0.2.0","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.2.0","dist":{"shasum":"d8eb8f0be1a01381e0fa334fab4230b4b546fc2b","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.2.0.tgz","integrity":"sha512-5dkyc71yX9M+7Ei/ebLo/iP9K6gsdjv1V3pntwZ/Ja/9XxoA2hfsM0LOQ1Fq0AXw23sHuCuJqyQh894aWwUICA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDO8QiEbWB63P0jwqFZS9+yBvcLGKlM1Ol++O6c9pX5FQIgU7dH6cV4OHSpUIVRSK4tqsg1jvhUIQSuxVyZ/YfOUxY="}]},"_from":"a-kind-of-magic","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.2.1":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.2.1","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.4.7"},"dependencies":{"acorn":"~0.2.0","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.2.1","dist":{"shasum":"d2ea178583892aeaa9294dce51f7de17dc5f6e07","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.2.1.tgz","integrity":"sha512-WfDkeOCbETrgE/I/YPATvi9/YDHE5OTwwWEm9n9SgcgXwn2ulDyL0clpIPKAk1N7D0xE3iotoLvNfNQUd15Ojg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6hWVjFOqoW8jpzdSddUKYdZrimJsOpbZwExe92fqW6gIhAI6s2dfR7E/n/aMQ3AVxuQE1saTDsbkiJrCuocttNcmM"}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.3.0":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.3.0","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.4.7"},"dependencies":{"acorn":"~0.2.0","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.3.0","dist":{"shasum":"fbb94eb72f54a5ef3bfee950a7da31d61d483aa5","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.3.0.tgz","integrity":"sha512-7niN+PuMSNNNoFTA8cb2OiFthZ/lpRWDVZ1pjEvHZUg4vocf+ICJVaKEPUv98ecZYYJw8IQPO5VHQYia1W7e0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzUTisIJtn5LrG9xgvtRG9IWMuU9nM2Yyh3tlBO8LXHQIhAPcNeygUDAWH1eQZGDVIIyaZ1UYsmPIlVsFSzbwEMrMt"}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.3.1":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.3.1","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.4.7"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.3.1","dist":{"shasum":"9d4cab351b0af353f26f26e19b4b6a48c8f11910","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.3.1.tgz","integrity":"sha512-+W6/+yCYtatMQS1x8dxpQuYHIR3YBoROTFoqxPyCqzFPoEIeRTRvvRI9z/YQ7yGweleyNWlcrsTaVLsYgoYwNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDMJCm37on0OabsHp6OuhGbC2211/XKwVvERRaHDp91tAiEAxmVZ7e5S6Nj4KkH2FpbMF23BjpJqNQkdYsSgIbVsNJE="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.3.2":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.3.2","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.4.7"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.3.2","dist":{"shasum":"a30c5ad42219230c4d9d0a31b5b2a2da3404ba6c","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.3.2.tgz","integrity":"sha512-OTd94ApIAa1paM/nD/TwfvASnu+hi+Cab1som4oz1u1FozG2k22m8UAuPq/9Mv+1FQc+ULVgoAEgrzCOgYhNIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmGwcJPqViKTl9+Wm3kO9jQJ5KrGxlXNl/DfLH0aYhBAiEAqZ2mTHM0Lo3rXJzrk2c+cpbsDIM2a0BcjNTJniZFB9E="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.4.0":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.4.0","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.10.x"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.4.0","dist":{"shasum":"97ed634050133d8c14710d2a48ac96421ab0c251","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.4.0.tgz","integrity":"sha512-2NyjIIi/XJ3fFrQENLY6HInsSJZrVAn/9a8Tdg1jmrYq0ndGqCwSD/Vwg/eMF1Dm5FmUMUz6GTvL6m3vxTS6ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmX/4Juw3A+tdKeMR3Kn8ZwTmYra3QP4TDsA9nN2O8nQIgJW9TQW7HeLm4Fyc+4PtnQijZNbQOcdZmgBq012kpclw="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.4.1":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.4.1","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.10.x"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.4.1","dist":{"shasum":"f713f549ecd3f425b6073f110c750d8b269545b6","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.4.1.tgz","integrity":"sha512-hfZLbowmW1Zl5CEyrrL1sm1Wc1qujE1yqlAnil3U6N86VvjfVnEppaEUWHP52KfvR4vxa1fELM9P3qWBpFwSCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfD2HkJXmL1JFRv0vN9VQW3tkwBjUCSN98W/3iPnQYTgIhALzQ52s7dQcEXGtMc8UVj/sPw0yOYSTeV7ZbQ9g5tZLS"}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.4.2":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.4.2","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.10.x"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.4.2","dist":{"shasum":"bd7b1eeef427a24540830335773dda9ac806e72f","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.4.2.tgz","integrity":"sha512-iu3leJkKc66mqA25iOXpc+bo6G5nTfscmHg0GHth/COm02aAatrqw3SZI/YN6ZqK+GATz7cXKh9zJpVo/mJg2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE7V/W7PMkQ4ROBhnaWrTWjE/bnE489S/fqvolOHBXlPAiEAk2ODI3YCAhB3EouHN3B9bWxCckEtVmWQNJG5RjFUp/0="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.4.4":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.4.4","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.10.x"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.4.4","dist":{"shasum":"09a0ebeeaef3554d144d2378c2395e61d34f810d","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.4.4.tgz","integrity":"sha512-h6TmoCcq8CT1odKUykFiWwNBV6lj/XFPstceCKjq8VwtZr1gfYwB1Sloj2x2OirBKtV+ouUJD0B6Yqh3X8j6pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/SoeFQrqqQKv6CH90YJzq0o/xojyoRhpFKmxfJQ5pswIgOxarFrhN3NMdxSyVP2SRHVyZ+BD4ZhNdKXLHxl3+ZRI="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.4.7":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.4.7","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.10.x"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.4.7","dist":{"shasum":"98f3f47b42d1545fc4feb5402e2d92c20c58ec26","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.4.7.tgz","integrity":"sha512-SFs2Y1V7M0NyYKVasSWP9sOJzbudK4f+PN83Pg/pO3cipphSjnOH2CHBx7HsG/xX2+WSuI/9NZ79Cri//Jm2Lg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAz0wiCOYmzxeihIfjdfira/F47naRNdPtWZc545kKu+AiEAzDEZlijcBRupSMYaMksjJRTBmhkFtsies7X1hxFJB0A="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.4.8":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.4.8","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.10.x"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.4.8","dist":{"shasum":"ca61ae6b312145478a10252b84517b30df8412a5","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.4.8.tgz","integrity":"sha512-pv1+zMgUyHad0jIwKMydwfypvSTAWX2mLRkrIRT4DL/QlQqDDejC7if8t8zdng0LVdL29E9k84rxW2jbGixcJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHz7b/y86zvPGNwj4nppfCg/Mp49GM62xgtWZO8ycdnoAiBSQ1FqLBx0ggwk+EMmPIt6a5NeWfdVe4IbQ03pCmOVXQ=="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.5.0":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.5.0","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.10.x"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.5.0","dist":{"shasum":"6274a082f436f53619ff2e2231c118f3210c74d5","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.5.0.tgz","integrity":"sha512-hcyzAX3+hD9hvLWr16Va0fekVUCdpfZWrLCf2EyGQ8MIzstA22cIEsN/Pgmvmwj4a5fPMN3WJ7i9Lv82CSCwTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSO++lR1ZygMbXBsbNHhQ4F50sf4crQSyoTWrdLNht4AiBZ1ZHDI0IgEfuzs7rqt7VZlro4c2vdXpKBf9PKuJTNdg=="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]},"0.5.1":{"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"name":"a-kind-of-magic","description":"Automatic dependency resolution for Javascript","version":"0.5.1","homepage":"https://github.com/shz/a-kind-of-magic","repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"main":"./lib/akom","scripts":{"test":"node_modules/.bin/nodeunit test/*"},"bin":{"akom":"./bin/akom"},"engines":{"node":"~0.10.x"},"dependencies":{"acorn":"~0.4.2","estraverse":"~1.1.1"},"devDependencies":{"nodeunit":"*"},"bugs":{"url":"https://github.com/shz/a-kind-of-magic/issues"},"_id":"a-kind-of-magic@0.5.1","dist":{"shasum":"5bf4a02484d7ff32a0e24742eda3027b838f9a4a","tarball":"https://registry.npmjs.org/a-kind-of-magic/-/a-kind-of-magic-0.5.1.tgz","integrity":"sha512-LWUkor8VFMY4KJnZiQF8dOhc5htiui8Mi35ds+5lOQhHbXCRCkoFED/poDKW3GkyEmS9NM4cts5Y3QLCOyVq0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnfUaDDMqOyiNVuwR7YB865B9yN7aQb+Dfj4E3sA+azwIhAPdYnnvA7BeJdM/JNIu+u8knqqCb9jt+Dn+Ync5Kk4B7"}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"shz","email":"lylepstein@gmail.com"},"maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}]}},"readme":"# A Kind of Magic\r\n\r\n[![Build Status](https://travis-ci.org/shz/a-kind-of-magic.png)](https://travis-ci.org/shz/a-kind-of-magic)\r\nAutomatic dependency resolution for Javascript.  Also `akom` for short.\r\n\r\n**IMPORTANT NOTE:** I practice Readme Driven Development -- this project is not yet completed!\r\n\r\nCurrently, the resolver isn't hooked up to the public API, and the only provide/require\r\ngathering implemented is the hardcoded stuff described at the bottom of this readme.  Docs\r\nare also a little lacking, I'm sure you'll agree.\r\n\r\n## What it do\r\n\r\nThis scans all the Javascript files in a directory, and outputs information about\r\nwhat depends on what, along with a suggested inclusion order.  It's both a library and\r\na command-line tool.\r\n\r\n## Why it do\r\n\r\nYou're not a compiler.\r\n\r\nAssuming you're the average Javascript programmer like me, you follow a sane pattern for assigning to\r\nglobals and the like -- a pattern that can be recognized and used by a compiler to do your dependency\r\nmanagement for you.\r\n\r\n## How it do\r\n\r\nJavascript files are parsed, and global assignments/accesses are recorded.  For example, if a file does\r\n\r\n```javascript\r\nwindow.bar = window.foo + 123;\r\n```\r\n\r\nThen the file is known to require `foo` and provide `bar`.  Pretty simple example, but `akom`\r\ngoes further: it understands scope, immediately-invoked functions, and all that jazz.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install a-kind-of-magic\r\n```\r\n\r\n## Usage\r\n\r\nYou've got two ways to use `akom`: via command line, or as a library.  The library\r\napproach is way more powerful.\r\n\r\n### Command Line\r\n\r\nThis isn't even implemented yet...\r\n\r\n### Library\r\n\r\nA quick sample:\r\n\r\n```javascript\r\nvar akom = require('a-kind-of-magic');\r\nakom.scan('some/path', function(err, files) {\r\n\r\n});\r\n```\r\n\r\n## Avoiding Problems\r\n\r\nProvided you *always* access globals by their fully-namespaced identifiers, you're good.\r\n\r\n**Good:**\r\n```javascript\r\nmy.oh.so.deeply.nested.module.doSomething();\r\n```\r\n\r\n**Bad:**\r\n```javascript\r\nvar saveTime = my.oh.so.deeply.nested.module.\r\nsaveTime.doSomething();\r\n```\r\n\r\nSomething worth noting as well: conditional blocks (and, well, anything that may or may not\r\nexecute) are considered to always pass.  So if you assign to something in an `if` statement,\r\nwe're going to assume it always passes.  Same with `switch` statements, `while` loops, etc.\r\n\r\n## Fixing Problems\r\n\r\nAlas, sometimes you just have to do something obscene that's gonna confuse the analyzer.  So, to\r\nwork around this problem you can explicitly declare exports/requirements by putting them in string\r\nexpressions at the root of a file.  Like so:\r\n\r\n```javascript\r\n'akom require: foo bar baz.bam';\r\n'akom provide: shoo foo.zap';\r\n'akom no-provide: zing';\r\n'akom no-require: zam';\r\n```\r\n\r\nThe first two statements explicitly add exports/requirements.  The last two statements can be\r\nused to correct `akom` when it doesn't get things right.\r\n\r\n**Skipping Files**\r\n\r\nIf you want to skip a file from being processed include the following\r\nat the root of the file:\r\n\r\n```javascript\r\n'akom pass'\r\n```\r\n\r\nNote that other AKOM directives like `'akom require: foo bar'` will still\r\nbe processed and used for resolving dependencies.  Using `'akom pass'`\r\njust turns off the automagic checking.\r\n","maintainers":[{"name":"shz","email":"lylepstein@gmail.com"}],"time":{"modified":"2022-06-13T02:16:58.289Z","created":"2013-09-27T20:36:28.535Z","0.2.0":"2013-09-27T20:36:30.016Z","0.2.1":"2013-09-27T21:36:07.266Z","0.3.0":"2013-09-28T00:18:55.822Z","0.3.1":"2013-12-16T23:50:16.480Z","0.3.2":"2013-12-17T00:22:41.951Z","0.4.0":"2013-12-18T00:45:36.741Z","0.4.1":"2014-01-20T23:37:52.983Z","0.4.2":"2014-01-20T23:58:58.331Z","0.4.4":"2014-01-21T00:29:12.262Z","0.4.7":"2014-01-21T01:26:55.388Z","0.4.8":"2014-01-27T20:25:15.907Z","0.5.0":"2014-01-28T23:47:39.490Z","0.5.1":"2014-01-29T00:05:00.913Z"},"author":{"name":"Patrick Stein","email":"lylepstein@gmail.com","url":"http://patrickstein.com"},"repository":{"type":"git","url":"git@github.com:shz/a-kind-of-magic.git"},"readmeFilename":"readme.md"}