{"name":"acorn-class-fields","description":"Support for class fields in acorn","homepage":"https://github.com/acornjs/acorn-class-fields","contributors":[{"name":"Adrian Heine","email":"mail@adrianheine.de"}],"engines":{"node":">=4.8.2"},"repository":{"type":"git","url":"git+https://github.com/acornjs/acorn-class-fields.git"},"license":"MIT","scripts":{"test":"mocha","test:test262":"node run_test262.js","lint":"eslint -c .eslintrc.json ."},"peerDependencies":{"acorn":"^6.0.0"},"version":"0.2.0","devDependencies":{"acorn":"^6.0.0","eslint":"^5.5.0","eslint-plugin-node":"^7.0.1","mocha":"^5.2.0","test262":"git+https://github.com/tc39/test262.git#e286bfa00086226f781a3ed4e0a6295634b8ed11","test262-parser-runner":"^0.4.0"},"gitHead":"6ebf3c579ddd627fdc3bd97c8852411a57318c97","bugs":{"url":"https://github.com/acornjs/acorn-class-fields/issues"},"_id":"acorn-class-fields@0.2.0","_npmVersion":"5.8.0","_nodeVersion":"8.11.2","_npmUser":{"name":"adrianheine","email":"mail@adrianheine.de"},"dist":{"integrity":"sha512-PB4nsyCzGsCAXQ+VjAaEhFS0CSyZsgPM0ZYtj/of3tNUG9UyOLFDoDqMjLpsB9g8GiWSXY3F596OHklQZMVifA==","shasum":"ef43960b9b65422d86244fac10b328b15d3930c1","tarball":"http://registry-npm.ywwl.com/acorn-class-fields/download/acorn-class-fields-0.2.0.tgz","fileCount":10,"unpackedSize":28995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm4oGCRA9TVsSAnZWagAAl5MP/0mDAEol4KqY6m9ZImVv\nEkfLwIFRuEDtZN7pa7dFRWUH8WaGN1DsZ75QlLk+rfIFKatHpAs6G7CRWzTh\nbg+vlFWH0uNi5w8kJ4s9arDtRBVyfVwRaRAeeKEnUfD3FdY4p+ld+7gIPw3v\nBzh455IDWlgssVcSxpm512ZocCtjY5Vc+PhLHALE2RAqqUtxBVlsaS2bew1X\nWK1brNXJz9dbNqVGCYtzN2fxZB1KM+Rtz058bXRf4NgfgSc8WXdcKSU7YaKb\nS2RsfAXtBYwF/hvBmDBajkLl11tDXRDyeYUhF/2Ls0oRzgmRLLoKvXIUK1E5\nzMvmO/jeV4zgMFpa0VUnwjFZV6EonpI7HY+Jk2vVlshGVT4DcnkAVGkQK7Wf\nQj82YacW5fjEkImARvp0+3hyNsMmOEdLaYPk2aOMhYZ6I4EFqR2TPKAwBDSi\nFfGCYLMTEOHm1pWdC3Jtisr3ZxdO2TXZ5SxLOngRBH6qFlMiGl+5v4u+m/vO\nh2wgS53eDmEkSt3s/yrie5bZIUxcnPRz4R+I8FfGvHWfFhkUauc6g+iz6wTg\nqMEsxGORvxcSA068RXtH5p+FWFOiq7jFz5IRy8KtmhvGSalTkxfdRzkUiBoO\nfhdu2cFyN9L6kIGjHfI8/tEuzsLbdyTCu/oGJ4HD/eZJ+pvPIVGz9WpGLg2S\ntgf2\r\n=0tpd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6lafHu//OJsigCgxWfPBW6n5wWeB4BcUNt9yxzvC0cgIgUyNtrF7qoa/5Xu7FMVuA8NeDP2OZRMIXLM2MBK8cqos="}],"size":7290,"noattachment":false,"key":"/acorn-class-fields/-/acorn-class-fields-0.2.0.tgz"},"maintainers":[{"name":"adrianheine","email":"mail@adrianheine.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acorn-class-fields_0.2.0_1536920070252_0.864870751475284"},"_hasShrinkwrap":false,"readme":"# Class fields support for Acorn\n\n[![NPM version](https://img.shields.io/npm/v/acorn-class-fields.svg)](https://www.npmjs.org/package/acorn-class-fields)\n\nThis is a plugin for [Acorn](http://marijnhaverbeke.nl/acorn/) - a tiny, fast JavaScript parser, written completely in JavaScript.\n\nIt implements support for class fields as defined in the stage 3 proposal [Class field declarations for JavaScript](https://github.com/tc39/proposal-class-fields). The emitted AST follows the [ESTree experimental Class Features design](https://github.com/estree/estree/blob/master/experimental/class-features.md).\n\n## Usage\n\nThis module provides a plugin that can be used to extend the Acorn `Parser` class:\n\n```javascript\nconst {Parser} = require('acorn');\nconst classFields = require('acorn-class-fields');\nParser.extend(classFields).parse('class X { x = 0 }');\n```\n\n## License\n\nThis plugin is released under an [MIT License](./LICENSE).\n","publish_time":1536920070334,"_cnpm_publish_time":1536920070334,"dist-tags":{"latest":"1.0.0"}}