{"_id":"babel-plugin-static-fs","_rev":"11-f638bf501d3d38dc9e72d0d2f65303f3","name":"babel-plugin-static-fs","description":"statically transforms Node fs for the browser","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"babel-plugin-static-fs","version":"1.0.0","description":"statically transforms Node fs for the browser","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"babel-template":"^6.3.13","babel-types":"^6.4.1"},"devDependencies":{"babel-core":"^6.4.0","faucet":"0.0.1","tape":"^4.4.0"},"scripts":{"test":"node test/index.js | faucet"},"keywords":["fs","readFileSync","inline","transform","string","stringify","brfs","browser","bundler","bundle","transforms","static","statically","utf8","string","text"],"repository":{"type":"git","url":"git://github.com/Jam3/babel-plugin-static-fs.git"},"homepage":"https://github.com/Jam3/babel-plugin-static-fs","bugs":{"url":"https://github.com/Jam3/babel-plugin-static-fs/issues"},"gitHead":"27001c2c759a422b07333b257940a4ee15d16215","_id":"babel-plugin-static-fs@1.0.0","_shasum":"0728c8a3fa445d49fe24b5624cdc094a51111eb7","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"0728c8a3fa445d49fe24b5624cdc094a51111eb7","tarball":"https://registry.npmjs.org/babel-plugin-static-fs/-/babel-plugin-static-fs-1.0.0.tgz","integrity":"sha512-fvSgdm4PaxysxdUOh3nROxYwTNbgs8mPKkmsmwByQZoakEUjr9WZU7zjM5RAo0cYeZP4HEA7+XOlUfK6NcFFqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICtrDPjgU9xG0APn1N0G/Rl2GW6oL1Cl3Lt98EYV/+0RAiBS4T4fwfHdBmbGIfC0dweqHzS+xmWBzSumN0FhxSl7tA=="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"directories":{}},"1.1.0":{"name":"babel-plugin-static-fs","version":"1.1.0","description":"statically transforms Node fs for the browser","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"babel-template":"^6.3.13","babel-types":"^6.4.1","events":"^1.1.0"},"devDependencies":{"babel-core":"^6.4.0","faucet":"0.0.1","tape":"^4.4.0"},"scripts":{"test":"node test/index.js | faucet"},"keywords":["fs","readFileSync","inline","transform","string","stringify","brfs","browser","bundler","bundle","transforms","static","statically","utf8","string","text"],"repository":{"type":"git","url":"git://github.com/Jam3/babel-plugin-static-fs.git"},"homepage":"https://github.com/Jam3/babel-plugin-static-fs","bugs":{"url":"https://github.com/Jam3/babel-plugin-static-fs/issues"},"gitHead":"3fe1350ad6b8845fa3528c4790781b542ea44c7a","_id":"babel-plugin-static-fs@1.1.0","_shasum":"812aedc06297e90beab8ed02f2a69acdcca23c05","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"812aedc06297e90beab8ed02f2a69acdcca23c05","tarball":"https://registry.npmjs.org/babel-plugin-static-fs/-/babel-plugin-static-fs-1.1.0.tgz","integrity":"sha512-nFTUr2lh2oQYfOhrnfM+QMo4HVY61tvMc7kln+Jww1DCSz5gX6cNy92Ynoho6LVaaYWvT9/dC+fp9g90flek3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn+u6kDD5IhnRKjj9DK+h81rLwXPgTEuLYXlaL5iToRwIgWG/ONW2W57QYOlCPzQFAuw64va30TOZQjAfUYhfBLXY="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"directories":{}},"1.2.0":{"name":"babel-plugin-static-fs","version":"1.2.0","description":"statically transforms Node fs for the browser","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"babel-template":"^6.3.13","babel-types":"^6.4.1","events":"^1.1.0"},"devDependencies":{"babel-core":"^6.4.0","faucet":"0.0.1","tape":"^4.4.0"},"scripts":{"test":"node test/index.js | faucet"},"keywords":["fs","readFileSync","inline","transform","string","stringify","brfs","browser","bundler","bundle","transforms","static","statically","utf8","string","text"],"repository":{"type":"git","url":"git://github.com/Jam3/babel-plugin-static-fs.git"},"homepage":"https://github.com/Jam3/babel-plugin-static-fs","bugs":{"url":"https://github.com/Jam3/babel-plugin-static-fs/issues"},"gitHead":"b1280b56e6591137d26003303845891e47adca2b","_id":"babel-plugin-static-fs@1.2.0","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"integrity":"sha512-7zsDPvDzCBwfbU53WKym5LxTe1PxQHE/dGo+EfIELlBcn08TpU7SlPJILcc6YVAyTrpVUNioQfWiUyMWk1DJVg==","shasum":"6e381cf7cb0a40864478a49f449fbf706b5ac418","tarball":"https://registry.npmjs.org/babel-plugin-static-fs/-/babel-plugin-static-fs-1.2.0.tgz","fileCount":8,"unpackedSize":18071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQZgJCRA9TVsSAnZWagAA5IAP/RWTEEtnEZt/b0/o/00h\nbPjgCpfbpU7jorEn1I0NDtDsZQXSQO0op9URV1gpV9w5CxCMxL+Rs708Lh53\n/OURKsHnVOKjr1mq77YFN3p31EZ6uHPWVaijaQ6ckmugRkIUFj9SVWcq3eAx\npB74qVRRqX774cBydtwtOhMHxB9zCgDm2fpVUr/BbVPGM1ppv+T1vKn9UlSV\ng5CAK/tJy1SLZZ+WzKKp9UXofJ1gpzROrPlNlE5xFOOAn7/gSWchuUI7+NHu\n9PUb9Y9HdYFyQlOD+Ze3HKQvoihofllKs0oSKr4dPBkqZx9rrrWUXijuBr/9\nDMYFK9VAS1ZkcG00R10z+Goxt1kgQXrPOPi/FjG/c6JvznitsO2D8eP+vhk6\n2f5rRdI1NfzkrCBQm1Ljl4a1veeXuejxC5dP+3wbqZ/0LAlgNWBCuG0261M+\nYdKn0hC7dZWTQU4uKM+835EmK9O4xhUbaZvCKkTlZn/T5bjC+/WSfbO6ihjh\n925X+D5/8WkZeztxRV3WA/j1V0DMa/kgLbR+GJsOgerw9u3cnn7PKeY005pf\n6yBHBHlSxb8Enn5WXHW4OAmH/Pmnykv4E2txn+fk0RzzcxeE7CY2MEDGjWF0\n6abeRtTmgL8gRW5KWNpCI1gXhIaOv1BRcBBOsWkNLdIkyhOhhp0lCXtQmNxS\nCnzu\r\n=eQVj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE++h4m3cXnS2Sv0D9dS6QDmN9vdUAOp3RUdkU4smHAvAiEAt5e4pIB8gYI7eUy1vaNyDkvGsLYwptXOeTzmdfAHVZ0="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-static-fs_1.2.0_1547802633339_0.25704041236204556"},"_hasShrinkwrap":false},"1.2.1":{"name":"babel-plugin-static-fs","version":"1.2.1","description":"statically transforms Node fs for the browser","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"babel-template":"^6.3.13","babel-types":"^6.4.1","events":"^1.1.0"},"devDependencies":{"babel-core":"^6.4.0","faucet":"0.0.1","tape":"^4.4.0"},"scripts":{"test":"node test/index.js | faucet"},"keywords":["fs","readFileSync","inline","transform","string","stringify","brfs","browser","bundler","bundle","transforms","static","statically","utf8","string","text"],"repository":{"type":"git","url":"git://github.com/Jam3/babel-plugin-static-fs.git"},"homepage":"https://github.com/Jam3/babel-plugin-static-fs","bugs":{"url":"https://github.com/Jam3/babel-plugin-static-fs/issues"},"gitHead":"a7992b310bfd0399be71bf1407dd0473e7bc1d2a","_id":"babel-plugin-static-fs@1.2.1","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"integrity":"sha512-dZasA7svnKAsMEB7/6fKhJO+nIZsC2fvJyj3fbuk/xUOwslZOdl+9umXQsB+oqHwOEubZ5WHJ/Zy9dvnVnRvFg==","shasum":"2352ef5c1c19d50311e9433dad581c45c55f4952","tarball":"https://registry.npmjs.org/babel-plugin-static-fs/-/babel-plugin-static-fs-1.2.1.tgz","fileCount":8,"unpackedSize":18203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMuRLCRA9TVsSAnZWagAAvGcP/3WeXA2DGlIGPVrHWW0L\n/ZV9f1tT+YHUWIRQGSgt0mF7EUTjBAOPH7+ezWm5EsDIsBkd+I6ZAeLtnWSy\nvABixcIWHDpTxPCyt3lKHO6QS3rlDAaTUP0E+yerrUC9L/1ms4hfTO2Pkx8x\nW+SrID3Rv2CNPabvV1AhHXLMaQV3w64IBK4YOk/9tKJJlhRcXYTh/xvULoFQ\ntlYZrZVUl5ahDXgrd4oe9lz6mQLkNwaPE4ipx6yt1F/OFsOD05XR8CSjzLYP\nJUyDtXJoZdzWNR855PCLuKltqt3HpOXH8rMfH4IqUmtgG+8tHhGNyGVLIu6z\n4yXmwo7Djqutwyfb/UJoxohzou7NEc3IyYuPjbKiytQur6zSTObUrt0AuYaf\nv9Wr2g/ynVJhXU/SxCj4A7/drJvxgLw3eQqgkYWLt8SxHHfAxdw5NFkCToGr\n0LEKMOqzJvftQDPJM5iliCarFP+Hg2BtGqEgcSKNM0DkjliQldguG5htzIdO\n+IE+NNUxvOEvvO6nWglOiI/8ZTFIh9omJV3fFihxPPIKvPeSc85J2sNtQVFf\nQ3boIGUCAdxLsek9+j9SUJRumFEJMZYHW39lXNC8Ji6v9CTyPR2z3uNOPSml\n1oDfFWeElBHbXVkH/IKn+IqYu7Niun5w9tAJI5/qIYrYhvlNjI3L/mraauYA\nVORK\r\n=wzHL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWBUiHShELbJ2Ergk8u5N4YNiw3RcEjzN1NdsSXu52QgIgYBkW8AdsI0BgN9YFXM8UwFKJzX4nElO2sQtFwYKgzkw="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-static-fs_1.2.1_1563616330987_0.2834766398404125"},"_hasShrinkwrap":false},"2.0.0":{"name":"babel-plugin-static-fs","version":"2.0.0","description":"statically transforms Node fs for the browser","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"@babel/template":"^7.4.4","@babel/types":"^7.5.5","events":"^1.1.0"},"devDependencies":{"@babel/core":"^7.5.5","@babel/register":"^7.5.5","faucet":"0.0.1","tape":"^4.4.0"},"scripts":{"test":"node test/index.js | faucet"},"keywords":["fs","readFileSync","inline","transform","string","stringify","brfs","browser","bundler","bundle","transforms","static","statically","utf8","string","text"],"repository":{"type":"git","url":"git://github.com/Jam3/babel-plugin-static-fs.git"},"homepage":"https://github.com/Jam3/babel-plugin-static-fs","bugs":{"url":"https://github.com/Jam3/babel-plugin-static-fs/issues"},"gitHead":"d511d757e221d7b31857341575378ba8602dceda","_id":"babel-plugin-static-fs@2.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"integrity":"sha512-4EQprbZbtQKz1//QKctzghB7PXqpVnoUJy4mqcprqVESgclvN9GwmBzZUl8cjwAZ86dXHKXPDmB/5lP0y7phwQ==","shasum":"3494a40c23ae39e2655b00d8bf72706e411acb50","tarball":"https://registry.npmjs.org/babel-plugin-static-fs/-/babel-plugin-static-fs-2.0.0.tgz","fileCount":8,"unpackedSize":18588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMuyDCRA9TVsSAnZWagAAbZ0P/3QqTOH2+syx1PXbSHLr\nSG+2XMb7RyorE9Q05A2q9ub/WqgWX3Kgq5RNJZVEDIETofYlComqoZV05N9S\ncrtFP0cDigiifLXmKXpgN1UxwSJO5wOI2w7dBcP/pC2FjMAzVRFqTMmQjWFS\nvXXpfR3ZkWsou98VE6rpP5pZlcdd4Fs3zFAmejO3j0f6LSSgzG/ZvYoMlAz1\n2KovpdTYUJhtQNETDDr8gxotrr0WWFnQ/ZD7DDh1uyPL8jSUUa4irscZZKna\nzNxhCJPNzWIWLgYwyElHnnMhkPOrhz24ArT/xSlLIz71RoPbrdubetq5Bn8i\nlgVje8/klCkeu5briJ3iltqQe8GmY2QVDMMMeEAS1aK2nTdw0zV76JdsG5XP\n86uSv/sTRZRFFMYdGlKLCky1ESOp2Md0nqajic9mHdkIZXA8gMphJBxV6DNV\nZyyFyoTVNZnKCpEwoHLGem9qXYBPxi7NcL3KUEcerwohahgWWTdgNNVeOArZ\n++323zw8AUkrLNsyb9GTwwe90INWQgDbSZz5lcJVkCq/LIQvSicH40dfIoxh\nj49i9inJz7qERlD+K6AYntOk6mPtQbkvwSTQC5R2u9HP6L2SgH4F+5tGgBvx\nCIKiMkCQdfgIpApIGpYd906N+0S5zBok1JO/xBuMTMgia2f5wlg67dRo1Uyf\n2JwH\r\n=nmIi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+6oflpeIUHL4lHW9TiZ+aTXpTwHCSvCCveDqUhiOtzwIhALNmVJ4Z9AVT7LVnttoiQTVboMsm0sPBa6T5HabYbvbe"}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-static-fs_2.0.0_1563618434324_0.5341056958507651"},"_hasShrinkwrap":false},"2.0.1":{"name":"babel-plugin-static-fs","version":"2.0.1","description":"statically transforms Node fs for the browser","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"@babel/template":"^7.4.4","@babel/types":"^7.5.5","browser-resolve":"^1.11.3","events":"^1.1.0","resolve":"^1.11.1"},"devDependencies":{"@babel/core":"^7.5.5","faucet":"0.0.1","tape":"^4.4.0"},"scripts":{"test":"node test/index.js | faucet"},"keywords":["fs","readFileSync","inline","transform","string","stringify","brfs","browser","bundler","bundle","transforms","static","statically","utf8","string","text"],"repository":{"type":"git","url":"git://github.com/Jam3/babel-plugin-static-fs.git"},"homepage":"https://github.com/Jam3/babel-plugin-static-fs","bugs":{"url":"https://github.com/Jam3/babel-plugin-static-fs/issues"},"gitHead":"648c11a67bf1cf1ef65869ba93ffe2bd57b90809","_id":"babel-plugin-static-fs@2.0.1","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"integrity":"sha512-LIH+OIIEs1oo7xN4zZhDhEV90Zpcjl9ZZIcXfbm20+CmpIiTu2VOY9718uqra0htaHkwkmTGFGZyYgOy2pllGw==","shasum":"3d3df782e7063848c40b2a75ef4505e5cfc91215","tarball":"https://registry.npmjs.org/babel-plugin-static-fs/-/babel-plugin-static-fs-2.0.1.tgz","fileCount":8,"unpackedSize":19393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMvQLCRA9TVsSAnZWagAAne4P/j13qZP8GTKSjUezEc//\nhMEGdBNuq50EYZbdfimNjuXp29AB1j08SF6dJrGc7mi2tBLH3eCeOYu7dmUs\nBb143SFjI9/cmH1yRIiuWsCY4r8fWgAX+Wbe+Pf/DTkm+q8oT+d3Vrl/X2G6\naz9N4A5MiujYZs4YV7C6PU6ZYc9Wfg1WgwNPIPc7GYfr4yW+Qj3kIt0+Db/o\nuEf5H67oRPLQOfhh8nIEGMfkIQBX3IkpfFtVdyTagZDmOdxMLInOrk1h3ckq\n3pbyUYt8Lvts85COoCozC5ttbQXhs4mfDgJKYOtTHifqqHb7YoWjGsIsXjN1\nPaeCuR1/3minq3/A5kJePRjvBMlCll6HckpvVVRexIX0JdRoTTZJHDYvT65D\nQxSYhOLpzg2iPCc8MjfJC64rqT5GW7SovdtYDLRfj3c1uCvi08NKK4EJzUPY\nkIRiBbuWSIZvFEziUEoXZzPpx0ge70xgFeh5i5VuOthuPVmWDGQzjUbrJRh9\nak4Ah2uFi+g+ZPRGHe5OwoXO5tcHeScOds/8IzqSxVcZsnuya/hGv9mLVMKE\nmuQMxBDEDFIkROVMwPpwhTWuSwdqa7TuNucIXY/oq8DdEIcVac+OY+M6eC/A\nCkJg/ddiTAXIjICy5B6sT7n5tss1FfqTW5iaEXXMKrL+4gdN8WkIbPgvaJ+d\noq3H\r\n=CuK7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrsfYkHR3gbTo6YTqGWoh3VGKwMxU2uLFQrRWPnjU0dgIhAOnrnjySGcusOC/1kRNh32D23AzFIcq/QM8MsnCsRWkQ"}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-static-fs_2.0.1_1563620362919_0.9643085077539286"},"_hasShrinkwrap":false},"3.0.0":{"name":"babel-plugin-static-fs","version":"3.0.0","description":"statically transforms Node fs for the browser","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{"@babel/template":"^7.4.4","@babel/types":"^7.5.5","browser-resolve":"^1.11.3","events":"^1.1.0","resolve":"^1.11.1"},"devDependencies":{"@babel/core":"^7.5.5","faucet":"0.0.1","husky":"^3.0.1","semistandard":"^13.0.1","tape":"^4.4.0"},"scripts":{"lint":"semistandard","test":"node test/index.js | faucet"},"hooks":{"pre-commit":"npm run lint && npm run test"},"semistandard":{"ignore":"test/fixtures"},"keywords":["fs","readFileSync","inline","transform","string","stringify","brfs","browser","bundler","bundle","transforms","static","statically","utf8","string","text"],"repository":{"type":"git","url":"git://github.com/Jam3/babel-plugin-static-fs.git"},"homepage":"https://github.com/Jam3/babel-plugin-static-fs","bugs":{"url":"https://github.com/Jam3/babel-plugin-static-fs/issues"},"gitHead":"bb645ccc94ea9c6b1d940918df8d3429b0c90ea9","_id":"babel-plugin-static-fs@3.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"integrity":"sha512-dtk/jsoMSg0ws6GeALpDZSNNiJNl1doqu5zEK9sh2XI/6MsUVTEiRHZqhJD9ugVQlIYQs3+1tCHC/gXXfvG4LQ==","shasum":"0e8529c4aae84d3eaf46c8a41c8d34b11cff6532","tarball":"https://registry.npmjs.org/babel-plugin-static-fs/-/babel-plugin-static-fs-3.0.0.tgz","fileCount":8,"unpackedSize":20752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNCxxCRA9TVsSAnZWagAAaJ4P/1OI6Aoc/St5QVBD4Cza\nGI8MDptf62xYXlApXn9notkvor3MTPentqwR+ATUZBtjhWIJPJlI9G0GNzZ9\n4MzVlgGIKukYi2SwPqEcUHvNDFr47G/M53LIQ+MpD6nf0VqtcR7SPfWtK02+\nQwj3er2xuG2aaLZUlvTWGAVNzCvGIAkmKS+XhN+FEp+d6ucJaNZUYy8FrRfJ\niaRrJZwNzFRg7FsQrzJDQFPRI9CEi6IM5Qrkc4ushFRGJAnMLsFES4TjyGgo\n9u/vGlfBUBOthd/JgWbcROC2OaUFnbMcT3VhJ47pFVCCuW4Wm8qp7gj4Dpkm\nSVsvDi2T9JF7sWcVeANuk3c0WRZ7RrdmpoHQubwdoi+ljD793yk06BmdXcdD\nBf0op1oavQTR9qXLyYLuU9nQ0paDxnOR3iU3a2EQBCal8ZQHC0IMSIbxfqut\nV+Zi2HfVQZxNWnIy22Mhtkw1tLn1DNmOS4w0p85JeXCuHMK8xg6zwWVzSzJk\ngPDW2N3ed4vd8PeGPF/pKXwwMlcWt3vVuAkM91/70+5XiZA6jgwzkf56+gWF\nqGQeFUa0lOfA8ibBZF16+GsiSLBJWVakjKccfA2N5FHgjfAt5gxTcAzxPaef\naBDACfZbjKElkkkKXrL2um2oO6j0qzFyeFADs8mi+FSDI45XF4A5xFzGEb0n\nhPTT\r\n=jgdx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIASoApia08oXxd7bxsqjuO53sGAqIFzatpc/0PFP+q44AiEAve0r0mMogFk/elifMqhoQxsd1u7ZVLd7hYfpSu/MunA="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-static-fs_3.0.0_1563700336981_0.19576665162143247"},"_hasShrinkwrap":false}},"readme":"# babel-plugin-static-fs\n\n[![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)\n\nA babel plugin to statically inline [Node `fs` calls](https://nodejs.org/api/fs.html). This is useful for building \"universal\" JavaScript (code that targets the browser and server) and [bundler-agnostic modules](https://gist.github.com/mattdesl/aaf759da84cc44c22305).\n\nIt also can be used as a replacement for [brfs](https://github.com/substack/brfs) in some cases – adding source maps, cleaner output code, ES2015 import support, and more robust handling of unusual syntax.\n\nFor example, say you have the following ES2015 source:\n\n```js\nimport { readFileSync } from 'fs';\nimport { join } from 'path';\nconst src = readFileSync(join(__dirname, 'hello.txt'), 'utf8');\n```\n\nAnd `hello.txt` is a text file containing the string `\"Hello, World!\"`.\n\nAfter transformation, it will look like this:\n\n```js\nimport { join } from 'path';\nconst src = 'Hello, World!';\n```\n\nYour ES5 (npm) distribution code is now usable in Node, Browserify, Webpack, JSPM, and everything in between.\n\n## Features\n\nCurrently supports CommonJS `require()` statements and common flavours of ES2015 `import` (no wild cards).\n\nThe following `fs` functions are supported:\n\n- `fs.readFileSync(filepath, [enc])`\n- `fs.readdirSync(filepath)`\n\nThe following `path` functions will be evaluated statically when they are found inside the arguments of the above calls:\n\n- `path.join()`\n- `path.resolve()`\n\nYou can also use `require.resolve()` like so:\n\n```js\nconst fs = require('fs');\nconst str = fs.readFileSync(require.resolve('./hello.txt'), 'utf8');\nconsole.log(str);\n```\n\nBy default, this plugin will gracefully skip expressions that can't be statically evaluated at build time.\n\n## Install\n\n```sh\nnpm install babel-plugin-static-fs --save-dev\n```\n\nAfter installing, you will need to add it to your `.babelrc` as a new plugin, or set it up as an option to babelify or Webpack's babel-loader.\n\nFor example, in browserify:\n\n```sh\nbrowserify src/index.js -t [ babelify --plugins static-fs ]\n```\n\n## Usage\n\nSee babel docs for more info on using plugins.\n\nYou can specify an `onFile` function to the plugin to receive new dependencies.\n\n```js\nvar staticFs = require('babel-plugin-static-fs');\nvar babel = require('babel-core');\n\nvar result = babel.transform(input, {\n  plugins: [\n    [ staticFs, {\n      target: 'browser', // defaults to node\n      dynamic: false, // defaults to true\n      onFile: onFile // callback that receives new file dependencies\n    } ]\n  ],\n  filename: filename\n});\n\nfunction onFile (file) {\n  console.log('Discovered new dependency:', file);\n}\n```\n\nYou can specify the `{ target }` field as either `'node'` or `'browser'`, this will only affect transformed `require.resolve()` calls to modules, determining whether to use a package's `\"browser\"` field or not. By default, the target is `'node'`.\n\nThe `{ dynamic }` option (default true) when enabled will gracefully skip expressions that cannot be statically evaluated. If you set this to false, then the build will fail and throw an error when it reaches an expression that cannot be evaluated at build time.\n\n## File Watching & Re-Compilation\n\nSince this introduces a new dependency in your graph at build-time, it might not get picked up by file watchers like `watchify`, `budo`, `webpack`, et al.\n\nThis seems to be a limitation in the babel + bundler bridge; see [here](https://github.com/babel/babelify/issues/173).\n\nTo get around this in Browserify, you can use [brfs-babel](https://www.npmjs.com/package/brfs-babel) which replaces `brfs`.\n\n```sh\nwatchify index.js -t brfs-babel\n```\n\n## Contributing\n\nThis module only supported a limited subset of `fs`. In future, it would be nice to support more features, such as `readFile` and `readdir`. Please open an issue if you would like to help contribute.\n\n## License\n\nMIT, see [LICENSE.md](http://github.com/Jam3/babel-plugin-static-fs/blob/master/LICENSE.md) for details.\n","maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"time":{"modified":"2022-06-13T04:03:32.521Z","created":"2016-01-11T21:53:10.485Z","1.0.0":"2016-01-11T21:53:10.485Z","1.1.0":"2016-01-12T17:17:01.374Z","1.2.0":"2019-01-18T09:10:33.435Z","1.2.1":"2019-07-20T09:52:11.094Z","2.0.0":"2019-07-20T10:27:14.529Z","2.0.1":"2019-07-20T10:59:23.116Z","3.0.0":"2019-07-21T09:12:17.120Z"},"homepage":"https://github.com/Jam3/babel-plugin-static-fs","keywords":["fs","readFileSync","inline","transform","string","stringify","brfs","browser","bundler","bundle","transforms","static","statically","utf8","string","text"],"repository":{"type":"git","url":"git://github.com/Jam3/babel-plugin-static-fs.git"},"author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"bugs":{"url":"https://github.com/Jam3/babel-plugin-static-fs/issues"},"license":"MIT","readmeFilename":"README.md","users":{"sergiodxa":true}}