{"_id":"babel-flow-scope","_rev":"5-5eaca99f76782421d6ca0a87991f4fbf","name":"babel-flow-scope","description":"Collect Flow bindings in a given scope","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"babel-flow-scope","version":"1.0.0","description":"Collect Flow bindings in a given scope","main":"index.js","repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-flow-scope.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","files":[],"scripts":{"test":"jest"},"devDependencies":{"ast-pretty-print":"^1.3.0","babel-plugin-tester":"^3.0.0","babylon-options":"^1.1.2","flow-bin":"^0.47.0","jest":"^20.0.4"},"gitHead":"236f36f66bf47402616d0589e3e09243d8d0d088","bugs":{"url":"https://github.com/babel-utils/babel-flow-scope/issues"},"homepage":"https://github.com/babel-utils/babel-flow-scope#readme","_id":"babel-flow-scope@1.0.0","_shasum":"98a2d247aa25979c436217804c0f4ef2d5fbb633","_from":".","_npmVersion":"4.2.0","_nodeVersion":"8.0.0","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"98a2d247aa25979c436217804c0f4ef2d5fbb633","tarball":"https://registry.npmjs.org/babel-flow-scope/-/babel-flow-scope-1.0.0.tgz","integrity":"sha512-t8qw1I3z1Zz3orsvc+kROhfpUkDbEBKp2gEv8u+YAskEcyKkrTEKSB4+rYSg846Pkw4m0qJOwZti7Iyz8I9T0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDph/FP7yo10MRmPiuv5lurAuXOMYDZL0C04OWVSoEoPQIgHmbVN1vPinT50m/EBDkxrF2WZXTebazzfTFqI/oGIdg="}]},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-flow-scope-1.0.0.tgz_1496365539448_0.08254258637316525"}},"1.1.0":{"name":"babel-flow-scope","version":"1.1.0","description":"Collect Flow bindings in a given scope","main":"index.js","repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-flow-scope.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","files":[],"scripts":{"test":"jest"},"devDependencies":{"ast-pretty-print":"^1.3.0","babel-plugin-tester":"^3.0.0","babylon-options":"^1.1.2","flow-bin":"^0.47.0","jest":"^20.0.4"},"gitHead":"301048340d2c8a06a2a58f888bc0c26dc72e6489","bugs":{"url":"https://github.com/babel-utils/babel-flow-scope/issues"},"homepage":"https://github.com/babel-utils/babel-flow-scope#readme","_id":"babel-flow-scope@1.1.0","_shasum":"3b671fa57bbf53287e70e7a5bf066285aa0fd854","_from":".","_npmVersion":"4.2.0","_nodeVersion":"8.0.0","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"3b671fa57bbf53287e70e7a5bf066285aa0fd854","tarball":"https://registry.npmjs.org/babel-flow-scope/-/babel-flow-scope-1.1.0.tgz","integrity":"sha512-TP9+GL22Qqv31gjsR81vBggY6jmB9mi9HviiYGdMJdK2fguYfStsSIcbEpTz4A4zFV0JGBZ6gWwk6w8TxuCFKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlu6cZDhHtJy20mfYtLm1Fb+n+fFiLjp/H9UpNn9trfQIgTWM35G7arJVu9pGBo0x6RTikrwSWZHxqr1ljGBTLByQ="}]},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-flow-scope-1.1.0.tgz_1496369834258_0.5025696363300085"}},"1.2.0":{"name":"babel-flow-scope","version":"1.2.0","description":"Collect Flow bindings in a given scope","main":"index.js","repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-flow-scope.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","files":[],"scripts":{"test":"jest"},"devDependencies":{"ast-pretty-print":"^1.3.0","babel-plugin-tester":"^3.0.0","babylon-options":"^1.1.2","flow-bin":"^0.47.0","jest":"^20.0.4"},"gitHead":"74f6958cee7b74d54c5345b335af7577c38de501","bugs":{"url":"https://github.com/babel-utils/babel-flow-scope/issues"},"homepage":"https://github.com/babel-utils/babel-flow-scope#readme","_id":"babel-flow-scope@1.2.0","_shasum":"2f4cc99495e87a38e0615e4e938db238e48f51a7","_from":".","_npmVersion":"4.2.0","_nodeVersion":"8.0.0","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"2f4cc99495e87a38e0615e4e938db238e48f51a7","tarball":"https://registry.npmjs.org/babel-flow-scope/-/babel-flow-scope-1.2.0.tgz","integrity":"sha512-vUV5SAr3Y3yUVJcjvTTJTZNutQRzZG2pVG9fbEmIwaucNJa9zzwXOhndEtlOXnW2GlyZv5gUsTvBX4LKcGPlxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDepJ5d0RSu/WpoQqNpSKN68bKd/RIiXcpZkSJK1QOvJQIhALtPcScbIWbG9dJrKOUaXdUV2NJTUaEr8UlWdim11Zhn"}]},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-flow-scope-1.2.0.tgz_1496438341012_0.20034101326018572"}},"1.2.1":{"name":"babel-flow-scope","version":"1.2.1","description":"Collect Flow bindings in a given scope","main":"index.js","repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-flow-scope.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","files":[],"scripts":{"test":"jest"},"devDependencies":{"ast-pretty-print":"^1.3.0","babel-plugin-tester":"^3.0.0","babylon-options":"^1.1.2","flow-bin":"^0.47.0","jest":"^20.0.4"},"gitHead":"c2c3887e881e4b3e3fe471adcafee1277b4ffd12","bugs":{"url":"https://github.com/babel-utils/babel-flow-scope/issues"},"homepage":"https://github.com/babel-utils/babel-flow-scope#readme","_id":"babel-flow-scope@1.2.1","_shasum":"2b646211811a203ef0b11ebd219af29428b15990","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"2b646211811a203ef0b11ebd219af29428b15990","tarball":"https://registry.npmjs.org/babel-flow-scope/-/babel-flow-scope-1.2.1.tgz","integrity":"sha512-dJzKuxbtxLiZBzxA1i3p1WBEyPsz96I9ZSZUGvt8xFZiPXIkYrNWei1YpzzVnOmKDVOljsyrIveRaGnpEoTQhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdVKI5NfQaOgzx5FMB1nJ2fK7CPFfTBOToQ5gyf0wePQIgUTuW93WDSICftZe3HiTzTu0KhSZzXAFMMFPJTpiewHE="}]},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-flow-scope-1.2.1.tgz_1507186787264_0.10112229408696294"}}},"readme":"# babel-flow-scope\n\n> Collect [Flow](https://flow.org/) bindings in a given scope\n\n```js\nimport type foo from \"mod\";\ntype baz<bar> = {};\n```\n\n```js\nimport {getFlowBindingsInScope} from 'babel-flow-scope';\n\ngetFlowBindingsInScope(path);\n// {\n//   foo: {\n//     kind: 'import',\n//     path: (Identifier)\n//   },\n//   bar: {\n//     kind: 'param',\n//     path: (TypeParameter)\n//   },\n//   baz: {\n//     kind: 'declaration',\n//     path: (Identifier)\n//   }\n// }\n```\n\n## API\n\n#### `getFlowScopePath(path)`\n\nFind the closest path to a Flow scope.\n\n#### `getFlowBindingsInScope(path)`\n\nRetreive all the Flow bindings in the local Flow scope.\n\n#### `findFlowBinding(path, name)`\n\nSearch for a binding in the current scope and parent scopes.\n","maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"time":{"modified":"2022-06-13T03:59:54.589Z","created":"2017-06-02T01:05:39.587Z","1.0.0":"2017-06-02T01:05:39.587Z","1.1.0":"2017-06-02T02:17:14.340Z","1.2.0":"2017-06-02T21:19:01.079Z","1.2.1":"2017-10-05T06:59:47.386Z"},"homepage":"https://github.com/babel-utils/babel-flow-scope#readme","repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-flow-scope.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"bugs":{"url":"https://github.com/babel-utils/babel-flow-scope/issues"},"license":"MIT","readmeFilename":"README.md"}