{"_id":"module-definition","_rev":"3318811","name":"module-definition","description":"Determines if a file is using a CommonJS or AMD module definition","dist-tags":{"latest":"6.0.0"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"time":{"modified":"2024-06-11T09:02:21.000Z","created":"2014-03-18T18:28:01.210Z","6.0.0":"2024-04-10T05:38:21.998Z","5.0.1":"2023-05-11T06:46:48.748Z","5.0.0":"2023-05-04T19:07:15.232Z","4.1.0":"2023-03-19T07:45:04.668Z","4.0.0":"2022-03-03T13:34:57.356Z","3.4.0":"2022-02-22T11:29:20.564Z","3.3.1":"2020-11-01T16:14:02.342Z","3.3.0":"2019-11-23T20:33:05.396Z","3.2.0":"2019-03-18T01:05:02.498Z","3.1.0":"2018-09-25T15:30:37.332Z","3.0.0":"2018-08-31T15:28:38.367Z","2.2.4":"2016-08-12T12:14:04.994Z","2.2.3":"2016-06-16T03:24:16.500Z","2.2.2":"2015-07-04T14:42:49.753Z","2.2.1":"2015-01-20T03:16:55.235Z","2.2.0":"2014-12-14T01:19:38.585Z","2.1.0":"2014-11-12T18:50:25.062Z","2.0.1":"2014-11-04T04:23:19.631Z","2.0.0":"2014-10-31T22:23:30.743Z","1.2.4":"2014-06-09T18:01:07.938Z","1.2.3":"2014-06-09T17:44:16.262Z","1.2.2":"2014-06-08T04:55:20.761Z","1.2.1":"2014-06-08T03:15:28.428Z","1.2.0":"2014-06-08T02:39:49.801Z","1.1.0":"2014-06-01T03:17:27.183Z","1.0.4":"2014-03-28T18:37:25.953Z","1.0.3":"2014-03-20T21:22:10.488Z","1.0.2":"2014-03-18T22:49:49.974Z","1.0.1":"2014-03-18T21:44:09.294Z","1.0.0":"2014-03-18T18:28:01.210Z"},"users":{"shriek":true},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"https://mrjoelkemp.com/"},"repository":{"type":"git","url":"git+https://github.com/dependents/module-definition.git"},"versions":{"6.0.0":{"name":"module-definition","version":"6.0.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/cli.js"},"scripts":{"lint":"xo","fix":"xo --fix","mocha":"mocha","test":"npm run lint && npm run mocha","test:ci":"c8 npm run mocha"},"repository":{"type":"git","url":"git+https://github.com/dependents/module-definition.git"},"keywords":[],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"https://mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/dependents/module-definition/issues"},"homepage":"https://github.com/dependents/module-definition","engines":{"node":">=18"},"dependencies":{"ast-module-types":"^6.0.0","node-source-walk":"^7.0.0"},"devDependencies":{"c8":"^9.1.0","memfs":"^4.8.1","mocha":"^10.4.0","unionfs":"^4.5.4","xo":"^0.58.0"},"xo":{"space":true,"ignores":["test/fixtures/*"],"rules":{"arrow-body-style":"off","capitalized-comments":"off","comma-dangle":["error","never"],"curly":["error","multi-line"],"operator-linebreak":["error","after"],"object-curly-spacing":["error","always"],"prefer-template":"error","space-before-function-paren":["error","never"],"unicorn/prefer-module":"off","unicorn/prefer-node-protocol":"off","unicorn/prefer-string-slice":"off","unicorn/prefer-top-level-await":"off","unicorn/prevent-abbreviations":"off"}},"_id":"module-definition@6.0.0","gitHead":"2f9175960f1a4a4242a71dd0e8ecbf9ce8e49a15","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"724b4c57543f53f814d2892499857777c3859630","size":3082,"noattachment":false,"key":"/module-definition/-/module-definition-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-6.0.0.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_6.0.0_1712727501861_0.3300488054789845"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-10T05:38:21.998Z","publish_time":1712727501998,"_source_registry_name":"default","_cnpm_publish_time":1712727501998},"5.0.1":{"name":"module-definition","version":"5.0.1","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/cli.js"},"scripts":{"lint":"xo","fix":"xo --fix","mocha":"mocha","test":"npm run lint && npm run mocha","test:ci":"c8 npm run mocha"},"repository":{"type":"git","url":"git+https://github.com/dependents/module-definition.git"},"keywords":[],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"https://mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/dependents/module-definition/issues"},"homepage":"https://github.com/dependents/module-definition","engines":{"node":">=14"},"dependencies":{"ast-module-types":"^5.0.0","node-source-walk":"^6.0.1"},"devDependencies":{"c8":"^7.13.0","memfs":"^3.5.1","mocha":"^10.2.0","unionfs":"^4.4.0","xo":"^0.54.2"},"xo":{"space":true,"ignores":["test/fixtures/*"],"rules":{"arrow-body-style":"off","capitalized-comments":"off","comma-dangle":["error","never"],"curly":["error","multi-line"],"operator-linebreak":["error","after"],"object-curly-spacing":["error","always"],"prefer-template":"error","space-before-function-paren":["error","never"],"unicorn/prefer-module":"off","unicorn/prefer-node-protocol":"off","unicorn/prefer-string-slice":"off","unicorn/prefer-top-level-await":"off","unicorn/prevent-abbreviations":"off"}},"gitHead":"1d8725177fafe04a74c7f8dc84105e1d343b5c9c","_id":"module-definition@5.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"shasum":"62d1194e5d5ea6176b7dc7730f818f466aefa32f","size":3073,"noattachment":false,"key":"/module-definition/-/module-definition-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-5.0.1.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_5.0.1_1683787608545_0.7853769443948455"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-11T06:46:48.748Z","publish_time":1683787608748,"_source_registry_name":"default","_cnpm_publish_time":1683787608748},"5.0.0":{"name":"module-definition","version":"5.0.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/cli.js"},"scripts":{"lint":"xo","fix":"xo --fix","mocha":"mocha","test":"npm run lint && npm run mocha","test:ci":"c8 npm run mocha"},"repository":{"type":"git","url":"git+https://github.com/dependents/module-definition.git"},"keywords":[],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"https://mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/dependents/module-definition/issues"},"homepage":"https://github.com/dependents/module-definition","engines":{"node":">=14"},"dependencies":{"ast-module-types":"^5.0.0","node-source-walk":"^6.0.0"},"devDependencies":{"c8":"^7.13.0","memfs":"^3.5.1","mocha":"^10.2.0","unionfs":"^4.4.0","xo":"^0.54.2"},"xo":{"space":true,"ignores":["test/fixtures/*"],"rules":{"arrow-body-style":"off","capitalized-comments":"off","comma-dangle":["error","never"],"curly":["error","multi-line"],"max-nested-callbacks":["error",6],"operator-linebreak":["error","after"],"object-curly-spacing":["error","always"],"prefer-template":"error","space-before-function-paren":["error","never"],"unicorn/prefer-module":"off","unicorn/prefer-node-protocol":"off","unicorn/prefer-string-slice":"off","unicorn/prefer-top-level-await":"off","unicorn/prevent-abbreviations":"off"},"overrides":[{"files":"test/**","envs":["mocha"]}]},"gitHead":"b7cc5dde5ee83a41e01bb6f5d932c9fcdffc29da","_id":"module-definition@5.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"shasum":"74a806378b341f6739dfa2846d1ae630d7a74644","size":3105,"noattachment":false,"key":"/module-definition/-/module-definition-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-5.0.0.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_5.0.0_1683227235098_0.9150071850954165"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-04T19:07:15.232Z","publish_time":1683227235232,"_source_registry_name":"default","_cnpm_publish_time":1683227235232},"4.1.0":{"name":"module-definition","version":"4.1.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/cli.js"},"scripts":{"lint":"eslint bin index.js \"test/*.js\"","fix":"npm run lint -- --fix","mocha":"mocha","test":"npm run lint && npm run mocha","test:ci":"c8 npm run mocha"},"repository":{"type":"git","url":"git+https://github.com/dependents/module-definition.git"},"keywords":[],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"https://mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/dependents/module-definition/issues"},"homepage":"https://github.com/dependents/module-definition","engines":{"node":">=12"},"dependencies":{"ast-module-types":"^4.0.0","node-source-walk":"^5.0.1"},"devDependencies":{"c8":"^7.13.0","eslint":"^8.36.0","memfs":"^3.4.13","mocha":"^9.2.2","unionfs":"^4.4.0"},"gitHead":"fea1435a2054ffc36dc703c29231633310e88490","_id":"module-definition@4.1.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"148ff9348e3401867229dcbe5947f4f6d5ccd3a2","size":2811,"noattachment":false,"key":"/module-definition/-/module-definition-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-4.1.0.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_4.1.0_1679211904503_0.8511309317623876"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-19T07:45:04.668Z","publish_time":1679211904668,"_cnpm_publish_time":1679211904668},"4.0.0":{"name":"module-definition","version":"4.0.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/cli.js"},"scripts":{"lint":"eslint bin index.js \"test/*.js\"","mocha":"mocha","test":"npm run lint && npm run mocha","test:ci":"c8 npm run mocha"},"repository":{"type":"git","url":"git+https://github.com/dependents/module-definition.git"},"keywords":[],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"https://mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/dependents/module-definition/issues"},"homepage":"https://github.com/dependents/module-definition","engines":{"node":">=12"},"dependencies":{"ast-module-types":"^3.0.0","node-source-walk":"^5.0.0"},"devDependencies":{"c8":"^7.11.0","eslint":"^8.10.0","memfs":"^2.17.1","mocha":"^9.2.1","unionfs":"^3.0.2"},"gitHead":"e4d0a3e853b480f1025cf63b0fa0ea70b4894a8c","_id":"module-definition@4.0.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"shasum":"5b39cca9be28c5b0fec768eb2d9fd8de08a2550b","size":2789,"noattachment":false,"key":"/module-definition/-/module-definition-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-4.0.0.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_4.0.0_1646314497222_0.7630924418212508"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-03T13:35:12.285Z","publish_time":1646314497356,"_cnpm_publish_time":1646314497356},"3.4.0":{"name":"module-definition","version":"3.4.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/cli.js"},"scripts":{"lint":"eslint bin index.js \"test/*.js\"","mocha":"mocha","test":"npm run lint && npm run mocha"},"repository":{"type":"git","url":"git+https://github.com/dependents/module-definition.git"},"bugs":{"url":"https://github.com/dependents/module-definition/issues"},"keywords":[],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"https://mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/dependents/module-definition","dependencies":{"ast-module-types":"^3.0.0","node-source-walk":"^4.0.0"},"devDependencies":{"eslint":"^5.16.0","memfs":"^2.17.1","mocha":"^6.2.3","unionfs":"^3.0.2"},"engines":{"node":">=6.0"},"gitHead":"26af9c53ee091714cecc947a97635b769309bae3","_id":"module-definition@3.4.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"shasum":"953a3861f65df5e43e80487df98bb35b70614c2b","size":2727,"noattachment":false,"key":"/module-definition/-/module-definition-3.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-3.4.0.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_3.4.0_1645529360440_0.9952450084606914"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-22T11:29:25.409Z","publish_time":1645529360564,"_cnpm_publish_time":1645529360564},"3.3.1":{"name":"module-definition","version":"3.3.1","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js && mocha test/test.js"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/module-definition.git"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^2.7.1","node-source-walk":"^4.0.0"},"engines":{"node":">=6.0"},"devDependencies":{"jscs":"^3.0.7","jscs-preset-mrjoelkemp":"~2.0.0","mocha":"^5.2.0","unionfs":"^3.0.2","memfs":"^2.14.1"},"gitHead":"7dbc2356290d7929669560910af7d24f3b8c5cbb","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@3.3.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"dist":{"shasum":"fedef71667713e36988b93d0626a4fe7b35aebfc","size":1999,"noattachment":false,"key":"/module-definition/-/module-definition-3.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-3.3.1.tgz"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_3.3.1_1604247242194_0.0031730089399535366"},"_hasShrinkwrap":false,"publish_time":1604247242342,"_cnpm_publish_time":1604247242342},"3.3.0":{"name":"module-definition","version":"3.3.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js && mocha test/test.js"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/module-definition.git"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^2.6.0","node-source-walk":"^4.0.0"},"engines":{"node":">=6.0"},"devDependencies":{"jscs":"^3.0.7","jscs-preset-mrjoelkemp":"~2.0.0","mocha":"^5.2.0","unionfs":"^3.0.2","memfs":"^2.14.1"},"gitHead":"3e667a7a9b27866b041d02ce79fc6ee7937329a9","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@3.3.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"dist":{"shasum":"aae06d68c99c5f93841e59b8a4469b974956d4d4","size":1998,"noattachment":false,"key":"/module-definition/-/module-definition-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-3.3.0.tgz"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_3.3.0_1574541185269_0.8314910390338246"},"_hasShrinkwrap":false,"publish_time":1574541185396,"_cnpm_publish_time":1574541185396},"3.2.0":{"name":"module-definition","version":"3.2.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js && mocha test/test.js"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/module-definition.git"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^2.4.0","node-source-walk":"^4.0.0"},"engines":{"node":">=6.0"},"devDependencies":{"jscs":"^3.0.7","jscs-preset-mrjoelkemp":"~2.0.0","mocha":"^5.2.0","unionfs":"^3.0.2","memfs":"^2.14.1"},"gitHead":"262a83781552a4f98edc9dab6038b0f869363e37","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@3.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"dist":{"shasum":"a1741d5ddf60d76c60d5b1f41ba8744ba08d3ef4","size":1984,"noattachment":false,"key":"/module-definition/-/module-definition-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-3.2.0.tgz"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_3.2.0_1552871102349_0.44911654700256465"},"_hasShrinkwrap":false,"publish_time":1552871102498,"_cnpm_publish_time":1552871102498},"3.1.0":{"name":"module-definition","version":"3.1.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js && mocha test/test.js"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/module-definition.git"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^2.4.0","node-source-walk":"^4.0.0"},"engines":{"node":">=6.0"},"devDependencies":{"jscs":"^3.0.7","jscs-preset-mrjoelkemp":"~2.0.0","mocha":"^5.2.0"},"gitHead":"5dcca8ced98f5eda53d2864972841b7e206b8b1c","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"dist":{"shasum":"201c062b89f81ed18018e1a2f15afc0c8089a126","size":1798,"noattachment":false,"key":"/module-definition/-/module-definition-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-3.1.0.tgz"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_3.1.0_1537889437176_0.24467517057798172"},"_hasShrinkwrap":false,"publish_time":1537889437332,"_cnpm_publish_time":1537889437332},"3.0.0":{"name":"module-definition","version":"3.0.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js && mocha test/test.js"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/module-definition.git"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^2.3.2","node-source-walk":"^4.0.0"},"engines":{"node":">=6.0"},"devDependencies":{"jscs":"~2.11.0","jscs-preset-mrjoelkemp":"~1.0.0","mocha":"^5.2.0"},"gitHead":"7590f44f048b19b576fe4fd3f81f9f83b416d5b2","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@3.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"dist":{"shasum":"417821e181e217214abe096fef0d2d210925c883","size":1830,"noattachment":false,"key":"/module-definition/-/module-definition-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-3.0.0.tgz"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-definition_3.0.0_1535729318191_0.7212802733165438"},"_hasShrinkwrap":false,"publish_time":1535729318367,"_cnpm_publish_time":1535729318367},"2.2.4":{"name":"module-definition","version":"2.2.4","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js && mocha test/test.js"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/module-definition.git"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^2.3.2","node-source-walk":"^3.0.0"},"devDependencies":{"jscs":"~2.11.0","jscs-preset-mrjoelkemp":"~1.0.0","mocha":"~2.0.1"},"gitHead":"a35ff986fe01eb9fb1c45e7e2f020114d16b0d2e","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@2.2.4","_shasum":"c0a3771de58cf6bcf12aed2476706c596ad4b2cb","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"c0a3771de58cf6bcf12aed2476706c596ad4b2cb","size":1882,"noattachment":false,"key":"/module-definition/-/module-definition-2.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-2.2.4.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/module-definition-2.2.4.tgz_1471004042981_0.6586424431297928"},"directories":{},"publish_time":1471004044994,"_cnpm_publish_time":1471004044994,"_hasShrinkwrap":false},"2.2.3":{"name":"module-definition","version":"2.2.3","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js && mocha test/test.js"},"repository":{"type":"git","url":"git+https://github.com/mrjoelkemp/module-definition.git"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^2.3.2","node-source-walk":"^3.0.0"},"devDependencies":{"jscs":"~2.11.0","jscs-preset-mrjoelkemp":"~1.0.0","mocha":"~2.0.1"},"gitHead":"b3f4efc942fe1d6430fb75b63c554b13c98096fb","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@2.2.3","_shasum":"5f38f6d9fb7a0ab09d4b0747cc7c9a062399db98","_from":".","_npmVersion":"3.8.0","_nodeVersion":"0.12.6","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"5f38f6d9fb7a0ab09d4b0747cc7c9a062399db98","size":1929,"noattachment":false,"key":"/module-definition/-/module-definition-2.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-2.2.3.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/module-definition-2.2.3.tgz_1466047455552_0.02208339865319431"},"directories":{},"publish_time":1466047456500,"_cnpm_publish_time":1466047456500,"_hasShrinkwrap":false},"2.2.2":{"name":"module-definition","version":"2.2.2","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js -p google && mocha test/test.js"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^2.3.0","node-source-walk":"^2.0.0"},"devDependencies":{"jscs":"~1.13.1","mocha":"~2.0.1"},"gitHead":"1bc1618c335321d2751f4164c9dcc812f5042f8b","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@2.2.2","_shasum":"f171773061b8495fa52c521f7193069b1c288947","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"f171773061b8495fa52c521f7193069b1c288947","size":3567,"noattachment":false,"key":"/module-definition/-/module-definition-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-2.2.2.tgz"},"directories":{},"publish_time":1436020969753,"_cnpm_publish_time":1436020969753,"_hasShrinkwrap":false},"2.2.1":{"name":"module-definition","version":"2.2.1","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js -p airbnb && mocha test/test.js"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"~2.2.2","node-source-walk":"~1.4.0"},"devDependencies":{"jscs":"~1.7.3","mocha":"~2.0.1"},"gitHead":"59e45af5f6dc1420c8d23e9494dd701fa9cd09bb","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@2.2.1","_shasum":"c87bedaebb866e146f06295ec8e1b2e447ee1b0e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"c87bedaebb866e146f06295ec8e1b2e447ee1b0e","size":3572,"noattachment":false,"key":"/module-definition/-/module-definition-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-2.2.1.tgz"},"directories":{},"publish_time":1421723815235,"_cnpm_publish_time":1421723815235,"_hasShrinkwrap":false},"2.2.0":{"name":"module-definition","version":"2.2.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js -p airbnb && mocha test/test.js"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"~2.2.1","node-source-walk":"~1.4.0"},"devDependencies":{"jscs":"~1.7.3","mocha":"~2.0.1"},"gitHead":"76de4332759fef6819be3492b25a1c816d9f6c5d","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@2.2.0","_shasum":"034df874e931d635f6e379c576643ddba345ac85","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"034df874e931d635f6e379c576643ddba345ac85","size":3450,"noattachment":false,"key":"/module-definition/-/module-definition-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-2.2.0.tgz"},"directories":{},"publish_time":1418519978585,"_cnpm_publish_time":1418519978585,"_hasShrinkwrap":false},"2.1.0":{"name":"module-definition","version":"2.1.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jscs test/test.js index.js bin/module-definition.js -p airbnb && mocha test/test.js"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"~2.2.1","node-source-walk":"~1.2.0"},"devDependencies":{"jscs":"~1.7.3","mocha":"~2.0.1"},"gitHead":"6b98ed0825185115200ef61cd1563717155cf31b","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@2.1.0","_shasum":"aef8bc2975e9f700de30fed1102fab51d424f8fc","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"aef8bc2975e9f700de30fed1102fab51d424f8fc","size":3115,"noattachment":false,"key":"/module-definition/-/module-definition-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-2.1.0.tgz"},"directories":{},"publish_time":1415818225062,"_cnpm_publish_time":1415818225062,"_hasShrinkwrap":false},"2.0.1":{"name":"module-definition","version":"2.0.1","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"mocha test/test.js"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"~2.1.0","node-source-walk":"~1.2.0"},"devDependencies":{"mocha":"~2.0.1"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@2.0.1","dist":{"shasum":"beec38e04bafbe03cc9910c2386f4f16d2d9c083","size":2774,"noattachment":false,"key":"/module-definition/-/module-definition-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-2.0.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"publish_time":1415074999631,"_cnpm_publish_time":1415074999631,"_hasShrinkwrap":false},"2.0.0":{"name":"module-definition","version":"2.0.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"mocha test/test.js"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"~2.1.0","node-source-walk":"~1.2.0"},"devDependencies":{"mocha":"~2.0.1"},"gitHead":"c9239a857245609a220728db190212751cb6847a","bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@2.0.0","_shasum":"1eafe6a511057987281acb9d91fdb0eae96303c7","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"1eafe6a511057987281acb9d91fdb0eae96303c7","size":2498,"noattachment":false,"key":"/module-definition/-/module-definition-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-2.0.0.tgz"},"directories":{},"publish_time":1414794210743,"_cnpm_publish_time":1414794210743,"_hasShrinkwrap":false},"1.2.4":{"name":"module-definition","version":"1.2.4","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jasmine-node --verbose test"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^1.2.0","node-source-walk":"^1.1.0"},"devDependencies":{"jasmine-node":"2.x.x"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.2.4","_shasum":"db1b410d07132e39f832ce912bf6940cb5217f71","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"db1b410d07132e39f832ce912bf6940cb5217f71","size":2373,"noattachment":false,"key":"/module-definition/-/module-definition-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.2.4.tgz"},"directories":{},"publish_time":1402336867938,"_cnpm_publish_time":1402336867938,"_hasShrinkwrap":false},"1.2.3":{"name":"module-definition","version":"1.2.3","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","bin":{"module-definition":"bin/module-definition.js"},"scripts":{"test":"jasmine-node --verbose test"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^1.1.1","node-source-walk":"^1.1.0"},"devDependencies":{"jasmine-node":"2.x.x"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.2.3","_shasum":"398a68734a8d1734ce0debff9a5ebebf0a26b355","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"398a68734a8d1734ce0debff9a5ebebf0a26b355","size":2482,"noattachment":false,"key":"/module-definition/-/module-definition-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.2.3.tgz"},"directories":{},"publish_time":1402335856262,"_cnpm_publish_time":1402335856262,"_hasShrinkwrap":false},"1.2.2":{"name":"module-definition","version":"1.2.2","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","scripts":{"test":"jasmine-node --verbose test"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^1.1.1","node-source-walk":"^1.1.0"},"devDependencies":{"jasmine-node":"2.x.x"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.2.2","_shasum":"b45fe074e5c74616ec5cbc1930f93ab58320e0aa","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"b45fe074e5c74616ec5cbc1930f93ab58320e0aa","size":2339,"noattachment":false,"key":"/module-definition/-/module-definition-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.2.2.tgz"},"directories":{},"publish_time":1402203320761,"_cnpm_publish_time":1402203320761,"_hasShrinkwrap":false},"1.2.1":{"name":"module-definition","version":"1.2.1","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","scripts":{"test":"jasmine-node --verbose test"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^1.1.1","node-source-walk":"^1.1.0"},"devDependencies":{"jasmine-node":"2.x.x"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.2.1","_shasum":"d7781c07ee94c05923bed1ce0439b8ff228af872","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"d7781c07ee94c05923bed1ce0439b8ff228af872","size":2221,"noattachment":false,"key":"/module-definition/-/module-definition-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.2.1.tgz"},"directories":{},"publish_time":1402197328428,"_cnpm_publish_time":1402197328428,"_hasShrinkwrap":false},"1.2.0":{"name":"module-definition","version":"1.2.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","scripts":{"test":"jasmine-node --verbose test"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"ast-module-types":"^1.1.1","node-source-walk":"^1.1.0"},"devDependencies":{"jasmine-node":"2.x.x"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.2.0","_shasum":"70585faa8423ee18937c18251aa44cf95ce9e13d","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"dist":{"shasum":"70585faa8423ee18937c18251aa44cf95ce9e13d","size":2458,"noattachment":false,"key":"/module-definition/-/module-definition-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.2.0.tgz"},"directories":{},"publish_time":1402195189801,"_cnpm_publish_time":1402195189801,"_hasShrinkwrap":false},"1.1.0":{"name":"module-definition","version":"1.1.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","scripts":{"test":"jasmine-node --verbose test"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"node-source-walk":"^1.1.0","ast-module-types":"^1.0.0"},"devDependencies":{"jasmine-node":"2.x.x"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.1.0","dist":{"shasum":"1b8d7af85faec07ef04eafb4ce8261cbd03f0392","size":1977,"noattachment":false,"key":"/module-definition/-/module-definition-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.1.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"publish_time":1401592647183,"_cnpm_publish_time":1401592647183,"_hasShrinkwrap":false},"1.0.4":{"name":"module-definition","version":"1.0.4","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"node-source-walk":"^1.1.0","ast-module-types":"^1.0.0"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.0.4","dist":{"shasum":"87b4a4f0b79da5a7bf3daf9036f8f09ba9cfbe2f","size":1597,"noattachment":false,"key":"/module-definition/-/module-definition-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.0.4.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"publish_time":1396031845953,"_cnpm_publish_time":1396031845953,"_hasShrinkwrap":false},"1.0.3":{"name":"module-definition","version":"1.0.3","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"node-source-walk":"^1.1.0"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.0.3","dist":{"shasum":"282cf2788880d3196fb957670f4f02d29a4e88fb","size":1632,"noattachment":false,"key":"/module-definition/-/module-definition-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.0.3.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"publish_time":1395350530488,"_cnpm_publish_time":1395350530488,"_hasShrinkwrap":false},"1.0.2":{"name":"module-definition","version":"1.0.2","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"node-source-walk":"^1.0.0"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.0.2","dist":{"shasum":"513558cbe5af7712f4eae31a9248ebe02b19faf4","size":1062,"noattachment":false,"key":"/module-definition/-/module-definition-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.0.2.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"publish_time":1395182989974,"_cnpm_publish_time":1395182989974,"_hasShrinkwrap":false},"1.0.1":{"name":"module-definition","version":"1.0.1","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"esprima":"^1.0.4"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.0.1","dist":{"shasum":"e80a21871b916513aa27ebc00de189cef187836b","size":1371,"noattachment":false,"key":"/module-definition/-/module-definition-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.0.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"publish_time":1395179049294,"_cnpm_publish_time":1395179049294,"_hasShrinkwrap":false},"1.0.0":{"name":"module-definition","version":"1.0.0","description":"Determines if a file is using a CommonJS or AMD module definition","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/module-definition"},"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","homepage":"https://github.com/mrjoelkemp/module-definition","dependencies":{"esprima":"^1.0.4"},"bugs":{"url":"https://github.com/mrjoelkemp/module-definition/issues"},"_id":"module-definition@1.0.0","dist":{"shasum":"0c94ac5cf6dfb7f1aec642adee24cc80359a37c7","size":1440,"noattachment":false,"key":"/module-definition/-/module-definition-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-definition/download/module-definition-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},{"name":"pahen","email":"patrik.henningsson@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"publish_time":1395167281210,"_cnpm_publish_time":1395167281210,"_hasShrinkwrap":false}},"readme":"# module-definition\n\n[![CI](https://img.shields.io/github/actions/workflow/status/dependents/module-definition/ci.yml?branch=main&label=CI&logo=github)](https://github.com/dependents/module-definition/actions/workflows/ci.yml?query=branch%3Amain)\n[![npm version](https://img.shields.io/npm/v/module-definition?logo=npm&logoColor=fff)](https://www.npmjs.com/package/module-definition)\n[![npm downloads](https://img.shields.io/npm/dm/module-definition)](https://www.npmjs.com/package/module-definition)\n\nDetermines the module definition type (CommonJS, AMD, ES6, or none) for a given JavaScript file\nby walking through the AST.\n\n```sh\nnpm install module-definition\n```\n\n## Usage\n\n```js\nconst getModuleType = require('module-definition');\n\n// Async\ngetModuleType('myscript.js', (error, type) => {\n  console.log(type);\n});\n\n// Sync\nlet type = getModuleType.sync('myscript.js');\nconsole.log(type);\n\n// From source (string or an AST)\ntype = getModuleType.fromSource('define({foo: \"foo\"});');\nconsole.log(type);\n```\n\nPasses one of the following strings to the given callback or returns the string in sync API:\n\n* amd\n* commonjs\n* es6\n* none\n\nYou may also pass an AST to `fromSource` to avoid an internal parsing of the source.\n\nWhen specifying a filename, using the sync or async API, you can also provide an `options` object with an alternative `fs` implementation used to read the source file with.\n\n```js\nconst myFs = GetFs();\nconst options = { fileSystem: myFs };\n\n// Async\ngetModuleType('myscript.js', (error, type) => {\n  console.log(type);\n}, options);\n\n// Sync\nconst type = getModuleType.sync('myscript.js', options);\n```\n\n## CLI\n\n*Assumes a global install module-definition with `npm install -g module-definition`*\n\n```sh\nmodule-definition filename\n```\n\n### License\n\n[MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/dependents/module-definition","bugs":{"url":"https://github.com/dependents/module-definition/issues"},"license":"MIT"}