{"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,"dist-tags":{"latest":"6.0.0"}}