{"_id":"@bumped-inc/gatsby-plugin-optional-chaining","_rev":"24-818075c75afb411e8090aa330e5fcdaf","name":"@bumped-inc/gatsby-plugin-optional-chaining","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bumped-inc/gatsby-plugin-optional-chaining","version":"1.0.0","description":"Gatsby plugin for optional chaining operator","main":"gatsby-node.js","author":{"name":"Cameron Knight","email":"cameron.knight@bumped.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/bumped-inc/gatsby-plugin-optional-chaining"},"bugs":{"url":"https://github.com/bumped-inc/gatsby-plugin-optional-chaining/issues"},"keywords":["gatsby","gatsby-plugin","gatsby-plugin-optional-chaining","@babel/plugin-proposal-optional-chaining","babel"],"devDependencies":{"eslint":"6.1.0","eslint-config-airbnb":"18.0.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-react":"^7.14.3","eslint-plugin-react-hooks":"^1.7.0"},"_id":"@bumped-inc/gatsby-plugin-optional-chaining@1.0.0","dist":{"shasum":"b5fe5af36f6043e90c9ddc5d2a0f2b0ab0b2d760","integrity":"sha512-Us8o38i8vNR6UouqELucLAtBAzb3zFs59mt29PFOlIxzPK+o3CXTC5YA3WQzSgvTnXT/kQYlQqCLTBuhmN+T6w==","tarball":"https://registry.npmjs.org/@bumped-inc/gatsby-plugin-optional-chaining/-/gatsby-plugin-optional-chaining-1.0.0.tgz","fileCount":5,"unpackedSize":1917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2B8SCRA9TVsSAnZWagAAjDUQAIeyUe1f8b7E+Xlu2CTc\nE2Ob3YhdkJVtZPlce+89hlMWCIojaq/EN0dDc88PalFIiQs2oxuv0A9gZAwR\nXY3pGkhUhs2RvVoXgDT5XyC9mwrKoABkzY5nolrFmOUtZXsBkJ5zXr4JJUcB\nDZx+imJGrzg36Ov30MO1miO59EjjHqfpOQxAFj+JINDnMeujRT1SFaQcvVNK\nCPbg2cEgBDipvaxRm/sIsz7CX7Rrx0lO5b91T9y0/WFOeubMu/Fu3R7A0WhT\n55egI1MdPxosJ+6e24zuuUmFA95pvZvyzT5CyznJRlBBuk+PT9bgknuDitf2\ngM15Gad3W7Biyuri9IsRmhc/P33u8C9d2HguWKN5dxu64ALCgZ3IAx7VlOXj\nzDz9h6qwIG1cq9zoIg09tHSTNI+VXi9pD6TIU40EEwpnbZiyQ0kzhCDwoh+T\n8CXGUwdpNAOCOtVCqqM4Bg5TvGulhZLugVsU/3Tr3QgE3O8XmvtYzzgF9vA2\nGWNuq4G2a37Ex06rw/PYShW0huc/15x/Y6q6tcP7QFA417FyfJmR9uAoXhAC\nI9jbMYH9HRnoM3BquN6C/9fUPA+hJ724BI4D6SgOz0nNDevImFGJpZclRaZh\nbeUfGHCJWgSWb5u88oU7lORYGS4rb9aKKp3VQxb+PlLeerZBk6medIaNWc43\nUT0O\r\n=YsPI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmT5q+snztEsGX2FenlLpfmkDPtQfqjYvgha5mjtBaQAIgXn0UubRwvV6rBnsDcwgnKcoSboIsp9gqLXHUzgHBe8U="}]},"maintainers":[{"name":"naimish","email":"naimish.shah@bumped.com"},{"name":"beckleyc","email":"colin.beckley@anapneo.io"},{"name":"melissapohlman","email":"melissa_pohlman@yahoo.com"},{"name":"carly.thelander","email":"carly.thelander@bumped.com"},{"name":"reichjustin","email":"reich.justin@gmail.com"},{"name":"heidi.olsen","email":"heidi.olsen@bumped.com"},{"name":"akwirick","email":"akwirick@gmail.com"},{"name":"bumped-robot","email":"dev@bumped.com"},{"name":"kingles","email":"jmaligie@gmail.com"},{"name":"ckknight","email":"ckknight@gmail.com"}],"_npmUser":{"name":"ckknight","email":"ckknight@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-optional-chaining_1.0.0_1573503254652_0.05335504063916696"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-11T20:14:14.652Z","1.0.0":"2019-11-11T20:14:14.777Z","modified":"2022-10-04T19:29:45.484Z"},"maintainers":[{"email":"jmaligie@gmail.com","name":"kingles"},{"email":"dev@bumped.com","name":"bumped-robot"},{"email":"reich.justin@gmail.com","name":"reichjustin"},{"email":"magnetichf@yahoo.com","name":"eoconnor"}],"description":"Gatsby plugin for optional chaining operator","keywords":["gatsby","gatsby-plugin","gatsby-plugin-optional-chaining","@babel/plugin-proposal-optional-chaining","babel"],"repository":{"type":"git","url":"https://github.com/bumped-inc/gatsby-plugin-optional-chaining"},"author":{"name":"Cameron Knight","email":"cameron.knight@bumped.com"},"bugs":{"url":"https://github.com/bumped-inc/gatsby-plugin-optional-chaining/issues"},"license":"MIT","readme":"# Optional chaining support for Gatsby's Babel config\n\n## Description\n\nIt enables the optional chaining operator (`a ?. b`): [see the TC39 proposal](https://github.com/tc39/proposal-optional-chaining)\n\n## How to install\n\nInstall the plugin and its dependencies :\n\n```bash\nnpm i @bumped-inc/gatsby-plugin-optional-chaining @babel/core @babel/plugin-proposal-optional-chaining\n```\n\nor\n\n```bash\nyarn add @bumped-inc/gatsby-plugin-optional-chaining @babel/core @babel/plugin-proposal-optional-chaining\n```\n\nAdd the plugin in `gatsby-config.js`:\n\n```js\nmodule.exports = {\n  plugins: [\n    // other plugins\n    '@bumped-inc/gatsby-plugin-optional-chaining',\n  ],\n}\n```\n\n## Examples of usage\n\n```js\nconst maybeObj = null;\nconst result = maybeObj?.value; // result: undefined\n\nconst actualObj = { value: 5 };\nconst betterResult = actualObj?.value // betterResult: 5\n```\n","readmeFilename":"README.md"}