{"maintainers":[{"name":"anonymous","email":"mathieu@dutour.me"}],"keywords":["exec","expression","expressions","find","match","matcher","matches","matching","module","modules","re","regex","regexp","regular","require","requires","statement","test"],"dist-tags":{"latest":"0.2.0"},"author":{"name":"Mathieu Dutour","email":"mathieu@dutour.me"},"description":"Regular expression for matching javascript require/import statements.","readme":"# deps-regex\n\n> Regular expression for matching javascript require/import statements.\n\nThis is pretty fragile and created for perf reasons where using a real parser would be overkill.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\nnpm install --save deps-regex\n```\n\n## Usage\n\n```js\nvar DepsRegex = require(\"deps-regex\");\nvar re = new DepsRegex({\n  matchInternal: true,\n  matchES6: true,\n  matchCoffeescript: true,\n});\n\nre.getDependencies(\"var foo = require('bar');\");\n// => [ 'bar']\n```\n\n## Known false positives\n\n```js\nmodule.exports = 'require(\"false-positive\");';\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/mathieudutour/deps-regex/issues/new).\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\nnpm install && npm test\n```\n\n## License\n\nReleased under the MIT license.\n","repository":{"type":"git","url":"git+https://github.com/mathieudutour/deps-regex.git"},"bugs":{"url":"https://github.com/mathieudutour/deps-regex/issues"},"license":"MIT","versions":{"0.1.0":{"name":"deps-regex","description":"Regular expression for matching javascript require statements.","version":"0.1.0","homepage":"https://github.com/mathieudutour/deps-regex","author":{"name":"Mathieu Dutour","email":"mathieu@dutour.me"},"repository":{"type":"git","url":"git+https://github.com/mathieudutour/deps-regex.git"},"bugs":{"url":"https://github.com/mathieudutour/deps-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","eslint":"^1.6.0"},"keywords":["exec","expression","expressions","find","match","matcher","matches","matching","module","modules","re","regex","regexp","regular","require","requires","statement","test"],"gitHead":"6716cdd5cebcb9cbe5d54f441bbcd56a5c4d9966","_id":"deps-regex@0.1.0","_shasum":"dab9b34cfdee424d19caef2f7be2e3f0759154b4","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"anonymous","email":"mathieu@dutour.me"},"dist":{"shasum":"dab9b34cfdee424d19caef2f7be2e3f0759154b4","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/deps-regex/-/deps-regex-0.1.0.tgz","integrity":"sha512-kBrR2iysD/NHDcXxuu1TogYm19zTYzINZ/g4Z+LeomeHp4QiyO4s4w4Vbo5/wnfXY5ZGbDZ+PkpvWJnjlhhYVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDul3rnWl8yqCP/MxTAXcskUxisu68CjOjMJGMzGPTcWgIgPRcNeGtIBQtCy1vq2HSfUBKfhTosEizAiQKuiwgxnvU="}]},"maintainers":[{"name":"anonymous","email":"mathieu@dutour.me"}],"directories":{}},"0.1.1":{"name":"deps-regex","description":"Regular expression for matching javascript require statements.","version":"0.1.1","homepage":"https://github.com/mathieudutour/deps-regex","author":{"name":"Mathieu Dutour","email":"mathieu@dutour.me"},"repository":{"type":"git","url":"git+https://github.com/mathieudutour/deps-regex.git"},"bugs":{"url":"https://github.com/mathieudutour/deps-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","eslint":"^1.6.0"},"keywords":["exec","expression","expressions","find","match","matcher","matches","matching","module","modules","re","regex","regexp","regular","require","requires","statement","test"],"gitHead":"e7e29cc6397ee3167e6a44d5aae3a05cefaaa999","_id":"deps-regex@0.1.1","_shasum":"343e9973da9f0196a6c441972766b85f8137bf92","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"anonymous","email":"mathieu@dutour.me"},"dist":{"shasum":"343e9973da9f0196a6c441972766b85f8137bf92","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/deps-regex/-/deps-regex-0.1.1.tgz","integrity":"sha512-YxScpOgIX+Ck9T0Z2nch7aVK/zqO6NahErtk0eD3jICeVsBI1agpTcvSuQRMW9E0D53gW5kOL9b/URFpj3lzLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1IXrOFci4FRm4nEVSmxS6kO1KFEhtyMdRr3v6NPVu9AiEAi8y7OwtoxL7YOAPrZbV8d2LN1tA7Ta+YlUKPJoACCGE="}]},"maintainers":[{"name":"anonymous","email":"mathieu@dutour.me"}],"directories":{}},"0.1.2":{"name":"deps-regex","description":"Regular expression for matching javascript require statements.","version":"0.1.2","homepage":"https://github.com/mathieudutour/deps-regex","author":{"name":"Mathieu Dutour","email":"mathieu@dutour.me"},"repository":{"type":"git","url":"git+https://github.com/mathieudutour/deps-regex.git"},"bugs":{"url":"https://github.com/mathieudutour/deps-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","eslint":"^1.6.0"},"keywords":["exec","expression","expressions","find","match","matcher","matches","matching","module","modules","re","regex","regexp","regular","require","requires","statement","test"],"gitHead":"1b967d6dc88d9fc81ba4e13dc82073882267dbf4","_id":"deps-regex@0.1.2","_shasum":"38151a2a3f18fcef94777bb9fddc23b40bf52e65","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"anonymous","email":"mathieu@dutour.me"},"dist":{"shasum":"38151a2a3f18fcef94777bb9fddc23b40bf52e65","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/deps-regex/-/deps-regex-0.1.2.tgz","integrity":"sha512-MMIjBsejnzeX7f8wvhftE47zFFupN8Lq2atfuO/+Uhg6bjQHOXrqyLRDWLTJ3SDWN8zPGqv4uatg26TGA1naDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF+02eFGQF9ABbbNsppZXNfID++z3yX7/+5zD08CGFi6AiB6tp+tZ3nEP8s7+1FyJSvYQ4MbYWNcAJlx5w07Fn61wQ=="}]},"maintainers":[{"name":"anonymous","email":"mathieu@dutour.me"}],"directories":{}},"0.1.3":{"name":"deps-regex","description":"Regular expression for matching javascript require statements.","version":"0.1.3","homepage":"https://github.com/mathieudutour/deps-regex","author":{"name":"Mathieu Dutour","email":"mathieu@dutour.me"},"repository":{"type":"git","url":"git+https://github.com/mathieudutour/deps-regex.git"},"bugs":{"url":"https://github.com/mathieudutour/deps-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","eslint":"^1.6.0"},"keywords":["exec","expression","expressions","find","match","matcher","matches","matching","module","modules","re","regex","regexp","regular","require","requires","statement","test"],"gitHead":"36b03bb3ed34a2d00991c23c8abf4076de4b4d11","_id":"deps-regex@0.1.3","_shasum":"738e62100187b704736f06ed8c3816d04ceee592","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"anonymous","email":"mathieu@dutour.me"},"dist":{"shasum":"738e62100187b704736f06ed8c3816d04ceee592","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/deps-regex/-/deps-regex-0.1.3.tgz","integrity":"sha512-N18WfAsgRWWAoO0SeE9Zl78Otcm7evREUGr7zohu1jgbxwTtHM56h9z/PJ1fwxRfSRmRrqscL6R8Y3+c65rZbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpFcYB9YqNyRrzblyHyq+W+gNc0aScO7tQf1WllVziOQIhAISq8raDXFSpU80sJH12y8npzy9FM3opZbxySVw7CUTj"}]},"maintainers":[{"name":"anonymous","email":"mathieu@dutour.me"}],"directories":{}},"0.1.4":{"name":"deps-regex","description":"Regular expression for matching javascript require statements.","version":"0.1.4","homepage":"https://github.com/mathieudutour/deps-regex","author":{"name":"Mathieu Dutour","email":"mathieu@dutour.me"},"repository":{"type":"git","url":"git+https://github.com/mathieudutour/deps-regex.git"},"bugs":{"url":"https://github.com/mathieudutour/deps-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*","eslint":"^1.6.0"},"keywords":["exec","expression","expressions","find","match","matcher","matches","matching","module","modules","re","regex","regexp","regular","require","requires","statement","test"],"gitHead":"601e24f47de489bc98640fd2e3b85692de9bc080","_id":"deps-regex@0.1.4","_shasum":"518667b7691460a5e7e0a341be76eb7ce8090184","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"anonymous","email":"mathieu@dutour.me"},"dist":{"shasum":"518667b7691460a5e7e0a341be76eb7ce8090184","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/deps-regex/-/deps-regex-0.1.4.tgz","integrity":"sha512-3tzwGYogSJi8HoG93R5x9NrdefZQOXgHgGih/7eivloOq6yC6O+yoFxZnkgP661twvfILONfoKRdF9GQOGx2RA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+ZczSSjctdRiySwwSYgt+EcKYTjdypmBOTr815kEulwIgFbNECEk9thTH4OhZnKfD17sk1/MUR8vcSUz9qnkmyKI="}]},"maintainers":[{"name":"anonymous","email":"mathieu@dutour.me"}],"directories":{}},"0.2.0":{"name":"deps-regex","description":"Regular expression for matching javascript require/import statements.","version":"0.2.0","homepage":"https://github.com/mathieudutour/deps-regex","author":{"name":"Mathieu Dutour","email":"mathieu@dutour.me"},"repository":{"type":"git","url":"git+https://github.com/mathieudutour/deps-regex.git"},"bugs":{"url":"https://github.com/mathieudutour/deps-regex/issues"},"license":"MIT","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha","lint":"eslint .","generate-types":"tsc index.js --declaration --allowJs --emitDeclarationOnly"},"devDependencies":{"eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","mocha":"*","prettier":"^2.4.1","should":"*","typescript":"^4.4.3"},"keywords":["exec","expression","expressions","find","match","matcher","matches","matching","module","modules","re","regex","regexp","regular","require","requires","statement","test"],"gitHead":"4932b91bb04a80b560da9bc9f9b6139bca36a8ce","_id":"deps-regex@0.2.0","_nodeVersion":"14.15.1","_npmVersion":"7.7.3","dist":{"integrity":"sha512-PwuBojGMQAYbWkMXOY9Pd/NWCDNHVH12pnS7WHqZkTSeMESe4hwnKKRp0yR87g37113x4JPbo/oIvXY+s/f56Q==","shasum":"3ee7ddae5fd784f3accf29d5a711aa6e10044137","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/deps-regex/-/deps-regex-0.2.0.tgz","fileCount":5,"unpackedSize":6820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2oFCCRA9TVsSAnZWagAAsF0P/A+QbrFXsS2a1BmbbNwq\na75DCiFZbEuaVEBtp+Uq1SpmrWHOMPirGBFW0X+kjeZJgIH64JetQTdBX3ji\nVqqRD7sYaF9W/+WnUl94a2Tn+egCdhFtJZOvjriq40O7RrfPPQWQmThxsFaK\nPbQesfLy4veXnee8T1I2llZxFtSc+rixV7ZaAeKzIdLpPHXRzwr0usBxR4MN\n4TFhllE5zqtkw0oi8+5abBzJ6p/5NrOOIfKJg/0g7g3DNDMCfvwJ8WNJiPy9\nxHv95WFJYoW52HPqgDksdDPIMoH+UIpMu0HByAyeytYdwmM+DFyjH2XbjNpe\naGCH3bXy6e4KsnDj+3iO+72wBAu19a8dFpMmWZufmyaYK9yzzdcwm5rVztYr\nwesNSWv6L+QeQ6BQQroz3Rh+XMtMO3C91QKr/X4P82TBVZhyJ4XGu0wcIw7F\nY3AHVOYs8maWqWIRq28VnTC2OS/hWDd+o2mgDegI+Wb1WpQd2HL7d0guB24U\n0t/MthVCGrtvKWxUgGtV8tB/1y/+ZThn3+85Rsf/tGTWDqqy82IwOoMMA8p2\nQjSfwPabndHcipWLqpKhqF7mzrkL3zHaY5Yw/ILlbh6UzeHEw2nTzd6LxyW8\n9B3Wjgg2Fz7wtQgpP0ACpmvsnTxKuJtPAbOpJ2L5GmlMx6fr47e2dnEl9/I6\nrCau\r\n=4Wwp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAJViQ4C3bbjIh13kMWgHAwKtVh66o8az7srzD5zX6B9AiEAqbPtLZU0IQMj1FIla/KekqcqWlIIVeES9B+ujzXqKQQ="}]},"_npmUser":{"name":"anonymous","email":"mathieu@dutour.me"},"directories":{},"maintainers":[{"name":"anonymous","email":"mathieu@dutour.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deps-regex_0.2.0_1632831263475_0.7386013013533059"},"_hasShrinkwrap":false}},"name":"deps-regex","time":{"modified":"2022-06-15T01:13:03.041Z","created":"2015-10-16T09:42:22.517Z","0.1.0":"2015-10-16T09:42:22.517Z","0.1.1":"2015-10-16T09:53:35.645Z","0.1.2":"2015-10-16T15:04:25.837Z","0.1.3":"2015-10-16T15:24:54.828Z","0.1.4":"2015-10-16T15:29:25.183Z","0.2.0":"2021-09-28T12:14:23.630Z"},"readmeFilename":"README.md","homepage":"https://github.com/mathieudutour/deps-regex"}