{"name":"babel-identifiers","version":"1.1.1","description":"Classify Babel identifiers","main":"index.js","repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-identifiers.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","files":["index.js"],"scripts":{"test":"jest"},"devDependencies":{"babel-core":"^7.0.0-alpha.19","babylon-options":"^1.1.2","flow-bin":"^0.47.0","jest":"^20.0.4"},"gitHead":"79add000a2f1da9f0e2e2eedcbf4726cf55aef36","bugs":{"url":"https://github.com/babel-utils/babel-identifiers/issues"},"homepage":"https://github.com/babel-utils/babel-identifiers#readme","_id":"babel-identifiers@1.1.1","_shasum":"9ff5a8976c2079cae530c2b03d6747094724f8e9","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"9ff5a8976c2079cae530c2b03d6747094724f8e9","tarball":"http://registry-npm.ywwl.com/babel-identifiers/download/babel-identifiers-1.1.1.tgz","integrity":"sha512-NS8bxr8+lND3eNEEiXDjvfXRY2UZWF4p3YRDYxUm6tW3ehaypUUQkSEiKEQqnyoDudRNQDOoDxQpVyJOFssNEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCumODmRXmtQL96jIpEAQINs/slooAtO+KFe03saS+MuQIhANMmuC9c/RBMHKNhqSJOx9TYcPKO5GXfFEoke/c9rhvJ"}],"size":1968,"noattachment":false,"key":"/babel-identifiers/-/babel-identifiers-1.1.1.tgz"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-identifiers-1.1.1.tgz_1504138244174_0.11253939289599657"},"directories":{},"readme":"# babel-identifiers\n\n> Classify Babel identifiers\n\n### Installation\n\n```sh\nyarn add babel-identifiers\n```\n\n### Usage\n\nIdentifier nodes fall into one of three kinds:\n\n1. \"binding\" - `let binding = ...`\n2. \"reference\" - `reference;`\n3. \"static\" - `a.static`\n\nAnd into one of four grammars:\n\n1. \"javascript\" - `let javascript = ...`\n1. \"jsx\" - `<jsx/>`\n2. \"flow\" - `({}: flow)`\n3. \"typescript\" - `enum typescript {}`\n\n```js\nimport {getIdentifierKind, getIdentifierGrammar} from 'babel-identifiers';\n\nisIdentifierLike(path); // true | false\ngetIdentifierKind(path); // \"binding\" | \"reference\" | \"static\"\ngetIdentifierGrammar(path); // \"javascript\" | \"flow\" | \"typescript\"\n```\n","publish_time":1504138244254,"_cnpm_publish_time":1504138244254,"dist-tags":{"latest":"2.0.1"}}