{"_id":"import-jsx","_rev":"2948367","name":"import-jsx","description":"Require and transpile JSX on the fly","dist-tags":{"latest":"5.0.0"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"time":{"modified":"2023-04-26T08:53:19.000Z","created":"2017-06-24T09:49:14.677Z","5.0.0":"2023-02-28T19:50:13.863Z","4.0.1":"2022-01-05T16:48:52.520Z","4.0.0":"2020-03-28T12:53:08.530Z","3.1.0":"2020-01-12T15:16:54.378Z","3.0.0":"2019-07-28T23:38:14.064Z","2.0.0":"2019-03-16T00:33:13.001Z","1.3.2":"2019-03-09T07:19:44.461Z","1.3.1":"2019-03-09T05:39:11.911Z","1.3.0":"2017-08-03T17:45:00.305Z","1.2.1":"2017-07-20T21:21:16.844Z","1.2.0":"2017-07-09T13:25:35.958Z","1.1.1":"2017-06-25T07:35:50.035Z","1.1.0":"2017-06-25T07:26:06.102Z","1.0.0":"2017-06-24T09:49:14.677Z"},"users":{},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"versions":{"5.0.0":{"name":"import-jsx","version":"5.0.0","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"type":"module","exports":"./index.js","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava --serial"},"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"@babel/core":"^7.21.0","@babel/preset-react":"^7.18.6","find-cache-dir":"^4.0.0","make-dir":"^3.1.0"},"devDependencies":{"@babel/eslint-parser":"^7.19.1","ava":"^5.2.0","del":"^7.0.0","execa":"^7.0.0","preact":"^10.13.0","preact-render-to-string":"^5.2.6","prettier":"^2.0.2","react":"^18.2.0","react-dom":"^18.2.0","xo":"^0.53.1"},"prettier":{"tabs":true,"singleQuote":true,"trailingComma":"none","bracketSpacing":false,"arrowParens":"avoid"},"xo":{"prettier":true,"parser":"@babel/eslint-parser","parserOptions":{"requireConfigFile":false,"babelOptions":{"parserOpts":{"plugins":["importAssertions"]}}},"ignore":["test/fixtures"]},"gitHead":"f55315ae59fb3167a909176867f0f8420158a71c","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@5.0.0","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"shasum":"f3bce9b61f7bf03c89c72194084eedcd79ce7a55","size":3498,"noattachment":false,"key":"/import-jsx/-/import-jsx-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-5.0.0.tgz"},"_npmUser":{"name":"vdemedes","email":"vadimdemedes@hey.com"},"directories":{},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx_5.0.0_1677613813687_0.9682201648921973"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-28T19:50:13.863Z","publish_time":1677613813863,"_cnpm_publish_time":1677613813863},"4.0.1":{"name":"import-jsx","version":"4.0.1","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava"},"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"@babel/core":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/plugin-transform-destructuring":"^7.5.0","@babel/plugin-transform-react-jsx":"^7.3.0","caller-path":"^3.0.1","find-cache-dir":"^3.2.0","make-dir":"^3.0.2","resolve-from":"^3.0.0","rimraf":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","prettier":"^2.0.2","xo":"^0.28.1"},"prettier":{"tabs":true,"singleQuote":true,"trailingComma":"none","bracketSpacing":false,"arrowParens":"avoid"},"xo":{"ignore":["test/fixtures"],"rules":{"node/no-deprecated-api":"off"}},"gitHead":"3949cf770bd23ba6d423f82fb994962d2ca2f0c9","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@4.0.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"30d5d336f3f52ed32b62690997f26e23c252a258","size":3710,"noattachment":false,"key":"/import-jsx/-/import-jsx-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-4.0.1.tgz"},"_npmUser":{"name":"vdemedes","email":"vadimdemedes@hey.com"},"directories":{},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx_4.0.1_1641401332348_0.6732229349290253"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-05T16:50:50.775Z","publish_time":1641401332520,"_cnpm_publish_time":1641401332520},"4.0.0":{"name":"import-jsx","version":"4.0.0","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava"},"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"@babel/core":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/plugin-transform-destructuring":"^7.5.0","@babel/plugin-transform-react-jsx":"^7.3.0","caller-path":"^2.0.0","find-cache-dir":"^3.2.0","make-dir":"^3.0.2","resolve-from":"^3.0.0","rimraf":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","prettier":"^2.0.2","xo":"^0.28.1"},"prettier":{"tabs":true,"singleQuote":true,"trailingComma":"none","bracketSpacing":false,"arrowParens":"avoid"},"xo":{"ignore":["test/fixtures"],"rules":{"node/no-deprecated-api":"off"}},"gitHead":"765c39bc0f3a25e76d0a0ceb31e6c6d370e572e8","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@4.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"2f31fd8e884e14f136751448841ffd2d3144dce1","size":3736,"noattachment":false,"key":"/import-jsx/-/import-jsx-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-4.0.0.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx_4.0.0_1585399988399_0.8589871944996608"},"_hasShrinkwrap":false,"publish_time":1585399988530,"_cnpm_publish_time":1585399988530},"3.1.0":{"name":"import-jsx","version":"3.1.0","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && nyc --check-coverage --branches=100 --lines=100 --functions=100 --statements=100 ava"},"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"@babel/core":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/plugin-transform-destructuring":"^7.5.0","@babel/plugin-transform-react-jsx":"^7.3.0","caller-path":"^2.0.0","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","nyc":"^13.3.0","xo":"^0.18.2"},"gitHead":"fcbdc792a1ddc8895cbcd47f7c6e857cd2d99431","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@3.1.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"shasum":"f17a29dd43eda827f335c0766235f9fd07f7913f","size":2797,"noattachment":false,"key":"/import-jsx/-/import-jsx-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-3.1.0.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx_3.1.0_1578842214273_0.7151759336204222"},"_hasShrinkwrap":false,"publish_time":1578842214378,"_cnpm_publish_time":1578842214378},"3.0.0":{"name":"import-jsx","version":"3.0.0","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && nyc --check-coverage --branches=100 --lines=100 --functions=100 --statements=100 ava"},"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"@babel/core":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/plugin-transform-destructuring":"^7.5.0","@babel/plugin-transform-react-jsx":"^7.3.0","caller-path":"^2.0.0","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","nyc":"^13.3.0","xo":"^0.18.2"},"gitHead":"61b67474b090785f3cd7ca113257f65e782a4023","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@3.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.10.2","dist":{"shasum":"61a6929c43986cd5d526543d58da097f98fcd668","size":2787,"noattachment":false,"key":"/import-jsx/-/import-jsx-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-3.0.0.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx_3.0.0_1564357093943_0.2663407779230911"},"_hasShrinkwrap":false,"publish_time":1564357094064,"_cnpm_publish_time":1564357094064},"2.0.0":{"name":"import-jsx","version":"2.0.0","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && nyc --check-coverage --branches=100 --lines=100 --functions=100 --statements=100 ava"},"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"babel-core":"^6.25.0","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-react-jsx":"^6.24.1","caller-path":"^2.0.0","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","nyc":"^13.3.0","sinon":"^2.3.5","xo":"^0.18.2"},"gitHead":"87fea5a00189333b545f8d4916e31098c3e676cd","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@2.0.0","_nodeVersion":"8.11.2","_npmVersion":"6.8.0","dist":{"shasum":"5ec3283f75a38c154714586c2aae72403eb216de","size":2732,"noattachment":false,"key":"/import-jsx/-/import-jsx-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-2.0.0.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx_2.0.0_1552696392679_0.9015950067594738"},"_hasShrinkwrap":false,"publish_time":1552696393001,"_cnpm_publish_time":1552696393001},"1.3.2":{"name":"import-jsx","version":"1.3.2","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && ava"},"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"babel-core":"^6.25.0","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-react-jsx":"^6.24.1","caller-path":"^2.0.0","require-from-string":"^1.2.1","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","sinon":"^2.3.5","xo":"^0.18.2"},"gitHead":"3f6eb12ccf553ff09cd1cc867e795beefc6f769d","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@1.3.2","_nodeVersion":"8.11.2","_npmVersion":"6.8.0","dist":{"shasum":"6c78f471a447f586571bbff1509f1d9960f8dda7","size":2556,"noattachment":false,"key":"/import-jsx/-/import-jsx-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-1.3.2.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx_1.3.2_1552115984338_0.11870568855685182"},"_hasShrinkwrap":false,"publish_time":1552115984461,"_cnpm_publish_time":1552115984461},"1.3.1":{"name":"import-jsx","version":"1.3.1","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && ava"},"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"babel-core":"^6.25.0","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-react-jsx":"^6.24.1","caller-path":"^2.0.0","require-from-string":"^1.2.1","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","sinon":"^2.3.5","xo":"^0.18.2"},"gitHead":"925e7b4a2ff4d59dd43d58078d9745a8260927fb","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@1.3.1","_nodeVersion":"8.11.2","_npmVersion":"6.8.0","dist":{"shasum":"d16552b7f469fe929e77ebe08553886af4e3aa96","size":2547,"noattachment":false,"key":"/import-jsx/-/import-jsx-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-1.3.1.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx_1.3.1_1552109951680_0.8544156272919023"},"_hasShrinkwrap":false,"publish_time":1552109951911,"_cnpm_publish_time":1552109951911},"1.3.0":{"name":"import-jsx","version":"1.3.0","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"babel-core":"^6.25.0","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-react-jsx":"^6.24.1","caller-path":"^2.0.0","require-from-string":"^1.2.1","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","sinon":"^2.3.5","xo":"^0.18.2"},"gitHead":"89e0641d6843115f636a1ee9d6d711c055e253a8","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@1.3.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"dist":{"shasum":"079df1da943b3274f46932fb740c9b56dd6351fb","size":2566,"noattachment":false,"key":"/import-jsx/-/import-jsx-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-1.3.0.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx-1.3.0.tgz_1501782299292_0.9605774015653878"},"directories":{},"publish_time":1501782300305,"_hasShrinkwrap":false,"_cnpm_publish_time":1501782300305},"1.2.1":{"name":"import-jsx","version":"1.2.1","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"babel-core":"^6.25.0","babel-plugin-transform-react-jsx":"^6.24.1","caller-path":"^2.0.0","require-from-string":"^1.2.1","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","sinon":"^2.3.5","xo":"^0.18.2"},"gitHead":"27723c9d06daedb7e4c45888ab00b5faca09b0a5","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@1.2.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"dist":{"shasum":"6bc2586bdc4d977178532601bd8f72a72e281ef4","size":2381,"noattachment":false,"key":"/import-jsx/-/import-jsx-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-1.2.1.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx-1.2.1.tgz_1500585675935_0.9953833075705916"},"directories":{},"publish_time":1500585676844,"_cnpm_publish_time":1500585676844,"_hasShrinkwrap":false},"1.2.0":{"name":"import-jsx","version":"1.2.0","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"babel-core":"^6.25.0","babel-plugin-transform-react-jsx":"^6.24.1","caller-path":"^2.0.0","require-from-string":"^1.2.1","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","sinon":"^2.3.5","xo":"^0.18.2"},"gitHead":"ca2a4faf5200f39ecae5402ec883ddf9b712519b","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@1.2.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"dist":{"shasum":"0d364a4775bbd6c9dbe7d865863f3f1d0e6daec3","size":2368,"noattachment":false,"key":"/import-jsx/-/import-jsx-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-1.2.0.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx-1.2.0.tgz_1499606735008_0.9447519613895565"},"directories":{},"publish_time":1499606735958,"_hasShrinkwrap":false,"_cnpm_publish_time":1499606735958},"1.1.1":{"name":"import-jsx","version":"1.1.1","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"buble":"^0.15.2","caller-path":"^2.0.0","require-from-string":"^1.2.1","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","sinon":"^2.3.5","xo":"^0.18.2"},"gitHead":"f466bf26be45bcfda0ac0ba8ec98561940ed9c81","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@1.1.1","_shasum":"5bf71db46fcac3f43b47ce453dee6fedb56bc5c9","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"dist":{"shasum":"5bf71db46fcac3f43b47ce453dee6fedb56bc5c9","size":2508,"noattachment":false,"key":"/import-jsx/-/import-jsx-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-1.1.1.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx-1.1.1.tgz_1498376149134_0.9723994750529528"},"directories":{},"publish_time":1498376150035,"_hasShrinkwrap":false,"_cnpm_publish_time":1498376150035},"1.1.0":{"name":"import-jsx","version":"1.1.0","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"buble":"^0.15.2","caller-path":"^2.0.0","require-from-string":"^1.2.1","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","sinon":"^2.3.5","xo":"^0.18.2"},"gitHead":"9493955b2b7c7f9b0e4e8d8bcf676b8e72380eed","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@1.1.0","_shasum":"43a31b3be6dee91e86c23c88308e2e1ab181c1b4","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"dist":{"shasum":"43a31b3be6dee91e86c23c88308e2e1ab181c1b4","size":2439,"noattachment":false,"key":"/import-jsx/-/import-jsx-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-1.1.0.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx-1.1.0.tgz_1498375563525_0.36047141440212727"},"directories":{},"publish_time":1498375566102,"_hasShrinkwrap":false,"_cnpm_publish_time":1498375566102},"1.0.0":{"name":"import-jsx","version":"1.0.0","description":"Require and transpile JSX on the fly","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/import-jsx.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com","url":"github.com/vadimdemedes"},"engines":{"node":">= 4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["react","jsx","require","require-jsx","import"],"dependencies":{"buble":"^0.15.2","caller-path":"^2.0.0","require-from-string":"^1.2.1","resolve-from":"^3.0.0"},"devDependencies":{"ava":"^0.19.1","xo":"^0.18.2"},"gitHead":"725842d2956be8e6da1983f038c60d4faf37dccc","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","_id":"import-jsx@1.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"dist":{"shasum":"56481470f8f2ad9393fec725189edc43c98997ca","size":2399,"noattachment":false,"key":"/import-jsx/-/import-jsx-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-jsx/download/import-jsx-1.0.0.tgz"},"maintainers":[{"name":"vdemedes","email":"sbioko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/import-jsx-1.0.0.tgz_1498297753720_0.5932070459239185"},"directories":{},"publish_time":1498297754677,"_hasShrinkwrap":false,"_cnpm_publish_time":1498297754677}},"readme":"# import-jsx ![Build Status](https://github.com/vadimdemedes/import-jsx/workflows/test/badge.svg)\n\n> Import and transpile JSX via [loader hooks](https://nodejs.org/dist/latest-v18.x/docs/api/esm.html#loaders). It doesn't transpile anything besides JSX and caches transpiled sources by default.\n\n## Install\n\n```console\nnpm install import-jsx\n```\n\n## Usage\n\n> **Note**:\n> `import-jsx` only works with ES modules.\n\n```sh\nnode --loader=import-jsx react-example.js\n```\n\n**react-example.js**\n\n```jsx\nconst HelloWorld = () => <h1>Hello world</h1>;\n```\n\n## Examples\n\n### React\n\nReact is auto-detected by default and `react` will be auto-imported, if it's not already.\n\n```jsx\nconst HelloWorld = () => <h1>Hello world</h1>;\n```\n\n### Preact\n\nIf an alternative library is used and exports `createElement`, like Preact, configure `import-jsx` to import it instead of React:\n\n```jsx\n/** @jsxImportSource preact */\n\nconst HelloWorld = () => <h1>Hello world</h1>;\n```\n\n### Any JSX pragma\n\nFor libraries not compatible with React's API, but which still support JSX, import it and configure `import-jsx` to use its pragma:\n\n```jsx\n/** @jsxRuntime classic */\n/** @jsx h */\nimport h from 'vhtml';\n\nconst HelloWorld = () => <h1>Hello world</h1>;\n```\n\n### CLI\n\n`import-jsx` can be used to transpile JSX inside CLI entrypoints defined in `bin` section of `package.json` and their imported files.\n\nFor example, given this **package.json**:\n\n```json\n{\n\t\"name\": \"my-amazing-cli\",\n\t\"bin\": \"cli.js\"\n}\n```\n\nInsert this hashbang at the beginning of **cli.js**:\n\n```jsx\n#!/usr/bin/env NODE_NO_WARNINGS=1 node --loader=import-jsx\n\nconst HelloWorld = () => <h1>Hello world</h1>;\n```\n\n### Disable cache\n\n`import-jsx` caches transpiled sources by default, so that the same file is transpiled only once.\nIf that's not a desired behavior, turn off caching by setting `IMPORT_JSX_CACHE=0` or `IMPORT_JSX_CACHE=false` environment variable.\n\n```console\nIMPORT_JSX_CACHE=0 node --loader=import-jsx my-code.js\n```\n","_attachments":{},"homepage":"https://github.com/vadimdemedes/import-jsx#readme","bugs":{"url":"https://github.com/vadimdemedes/import-jsx/issues"},"license":"MIT"}