{"_id":"fastify-casbin-rest","_rev":"67-b679a80bc47bfc09d58e4e702d70f7cf","name":"fastify-casbin-rest","dist-tags":{"latest":"4.0.1"},"versions":{"1.0.0":{"name":"fastify-casbin-rest","version":"1.0.0","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@1.0.0","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"af90024b1c4bc9c9949fbe766cf2ad76ee39da8a","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-1.0.0.tgz","fileCount":9,"integrity":"sha512-L1FjcxjGl5iYbSpzcfFZ3n0uiHYWND7WKNMUpX2A1D4WX/Rb1I939Se9k7Or8YIVpW9C6dQWbBFfbIlRYIzsvQ==","signatures":[{"sig":"MEUCIFKYGBmUKzOUfEAnNy5updVIzYb+jFyqnTarGDlky76LAiEA4PfUquuuL4MJQUziIkNnFy8mDDZR9eWBbKIVx03HqGs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpCAWCRA9TVsSAnZWagAAx7kP/29JPCNTrWXelEjFcUdA\nvdVXHBRYY8TAFHZ1FjbOc/wHEZXaGZzwJV9go7O+cmNQ0h6zOP2R+esblWWR\nOXBPMs4zub2I6EgQMst4YwMOHSO4buwv+14/vuAAExWV7PJJJCRw2GyGnYyN\nXRqwIabPXOvK2isZAX1ZlQabVkZTVxUQoJ/9t8UWzYrBmihi3Ae0mzs6ymxe\nfyFlktQ8zOE7oItHPLfh06mVFu8Ix7BEKXQ9uFFH9cKmt6d1g9YfdfBr4At+\n5sS6dO6BbSbM6keWuwiAmZO0k90YH2JYEzVS4GtJIKvgaA9752lXwCnCzZE9\n3VkWMHdciU37b0hl5Jlwa6I/YtyGaeciqS7ti3YPk2qnRGehy4bLJixIHobO\nkk9K3xQ5ZekCk45zbw/4MBxmewiIl9UYC7Z1/djW1h0CBbGxpFl/ICOB0Xq1\nZRl/jyxbnJmJ2fsLcz/wT0xRWUftlGJvHWeOsi/N9S94b8i/Nv1itunpbFUp\nEHrifPk+JUaa6IUnYjPxsG3V4nw9C/SXG6Ovhar14kOwrvqywXwjEsIb/XeS\n/UHY8qg+E+d7XZFeBdRsGaHnEX6Vq85ZJXrqTSkpo4G/v6fU0W3Hh65gwo/j\nxlGxuQrSabPvqeg7fZQwX8Ntz5lS/WAIoEoBCxg+QLlxToppTHM6JARGQP7v\nK+Ob\r\n=Z5oY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","types":"plugin.d.ts","gitHead":"a3aab494cc24c159b613013593dbd2e64f422a2b","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"6.13.3","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"12.13.1","dependencies":{"http-errors":"^1.8.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.10.8","tsd":"^0.13.1","sinon":"^9.2.1","snazzy":"^9.0.0","fastify":"^3.7.0","standard":"^16.0.1","pre-commit":"^1.2.2","typescript":"^4.0.5","@types/node":"^14.14.6"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_1.0.0_1604591637991_0.3210386183333085","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"fastify-casbin-rest","version":"1.1.0","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@1.1.0","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"1e54e83e53a075c9357d4af06b136c107177d1d0","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-1.1.0.tgz","fileCount":9,"integrity":"sha512-1AU37SHurSh7n7DEC7ySD6kyEtXaZNSGCThDrgm5sIU+TW3yv9+osLJbuc6JNsgnEjUScLwEbKjq0MNkNnKn3g==","signatures":[{"sig":"MEYCIQDyUUQDdHfVSiBvST2XArGBBIopODZkv0QXomDfcuNq/QIhAIRORVMVF07B1vkRhtpMpyNVnLs8w1zBCeYDsSoX6hlA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+jogCRA9TVsSAnZWagAAxtAP/RoQtNmiuZvpTKKRtMEC\nrh3HuspiJco7kY80NpbYkB62AlH6hKrnQTwS4NjPBTswiec+lXopE16yzOFV\nt+lwPLNMczK7WDUuDO56vndB+Un5TfpRTDSTeT5SjgC9/6d4p2WVPR6gHWqX\n9gAs60iYnAv2+zDKKAuJp6jkkprzzsEtcQedlMZNXqSw3snCNnT4JufXVllp\ns19epWhYR1mFpHk1UiD4d+mxwa0GfnC4rOwWjdCUKiiY25Rr2lskWGsRbWIE\nFtU1mu2+uEunhmpIiAH4eFqHxCR0Q3Yxx4ZGU6Wxve6iczXsVUd40AOXkX1f\ngIsKiDgoC97N89o5qHz18MnCQq3Blmzjhr3ZEQPp46zLd6t43myLXO999gU9\nJPRK2OPmd3F1CUuvWCRAkt2XEK9p9+lvQ2jxUwTG9i/rRzIrBikVIEX6apl1\naOP1hnZyXKyMmoAiLe+z/nom1bBENnBzs8IphdMccwW4G+rH/fyCpTUZsWUq\n38r1KPPvJWAVyv7ynAbjcvhVD1K0383IKCl0KbDgqyaxMjRxLB0ab509RiAd\n9jAYLjwfmRCaHQucY6/UfeOx/ZSNxseQ9HYERh2dgLAPFVwIwtvEfFx0dUWm\nte7nxW+bt4zzm0IMD7Vm1tsLEyJYE+GxilUF45BPK83lqHO8/T2xnhRDugKr\nw+98\r\n=5Aq9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","types":"plugin.d.ts","gitHead":"b78a401d3cf06ca1e8e44e5c4bdc47575b129aa9","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"6.14.10","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"14.15.4","dependencies":{"http-errors":"^1.8.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.10.8","tsd":"^0.13.1","sinon":"^9.2.1","snazzy":"^9.0.0","fastify":"^3.7.0","standard":"^16.0.1","pre-commit":"^1.2.2","typescript":"^4.0.5","@types/node":"^14.14.6"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_1.1.0_1610234400397_0.7354440797376287","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"fastify-casbin-rest","version":"1.1.1","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@1.1.1","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"bbd91fe26fa29412230226f4b0d0d285b6b74d9e","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-1.1.1.tgz","fileCount":9,"integrity":"sha512-3fzS119cys3IriB0c5UaoTxHb75uUosQePq8nuDibou6RbaPkGcD72dRks8dWnHnNc4N/yQIufrFM7xayqz+Dw==","signatures":[{"sig":"MEQCIE+/lsVWHh8JpFhk52dqkZbFFmKHpQy3UhLIuRS41RcSAiAOfugl8ZHpbBr/rvsQYyoZOcnUrvS/W6fIJqBz/DFifg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+j/lCRA9TVsSAnZWagAAVDMP/iGXhSjb/jAFia5ye/wy\ntAXsh8Y2eqtvYLntMZ5xieuO91m0G6muclITsMpT82vNlNetEuspJOcCj/nM\n+mUGqjZGg09jQaoodaaeO+mtu86/Bovm5F0Fuu65qvObM91c18+n13QGG5Io\nObsK7zxAEaLwJKOaG89crJIYhiaBqcihTVdFpUOuRwGRDSHVP5y5syOGI96s\n6RlCEvgL0zzSl6abcVepCbHWWQ6RIhD2C3XJiMDpWkk2fKe6kZSRfzKfi++p\n+LWN42SJmZ2AVKiSIjM6aPOdin5rLNwY6fXgNM3WMknGCz6ht5KTHKrtpGyb\nVxjJsBqUp7nUMJHmqUUX1ti3PbRycvOZOJz7rjEmKYr/dKSiX0L7Gg/tL2dY\nx92K9h4vnR6yzhFhdKtSSNuXvIyVClX3QFuXp+JPZ9FdKKkbTh5IyMvOHRVH\ngNb29hdWvxjfNSS/rB2eiFVgs1KE6CrPam/6FRYC8VbiF6y1b0zR/EzdExwj\nS9s14n8O17kySl2kZsLxgxrHDIz4gOsmg1QjW02tFwFL1dgTIiTObAfTFlYw\nu6PR14+emPDthTzsm9L5Uu63sADZAk7fz/mpJm1qkkXfC+hsQPpf9jhYgSGw\nlDqMdMC5zzOWH7cfmjCtiO+m00ncsz/rDqb99cB2i6imGIdRn9wyCFm7xVpG\nQC/W\r\n=O1I0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","types":"plugin.d.ts","gitHead":"06a34ba1b0cd86e868394fbf8c773264e1a7b3d5","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"6.14.10","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"14.15.4","dependencies":{"http-errors":"^1.8.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.10.8","tsd":"^0.13.1","sinon":"^9.2.1","snazzy":"^9.0.0","fastify":"^3.7.0","standard":"^16.0.1","pre-commit":"^1.2.2","typescript":"^4.0.5","@types/node":"^14.14.6"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_1.1.1_1610235876461_0.20440463735147962","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"fastify-casbin-rest","version":"1.2.0","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@1.2.0","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"fa327987df500de3f7101fc153fc0c7ca96a334b","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-1.2.0.tgz","fileCount":9,"integrity":"sha512-j3tSna6yOB5VPR5ZUlxv+12MJ1pE4wMkNuIIFSTuMjUlBxwifB1kkx+TGqiwvYHwnX70oBk91TeevDR8XlyQtQ==","signatures":[{"sig":"MEQCIA1YIb+CevpMrGHLQV/p28JXlvBroUFxICOFk+4mpZxLAiBeu1U3PX2lRxIcpSrtxz2Rz0zQbdpyagta84d/1kOZEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgA3YnCRA9TVsSAnZWagAAlGEQAKEvhmFJYINcZa/xQ3+I\n2AtFIc2VG0hz0v4FnWGmjn6rixLNbXZYy0RKABLdcpktdVOI0L4hPZGRf611\n/uLXkPkHIjxjSYkr/ykBnZG5tK1D39nd2Z0QVqRf/O/Uih93+HxZq5r5ey41\nHccxxZjMi+UwcshMYdFKCYlmbmJpFAVxwRujOD6q9U0EBljTCrfsj7Jy6Gr4\ndGJOhEuAOxYZJ6VaNb6+kITsPW0rpl9WiDowEa8iQf/cVLmeDRZUTxweO962\nO9AJPk3F2ezvMySboMtreZfPUIkDODzLlHm1fO4TXVbz5TO9zVIzKt9ZFmV3\nznJ4o9qeMtr548DLgrYzcKyc0Df2i5dZiUGeba9rHoaJFtrKsIBH1vX7pxFy\nHOOb7KXgscpTmkuMgay8+e9ZYnchtlVHYC3MNJTi5+ahaMhFpIGDbgKrERZ2\nAniKGLOxEN1a4FaTbR9Q6x0eW94AXp72wCyP1alMYXI3hciBXjjV/Oa30cQS\nJvOeX67i9ThRzLOTJufY25AIggpmKxltVnju0g7ByHB1+7jmJk3VB2VCr/jY\nDdjB/HGmn+sEjWs9dei8KfGhPGlzhopCrNC3A2oo8ro/IBSRS/asjfRGyYxf\nM5zhs7PtPQtok/emUqZ5RiD89XOVj2JtrVqWASMDxRiWcbSVkmyHQn40R5Xv\nWkuF\r\n=p4SN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","types":"plugin.d.ts","gitHead":"b2d386be1ea0e6b5105b9848729e9e4c70181f98","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"6.14.10","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"14.15.4","dependencies":{"http-errors":"^1.8.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.11.0","tsd":"^0.14.0","sinon":"^9.2.3","snazzy":"^9.0.0","fastify":"^3.10.1","standard":"^16.0.3","pre-commit":"^1.2.2","typescript":"^4.1.3","@types/node":"^14.14.21"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_1.2.0_1610839591158_0.7947392417810641","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"fastify-casbin-rest","version":"1.2.1","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@1.2.1","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"471e8ad6caf844f62b33e3957a0e580643c6a24e","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-1.2.1.tgz","fileCount":9,"integrity":"sha512-iaNA1CvmASIpjau6ASslME9mu/PhAn/FFAOfJ4N3ALsDqR4HJ94Ym0N1cSukRHqDo7zYA/pw2qDYTQ6Rm3BANQ==","signatures":[{"sig":"MEUCIQCK2ppPXinq6SX6PFjhDcR+LiIRd0+ZdqGz2nbBj4dBaAIgZhWiSDlQlrZqCWpXYyOsFWtdCwsDKenUcXz8UWgFTcM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBTvnCRA9TVsSAnZWagAAPRcP/RbznSN9c3DPxmW+/31w\nXLnQ++6Iavd6+td3YYau/YLi+0PjZ90VrNvlJvy2LXyaKZT7PBB/Hw46aVmJ\nzmKW89b2VM3WmpVRD/bUggaNrU5zalw48/hQybms+LIn8glGLNDccbwZilLS\noUO1rSMjCfAXSNEOSe5h94svw56qAZKE3l8y9+uI16C1AOGrh1vKPz11QTEV\n1p5NxXgsBTo5QpkhvmiNigtDjRmhudCa0QE/lbFxxJYTiGbj0xsQKdcQas/q\nhalyHMiXM7gFAxxGBLAg3juP9CDtZF5zXYMnP3S7g87kdncQrPcApW/JPMVD\nn5pl4oENd3PQAW+/AFEyNU1bKDvCDOowdM+Au4pvV9i/6hgdTy2DpY3lVJp2\nKQb/CL2n9ULvtPKP0SdMw667+2770k6SQWUgx9RdzS8MQ2634YUs0tieVIOC\nkuJqFmP+j0HeXg9Z1QV30uWw/2h4PTOla2+XiHYUN4vAV+Sk1zyuX6bGpFej\nms0Xi0WtNlRZP++sm2l7DyrUxhnxlPsNpieyrzBeAr7sGGuG7/lKF59lfc9w\n376CGFSOo7K2DzHqpG5pyzv/MZjCzNGGqig0WFynfX+oH7/tVchXl+W95AX+\npsWIJlOEaLzNrAgKcyURSB/3tqV4UWC3+80MJTRPidKDpuPSe9kcRsJ1t77C\n9LZ4\r\n=CZcR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","types":"plugin.d.ts","gitHead":"fe4eaa53916c0b0d82ed28561e43f25c3112702e","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"6.14.10","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"14.15.4","dependencies":{"http-errors":"^1.8.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.11.0","tsd":"^0.14.0","sinon":"^9.2.3","snazzy":"^9.0.0","fastify":"^3.10.1","standard":"^16.0.3","pre-commit":"^1.2.2","typescript":"^4.1.3","@types/node":"^14.14.21"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_1.2.1_1610955750895_0.2157950272780247","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"fastify-casbin-rest","version":"2.0.0","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@2.0.0","maintainers":[{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"leorossi","email":"leonardo.rossi@gmail.com"},{"name":"nigelhanlon","email":"nigel.hanlon@nearform.com"},{"name":"alan.slater","email":"alan.slater@nearform.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"filippo.desantis","email":"filippo.desantis@gmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"cianfoley_nearform","email":"cian.foley@nearform.com"},{"name":"mattrobinson","email":"matt.robinson@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"shaunjbaker","email":"shaun@schb.co.uk"},{"name":"nearformer","email":"david.clements@nearform.com"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"damianberesford","email":"dberesford@gmail.com"},{"name":"conoro","email":"conor@conoroneill.com"},{"name":"mcdonnelldean","email":"mcdonnelldean@outlook.com"},{"name":"jasnell","email":"jasnell@gmail.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"iamsw","email":"sjwilson89@gmail.com"},{"name":"donovanhutchinson","email":"donovan.hutchinson@nearform.com"},{"name":"joezo","email":"joezo156@googlemail.com"},{"name":"jackdclark","email":"jack@jackdc.com"},{"name":"lpww","email":"thomas.treffry@nearform.com"},{"name":"chrisdwheatley","email":"chriswheatley87@gmail.com"},{"name":"admataz","email":"adam@admataz.com"},{"name":"ckiss","email":"kissdevel@gmail.com"},{"name":"ovhemert","email":"hello@ovhemert.dev"},{"name":"fiacc","email":"fiaccobm@gmail.com"},{"name":"zimny","email":"piotr.zimoch@cloudaemons.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"dublx","email":"luis.faustino@gmail.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"}],"contributors":[{"url":"https://twitter.com/kibertoad","name":"Igor Savin","email":"kibertoad@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"214030ddbc3490e230f682f0f375ea66ee43386c","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-2.0.0.tgz","fileCount":9,"integrity":"sha512-skiV2VMu/jxYAAb8OAV/9wcPJI1GOkAxz26fC4lsTbwE19SZRASEj9968MgKk5/DtAiiznvwx1OLLC+RbSz8Sg==","signatures":[{"sig":"MEUCIQCnsnwWsnT6rFnHyM7Ylk9QMo4s/JrZKImiY1+ZB1MyaQIgAIoIrpJmdYijsqCeSdZf33yIsY/K+0+wWCbBgDovjxU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQgO3CRA9TVsSAnZWagAAvNgP/02mc05RJpoKJggqBJfu\nUtR18ieBzdJW0pBrTIpl1wgx9Zzl7YwU7UQww2Co0XFrHDnH34uWKClgmUmb\nKNzAC9jb5HUn3nvlE5TxxZE8z/KP+wxH12NkUZbXbJAobpyLEvsmTTFZaju3\noA5UvakW8qqCoKEBlxtl2Tr5QGLqBwtZ0a0wzO7tsL7YkwIVZbTURIY0buKi\nbtKRSt50gzlVQC7CZbN9mNS4w0VHUJFSHd6dY3OZWgq1jvDTopAOreC3ZYKH\n4R4OekHw8BT0M7FjgeWtnhbNQbDLfEa83vmbsp9fsf6o/7QDUBCXGVkRrSyu\nNB7CZWIyLAazjnpSj+r22ezWIvtKVdjnx0e2fIx5y3TrIKiWsoxZZbOWE/5V\nNl6TYWV92tD0CZcpGU836fMC1sj/f7Pz9rvRy8pgbnittJOAPN0uXZh2fg1V\nVFWeiBWikhzL2A3iEhMd/gGhIWrxGqXyZswFP1rM2zmg4eFWbcP5QGElVyRi\nLsoReC7yB+7wV8tEDFy+EoZfSj+Gj4zy6/AC/s5q1fZFQGAshx9gcFoYgevh\nb6a4k+VOnGb+hL5Jv7ZefIgrWWof7XvkTaESs+kN3FZJFgWafuK5s0svX/Gd\nFlc9/hDBmbjp2KbLdRbNecENL9sHBe9NiycVAymIdi/sQuwDWf+2h30deqT0\ntk1f\r\n=DcNY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","types":"plugin.d.ts","gitHead":"10234bee70778162c09509071520c5842c99e200","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"6.14.10","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"14.15.4","dependencies":{"http-errors":"^1.8.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^14.11.0","tsd":"^0.14.0","sinon":"^9.2.3","snazzy":"^9.0.0","fastify":"^3.10.1","standard":"^16.0.3","pre-commit":"^1.2.2","typescript":"^4.1.3","@types/node":"^14.14.21"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_2.0.0_1614939062843_0.8851380924756498","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"fastify-casbin-rest","version":"2.1.0","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@2.1.0","maintainers":[{"name":"jackmurdoch","email":"jack.murdoch@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"leorossi","email":"leonardo.rossi@gmail.com"},{"name":"nigelhanlon","email":"nigel.hanlon@nearform.com"},{"name":"alan.slater","email":"alan.slater@nearform.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"filippo.desantis","email":"filippo.desantis@gmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"cianfoley_nearform","email":"cian.foley@nearform.com"},{"name":"mattrobinson","email":"matt.robinson@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"shaunjbaker","email":"shaun@schb.co.uk"},{"name":"nearformer","email":"david.clements@nearform.com"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"damianberesford","email":"dberesford@gmail.com"},{"name":"conoro","email":"conor@conoroneill.com"},{"name":"mcdonnelldean","email":"mcdonnelldean@outlook.com"},{"name":"jasnell","email":"jasnell@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"iamsw","email":"sjwilson89@gmail.com"},{"name":"donovanhutchinson","email":"donovan.hutchinson@nearform.com"},{"name":"joezo","email":"joezo156@googlemail.com"},{"name":"jackdclark","email":"jack@jackdc.com"},{"name":"lpww","email":"thomas.treffry@nearform.com"},{"name":"chrisdwheatley","email":"chriswheatley87@gmail.com"},{"name":"admataz","email":"adam@admataz.com"},{"name":"ckiss","email":"kissdevel@gmail.com"},{"name":"ovhemert","email":"hello@ovhemert.dev"},{"name":"fiacc","email":"fiaccobm@gmail.com"},{"name":"zimny","email":"piotr.zimoch@cloudaemons.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"dublx","email":"luis.faustino@gmail.com"},{"name":"paolochiodi","email":"chiodi84@gmail.com"}],"contributors":[{"url":"https://twitter.com/kibertoad","name":"Igor Savin","email":"kibertoad@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"1b18cf456bb9398f44e14ad0ed137ef86480466b","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-2.1.0.tgz","fileCount":9,"integrity":"sha512-axONeFI17N+AEGflpG5OO3u9WYPJMR9q8B4N6/8rUUZ9qoL2hsGceW3d2Og/KH8CAlx+6uGVgCWsadvXBXYRCQ==","signatures":[{"sig":"MEUCIQC2/J6gRxAaplVkK4yuAjDeIZ5dPJpmRUS1uWJmEAdIbgIgLaAGWU13cexKH8Fu365bArByIFWqZNksadCwjliIY6k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgf9H2CRA9TVsSAnZWagAAYBEQAKA3Vihyy2RxEyn6Nuo9\nHbhXec2hk2cPhTvntOPj1CvKGN424H9cES1xwVJQ05LzWRKtJT//1RpKRpTz\nq45MPrRjHrZ89nnvLsMNWqxy1XyPwlzwdMOF9bstAsOe4PVNxVbvNzmLDhfB\nSYhxlQqjNmOhmDx/q+o4uXdT1dq9+3vn4jOi/TrWIuR/IDgnK4/9N7LUfHZa\noawcviFX7gUUWN86RWoCS8l7WS4P6RjBGpimSqtwAfnyH46d5hSoYa7g7uXK\nJwjKr3RqWaA9Rg6oIiKGfORAN441NJyFhoBSgD2BHfoPKnalYOLeR/aIK471\n7L3TEbvc3pPgKgTWNcz4Gl4KnIphVz+XPqO+irelucGhSpV2Xqta++Mp5aQJ\nzXJc5AAIPKflesOAmjnYo3Z5rniMiqe5WJwOstnXCqPf93S+xqyljoOuMB0v\nggiAyyHHIaD/KK+6LQYJfXLdAz2NVoHH3YWNFZineEFJZ0jiAWSnqxqNhKVR\nIMSvhLehewvu3NC4ZzVAjP8L/bhoV3HaQPujaN61pFivlj60zz2b/UbNU+mf\njxtPdwSnjsHVpQab5xcDYkOcm398wCS5ejonJINutsPEPN2lGNfY9vFOAarw\nWqe4ewHBpJNt7vR7clZb8lbUcRf37koHV8t/BwXrqe7fVkrQaoVE5G3vdXpK\n4fbj\r\n=5LA0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","types":"plugin.d.ts","gitHead":"026195dceefcb1fd62301d38f2ab722f8a5f6ec1","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"6.14.10","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"14.15.4","dependencies":{"http-errors":"^1.8.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.2","tsd":"^0.14.0","sinon":"^10.0.1","snazzy":"^9.0.0","fastify":"^3.10.1","standard":"^16.0.3","pre-commit":"^1.2.2","typescript":"^4.1.3","@types/node":"^14.14.21"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_2.1.0_1618989558163_0.5127333237291662","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"fastify-casbin-rest","version":"3.0.0","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@3.0.0","maintainers":[{"name":"micheleriva","email":"master@micheleriva.it"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"jimmymintzer","email":"jimmymintzer@gmail.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"contributors":[{"url":"https://twitter.com/kibertoad","name":"Igor Savin","email":"kibertoad@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"8a912530f484ff43c34f1b579c41abb5af8d8ef1","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-3.0.0.tgz","fileCount":9,"integrity":"sha512-Czj0MqG1m2Uu7RHi1JaXjF4K222+IVxZ9BlTYGoosGj/VzOQqtajaQ61nb0qTLfVuE8GXqNSqMmnAXr4CelURg==","signatures":[{"sig":"MEUCIGjLr7sEQ7LsDCL+rh047FBgPCEIirThLVe5nPd0J+erAiEAyrF+O7Y4/w2A6azCY8YUS11IVs0jCSWoe67qkCwpiPc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisFmsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmDA//ZC9iWiflRUHhickqNuFKDFJkTiFNAwPzuyULvsEE11Uiq0GM\r\nknQ+CT3VFFJgxmFYFdVw8nVduAcPuXJJaiYY6t2N4QZ4MFQbNDmpUn7jiJpR\r\ns5YF/xgy6So/uJMX28fKcljktciVN8+vxL+/6y5paryKm8WsR9HmD+WdUMPP\r\nQS2Co0GLfsn2iVYEnZ9ZfjBhB+lq9F7CO9M0d5kmxcgnvowmR0IlsmIhMgrK\r\nCxbftUOVBe+Og4/I9nLQIu1u0+C+jpllO4upXA/80Pc75pE0lAbtp2K677J8\r\nUuAtFw4ybsqdVgEYtlxFGNtk30Eqj+/pMmE1syd+qZegGWt0yXAww2+QUqfr\r\nQZdrD1SKqt5PNC9qu+HQHXhBgWbsIrn5j1Ii6r4NNnatWU/aVAsxlmK3rpbf\r\n0DsnRQJtcs9XC8DktOPvwD64Zl04MLh+Z/H5PtxL9+B3pufKQSxvFpAwTdxW\r\nJVwY6KBQpF69HSdKh6Zba/4J/r1Drz39+zDYIarzKqugbPjUxJLRXxpbuDJp\r\nD4mHVdDdSehnk3Md6GvjvoZng1GMWM2FvEZDD2QlKAyb36+lUuhSiLgg0uB/\r\n7CvCU5LbfTTQ5StRQtg/AbzQb7C9HC8z4WpYDfI+SzRsvNT00vdCDZZQXmny\r\n6bTXWvIWmcMSfmTdHiFqQznQeLtSz7LdR88=\r\n=sFIh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","types":"plugin.d.ts","gitHead":"ea54e9ee5c9046e2368445c61a965665071fbc19","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"8.11.0","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"16.15.1","dependencies":{"http-errors":"^2.0.0","fastify-plugin":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.21.0","sinon":"^14.0.0","snazzy":"^9.0.0","fastify":"^4.0.2","standard":"^17.0.0","pre-commit":"^1.2.2","typescript":"^4.1.3","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_3.0.0_1655724460315_0.33680782703385814","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"fastify-casbin-rest","version":"3.1.0","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@3.1.0","maintainers":[{"name":"codyzu","email":"cody.zuschlag@gmail.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"contributors":[{"url":"https://twitter.com/kibertoad","name":"Igor Savin","email":"kibertoad@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"71e514215f8f6c1ba4cb797cbed9c26e5e9f8eae","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-3.1.0.tgz","fileCount":10,"integrity":"sha512-iZXAKgRPIKEa44xDQdFCK+3Ho3AmsKnQtqEx1JBAdGTtNTrkUve4/JruOQRoFr4i6uXlbU+rcmnnZgsVunrW0Q==","signatures":[{"sig":"MEUCID3Gi0nEoySa25dXRMVD9gzGixQKC5/UultDA323OlK/AiEA1wQ+fUfO7jh+4yVfF7TeLsaloTZJPYNkns2XUvZQnZc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSRR1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmowrhAAll1cMiadj/Z8sqvZXKbIPxRo5YY0CAiMawwawIKe14rWQUNI\r\ny2Kq6ORvXhScZ8Wbz/rW2rA4eIjdD/j4ZNE6BKbk2qsjFePH6E2YkRVmeuKe\r\nkGXY9OBrEaTXUtxJzo0vGK+VTDrJPyLQPArZR6ZnYJdETMXmvufWfUoQpKyx\r\nznIGxeNx7cMQQAcTX1XprdZ+WZelDyQyod22jYPc5adA2BD1e6CvUMijAEu2\r\n8glmdAHZ+BbDLMwSHYRKjH7XmTZGDsJ7gybbrVsgIGzUK1vEIAxeydvOr9D1\r\nZ1b2ybCN+u1Jhlc5b/2ZEn6uCUO5t0FCqq6s0ceowV5RdnbpX2PKah555rWZ\r\nXz6DL+yY3su0NyeTOmshpQ5fBPBimJTQoMsM041ljMhqWN/Ok8JB5zhHH1ER\r\n+ARd+mAISR1gzyIsgl30aIiHVcFxd46VnPky9SrjqurjwiC7kZvfgXsif3sX\r\nTDleCspjT39Jm+DCkw7KR5xw1gxhb7UG8jlf39CAZtC3G41z+wogmcg9O9kz\r\n7Bi7InbAPLrnHpr1D9UoVVXPCQYXYShRftibNaHlyFU+WOy1UzkFB4HHJlAx\r\n7d9IutBR06+lPb0gq8ZZs9g6Dg8G4fUMNgWWZAFM4GgD3E1a566zDpruM16x\r\nPLbcsR88+1164apofW84YFyCOvZ5AkhZFRs=\r\n=n90H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","types":"plugin.d.ts","gitHead":"c5ed6040a570f902d22176414867766e33ab13a2","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"9.5.1","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"18.16.0","dependencies":{"http-errors":"^2.0.0","fastify-plugin":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.28.0","sinon":"^15.0.0","snazzy":"^9.0.0","fastify":"^4.0.2","standard":"^17.0.0","pre-commit":"^1.2.2","typescript":"^5.0.2","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_3.1.0_1682510965775_0.1313275948314061","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"fastify-casbin-rest","version":"3.1.1","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@3.1.1","maintainers":[{"name":"codyzu","email":"cody.zuschlag@gmail.com"},{"name":"davidefiorello","email":"davide@codeflyer.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"shogun_panda","email":"paolo@cowtech.it"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"irelandm","email":"mark.ireland@nearform.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"}],"contributors":[{"url":"https://twitter.com/kibertoad","name":"Igor Savin","email":"kibertoad@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"824307d5306ff53cf3eb740f7224da559e3515be","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-3.1.1.tgz","fileCount":10,"integrity":"sha512-MraJ94nOGp9LzJcvqYM3mgNkUatLWtVqlpfs6Sr3xf5FP6u197NFMx5FstDhuXl7ib+BpW0cvGcKmYDyhiBiEQ==","signatures":[{"sig":"MEQCIF3Wbe/tNqzKrgNjXPB/e3x4fzTtmdh49H+b9kffwr9NAiATLE4Ef4qBjfPJTh085tCaEO7WKjj/Ea6EqBpElmmwbw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-casbin-rest@3.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":23825},"main":"plugin.js","types":"plugin.d.ts","gitHead":"02eeb260c2e355992691faf807c08a9693f1706a","scripts":{"lint":"standard | snazzy","test":"tap test/*.test.js && npm run typescript","test:ci":"tap --coverage-report=lcov test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"9.5.1","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"18.16.0","dependencies":{"http-errors":"^2.0.0","fastify-plugin":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.28.0","sinon":"^15.0.0","snazzy":"^9.0.0","fastify":"^4.0.2","standard":"^17.0.0","pre-commit":"^1.2.2","typescript":"^5.0.2","@types/node":"^20.1.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_3.1.1_1683876845651_0.5068774970815635","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"fastify-casbin-rest","version":"4.0.0","keywords":["fastify","casbin","rest"],"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","_id":"fastify-casbin-rest@4.0.0","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"lucalanziani","email":"luca@lanziani.com"},{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"}],"contributors":[{"url":"https://twitter.com/kibertoad","name":"Igor Savin","email":"kibertoad@gmail.com"}],"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"e77007ac1a2fca4c8607a403861c6571ba5784ba","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-4.0.0.tgz","fileCount":10,"integrity":"sha512-5TXT9IHvxN3Vxzq1Zv1mzX2O+5sGpvrg3mVHjz8dR//BYH1L1TMbnKHVdooK4L6U/fKsDNj1Bakm6to3jbUzBw==","signatures":[{"sig":"MEUCIQC+kS8zfAd2C0Hdf4/wNAX8ph8mrXe5T7YMgnctPDjetgIgFn8Q/+s7gR0xXNW6oIHNOkOAZ22ny1aH1NXH66RC8gg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-casbin-rest@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24050},"main":"plugin.js","types":"plugin.d.ts","gitHead":"80246ced936576e9556668072e55c2b2e421702d","scripts":{"lint":"standard | snazzy","test":"node --test && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tsd"},"_npmUser":{"name":"simoneb","email":"simone.busoli@gmail.com"},"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"_nodeVersion":"18.20.5","dependencies":{"http-errors":"^2.0.0","fastify-plugin":"^5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.31.2","sinon":"^19.0.2","snazzy":"^9.0.0","fastify":"^5.1.0","standard":"^17.1.2","pre-commit":"^1.2.2","typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/fastify-casbin-rest_4.0.0_1733855413459_0.32873815853828336","host":"s3://npm-registry-packages-npm-production"}},"4.0.1":{"_id":"fastify-casbin-rest@4.0.1","bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"dist":{"shasum":"fa9d9b491179059b121d7ab66b7dc3c1845f56d1","tarball":"https://registry.npmjs.org/fastify-casbin-rest/-/fastify-casbin-rest-4.0.1.tgz","fileCount":11,"integrity":"sha512-tvbbsKPwKfNqv2wy51YuJjyKqoh7ejO49rYbQPB2W7BWBTpGr4liObImp7X2HPurAh/tUKbsMXH5BWWnpyk8eA==","signatures":[{"sig":"MEQCIA9qOBzuZXHRt3xrJZt7XyxzawZvmeOtVfw1sg6xJDmgAiArT2uPpWjxgqJC47R4i55bjC4iju4SzT5TXha7cxwBag==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDJ4hO6o0GPOs27gANTbaZnSj7RX9mh2KP4Zj3dwI0mdgIgPPOpHsrA1dO4v6J95r6WGvHslzhVYZM6KK/V5TJK+vI="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fastify-casbin-rest@4.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24189},"main":"index.js","name":"fastify-casbin-rest","types":"types/index.d.ts","author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"gitHead":"cfbb535e608c1b3e2d372546b6a0f3d5e8793701","license":"MIT","scripts":{"lint":"standard | snazzy","test":"node --test test/*.test.js && npm run typescript","lint:fix":"standard --fix | snazzy","typescript":"tstyche"},"version":"4.0.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"aa178e02-ba83-4c1c-b08c-2a9c36e28676"}},"homepage":"https://github.com/nearform/fastify-casbin-rest#readme","keywords":["fastify","casbin","rest"],"precommit":["lint","test"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"_npmVersion":"12.1.0","description":"Plugin for fastify to add support for Casbin REST model","directories":{},"maintainers":[{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"gbdev13","email":"contato@gbdev.me"},{"name":"sociablesteve","email":"steve.goode@nearform.com"},{"name":"ryan.roemer","email":"ryan@loose-bits.com"},{"name":"elizibin","email":"elizibin@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"}],"_nodeVersion":"24.21.0","contributors":[{"url":"https://twitter.com/kibertoad","name":"Igor Savin","email":"kibertoad@gmail.com"}],"dependencies":{"http-errors":"^2.0.0","fastify-plugin":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"sinon":"^22.1.0","snazzy":"^9.0.0","fastify":"^5.1.0","tstyche":"^7.1.0","standard":"^17.1.2","pre-commit":"^2.0.0","typescript":"^7.0.2","@types/node":"^26.1.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fastify-casbin-rest_4.0.1_1790779997262_0.1402442731502047"}}},"time":{"created":"2020-11-05T15:53:57.991Z","modified":"2026-09-30T14:53:17.715Z","1.0.0":"2020-11-05T15:53:58.184Z","1.1.0":"2021-01-09T23:20:00.538Z","1.1.1":"2021-01-09T23:44:36.701Z","1.2.0":"2021-01-16T23:26:31.270Z","1.2.1":"2021-01-18T07:42:31.039Z","2.0.0":"2021-03-05T10:11:02.971Z","2.1.0":"2021-04-21T07:19:18.280Z","3.0.0":"2022-06-20T11:27:40.518Z","3.1.0":"2023-04-26T12:09:25.940Z","3.1.1":"2023-05-12T07:34:05.867Z","4.0.0":"2024-12-10T18:30:13.665Z","4.0.1":"2026-09-30T14:53:17.354Z"},"bugs":{"url":"https://github.com/nearform/fastify-casbin-rest/issues"},"author":{"name":"Simone Busoli","email":"simone.busoli@nearform.com"},"license":"MIT","homepage":"https://github.com/nearform/fastify-casbin-rest#readme","keywords":["fastify","casbin","rest"],"repository":{"url":"git+ssh://git@github.com/nearform/fastify-casbin-rest.git","type":"git"},"description":"Plugin for fastify to add support for Casbin REST model","contributors":[{"url":"https://twitter.com/kibertoad","name":"Igor Savin","email":"kibertoad@gmail.com"}],"maintainers":[{"name":"eamonn.frisby","email":"eamonn.frisby@nearform.com"},{"name":"donal.moynihan","email":"donal.moynihan@nearform.com"},{"name":"gbdev13","email":"contato@gbdev.me"},{"name":"sociablesteve","email":"steve.goode@nearform.com"},{"name":"ryan.roemer","email":"ryan@loose-bits.com"},{"name":"elizibin","email":"elizibin@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"}],"readme":"# fastify-casbin-rest\n\n![Continuous Integration](https://github.com/nearform/fastify-casbin-rest/workflows/ci/badge.svg)\n[![codecov](https://codecov.io/gh/nearform/fastify-casbin-rest/branch/master/graph/badge.svg?token=BwsVjvYSJb)](https://codecov.io/gh/nearform/fastify-casbin-rest)\n[![npm version](https://badge.fury.io/js/fastify-casbin-rest.svg)](https://badge.fury.io/js/fastify-casbin-rest)\n\nA plugin for [Fastify](http://fastify.io/) that adds support for [Casbin](https://casbin.org/) RESTful model.\n\nIt depends and builds on top of [fastify-casbin](https://github.com/nearform/fastify-casbin) and provides an opinionated approach to model an authorization scheme based on a RESTful model using [Casbin Node.js APIs](https://github.com/casbin/node-casbin) within a Fastify application.\n\n## Install\n\n```\nnpm i casbin fastify-casbin fastify-casbin-rest\n```\n\n> `fastify-casbin` must be registered in the Fastify instance\n\n## How it works\n\nOnce registered, the plugin use the Fastify instance decorated by `fastify-casbin` and will automatically enforce authorization rules to routes where the plugin is enabled.\n\nIt uses the default Casbin's `sub`, `obj` and `act` entities and extracts them automatically from the request.\n\nWhen a rule is not satisfied, it returns a `403 Forbidden` error by default.\n\nAll the options can be customized when registering the plugin.\n\n## API\n\nThe plugin must be explicitly enabled on individual routes via route options. The plugin will have no effect on routes on which it is not enabled.\n\n```js\nfastify.route({\n  // ... other route options\n  casbin: {\n    rest: true\n  }\n})\n```\n\n### Route options\n\nThis plugin introduces new route option `casbin.rest`. It can be either a `true` value (which enables default configuration) or an object.\nSupported object options:\n\n| Option   | Type                            | Description                                  | Default                     |\n| -------- | ------------------------------- | -------------------------------------------- | --------------------------- |\n| `getSub` | `Request => string` or `string` | Extracts `sub` from the request or constant  | Value from plugin options   |\n| `getDom` | `Request => string` or `string` | Extracts `dom` from the request or constant  | Value from plugin options   |\n| `getObj` | `Request => string` or `string` | Extracts `obj` from the request or constant  | Value from plugin options   |\n| `getAct` | `Request => string` or `string` | Extracts `act` from the request or constant  | Value from plugin options   |\n\n### Plugin options\n\nThe API exposed by this plugin is the configuration options:\n\n| Option   | Type                                                       | Description                                       | Default                         |\n| -------- | ---------------------------------------------------------- | ------------------------------------------------- | ------------------------------- |\n| `getSub` | `Request => string`                                        | Extracts `sub` from the request                   | `r => r.user`                   |\n| `getDom` | `Request => string`                                        | Extracts `dom` from the request                   |  undefined                      |\n| `getObj` | `Request => string`                                        | Extracts `obj` from the request                   | `r => r.url`                    |\n| `getAct` | `Request => string`                                        | Extracts `act` from the request                   | `r => r.method`                 |\n| `onDeny` | `(Reply, { sub, obj, act, dom }) => any`                   | Invoked when Casbin's `enforce` resolves to false | Returns a `403 Forbidden` error |\n| `onAllow`| `(Reply, { sub, obj, act, dom }) => any`                   | Invoked when Casbin's `enforce` resolves to true  | noop                            |\n| `log`    | `(Fastify, Request, { sub, obj, act, dom }) => void`       | Invoked before invoking Casbin's `enforce`        | Logs using fastify.log.info     |\n| `hook`   | `'onRequest', 'preParsing', 'preValidation', 'preHandler'` | Which lifecycle to use for performing the check   | `'preHandler'`                  |\n\nNote that extraction rules defined within route options take precedence over the rules defined in the plugin options.\nIf `getDom` is not set either on a route nor on a plugin level, enforcer is invoked with `(sub, obj, act)`.\nIf `getDom` is set, enforcer is invoked with `(sub, dom, obj, act)`.\n\n## Examples\n\nA working example can be found in the [examples](examples) folder.\n\nThe example below uses [fastify-jwt](https://github.com/fastify/fastify-jwt) to authenticate users and extract user information from the request.\nIt uses sample REST [model](examples/fastify-casbin-rest-example/config/rest_model.conf) and [policy](examples/fastify-casbin-rest-example/config/rest_policy.csv) files.\n\n```js\nconst fastify = require('fastify')()\n\n// register jwt plugin\nfastify.register(require('fastify-jwt'), {\n  secret: 'some secret'\n})\n\n// register casbin plugin\nfastify.register(require('fastify-casbin'), {\n  modelPath: 'rest_model.conf', // the model configuration\n  adapter: 'rest_policy.csv' // the adapter\n})\n\n// register and configure casbin-rest plugin\nfastify.register(require('fastify-casbin-rest'), {\n  getSub: r => r.user.payload.username\n})\n\n// decorate Fastify instance with authenticate method\nfastify.decorate('authenticate', async function (request, reply) {\n  try {\n    await request.jwtVerify()\n  } catch (err) {\n    reply.send(err)\n  }\n})\n\n// sample login endpoint which always authenticates the user\nfastify.post('/login', async request => {\n  return fastify.jwt.sign({ payload: { username: 'alice' } })\n})\n\nfastify.get(\n  '/protected',\n  {\n    // ensure user is authenticated\n    preValidation: [fastify.authenticate],\n    // enable fastify-casbin-rest plugin on this route, override default \"getObj\" rule\n    casbin: {\n      rest: {\n        getSub: request => request.userId,\n        getAct: 'read'\n      },\n    }\n  },\n  async () => `You're in!`\n)\n```\n\n## License\n\nLicensed under [MIT License](./LICENSE)\n","readmeFilename":"README.md"}