{"_id":"@catala-lang/french-law","_rev":"13-15e7d659e2e5dd986c777f71e6da7fc6","name":"@catala-lang/french-law","dist-tags":{"latest":"0.10.0"},"versions":{"0.5.0-a.1":{"name":"@catala-lang/french-law","version":"0.5.0-a.1","keywords":["law"],"author":{"name":"Denis Merigoux"},"license":"Apache-2.0","_id":"@catala-lang/french-law@0.5.0-a.1","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"5d25e898bd1c6187ba349f6bbd5fd524e743318e","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.5.0-a.1.tgz","fileCount":40,"integrity":"sha512-xKaipmlNi1+OtLeEcP+Osc0Ywb7aKKXqXHDSbQ/mCsRBQ+EVGcr/dfaRWNx5v3847r5LUr4lz8FziTmeCExcvw==","signatures":[{"sig":"MEUCIBt9G8YyFo2GNaEUf91+WLSCe/C1xLyTHO1O4oZN52YHAiEAp+qsfbFosynw53K++UVgSP890lvTjP1O9G3tmtwnjH4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1504164},"main":"index.js","scripts":{"test":"node examples.js"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.5.0-a.1_1683285038682_0.25711934910750744","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"@catala-lang/french-law","version":"0.5.1","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.5.1","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"5c49ece598128f977ec3a624d5c46e4ea1774eec","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.5.1.tgz","fileCount":12,"integrity":"sha512-2GiaLcQY12RiQF/tqM7yziIiHbeJBHESys4u95HHmEY6KPYZko59bJc0Ba4DCYq3XfTOJBKViisgmcnwNjodgA==","signatures":[{"sig":"MEYCIQCd33whypH92y/fTLjYWgw0hEZKIjSyHQ4Nk+lsb0ZtKAIhAKsGmtz+mp/MOf4c9X7qSYAQrEfQj5lnvsg/xRMbxREJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":738019},"main":"index.js","scripts":{"test":"node examples.js"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.5.1_1683286061889_0.743755216830013","host":"s3://npm-registry-packages"}},"0.5.2":{"name":"@catala-lang/french-law","version":"0.5.2","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.5.2","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"71a342e725976f892de1a96ec12304ff2028ccda","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.5.2.tgz","fileCount":12,"integrity":"sha512-NFiOy1MSucaTePPZWKh9SqwC3UyjvL4AJwagxd7ifBkUPEHXSy3EthVTVuc4iNCWJiiZ1eS6g/ttnOfD3CbMtQ==","signatures":[{"sig":"MEYCIQCeEuVqvTy2zxsTW1u8kMCUN/RkE/fP0gmmSY1WR0VSeAIhAJTbC7B2tnxAsRUbrvzJrh2b1HtlJ8Cr1TW5iLXpddnC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6779460},"main":"index.js","scripts":{"test":"node examples.js"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.5.2_1683287016895_0.6611674082817787","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"@catala-lang/french-law","version":"0.8.0","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.8.0","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"5fc6248b4953039c7f372d0ed98af21070e95ff5","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.8.0.tgz","fileCount":9,"integrity":"sha512-uLzSfWk52vNZvTm3KgGH747xRYWLcx+NY46VX3S+zD/fO6dw2A9JyO6lq8Afr95w/6sUMX/j4Nc8GhygozZpqg==","signatures":[{"sig":"MEUCIQCIx5523DUncVM3YIOT5BIWYPcTi38Xs4gfUdNcX3InHAIgSdhyzJjQeR8bJ9F1JDlOdxLUtKN/LAYBYq/TCsOpbto=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6777465},"main":"index.js","gitHead":"97eea258e753450587e8ccecbd3824b13d9572de","scripts":{"test":"node examples.js"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"_npmVersion":"9.5.1","description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"_nodeVersion":"18.16.0","dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.8.0_1683463157934_0.8031818985098094","host":"s3://npm-registry-packages"}},"0.8.1":{"name":"@catala-lang/french-law","version":"0.8.1","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.8.1","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"2554f13a5f116fb7ebce029857b08763651d5d79","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.8.1.tgz","fileCount":12,"integrity":"sha512-XjeKCrydhvwIjebNP0ny4F8QZnJCQYP5SwlgMgT5O13T/J4COybvZU+zIsrvCwsfQSdDF4419wEYOjBkFEuYwA==","signatures":[{"sig":"MEUCIQCdcBkbvipqQvdOcfR/qmUSpNi7iIMkHPEVoXZo5Ay3/wIgLbLriD1cMZL5Tw/pgl0BpkP5qPIYgsqRUgBLpJ8UloM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":738673},"main":"index.js","scripts":{"test":"node examples.js"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.8.1_1684920641760_0.5744550352998725","host":"s3://npm-registry-packages"}},"0.8.2":{"name":"@catala-lang/french-law","version":"0.8.2","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.8.2","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"c2de3035c5303daae15e696cbfb0a8b2b78cdb8e","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.8.2.tgz","fileCount":9,"integrity":"sha512-yPFy9cBS0cSt4uFWsJVQuBAmaLxDsqvsz2Rclo+fXDHWOjkeEBb5CeUcOjWxafNrG+0BomN1IcUgtjDRRt6AYA==","signatures":[{"sig":"MEQCIBPA8WJvSlC8Pnu6L10+u3Srd1WnfQ0EEHqB20RnOg3EAiAi3UhB1dhjVr2bRaaQ1Jehubpd5EhrpDikj7Lkq+lDrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":738177},"main":"index.js","gitHead":"6bc4cbd066b951dca615ae511bbc30e8ba8aa139","scripts":{"test":"node examples.js"},"_npmUser":{"name":"denismerigoux","email":"denis.merigoux@gmail.com"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"_npmVersion":"9.6.7","description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"_nodeVersion":"16.20.0","dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.8.2_1685093723623_0.36679419860177487","host":"s3://npm-registry-packages"}},"0.8.3-b.0":{"name":"@catala-lang/french-law","version":"0.8.3-b.0","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.8.3-b.0","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"108d82606d88f482602400add987642f31d825a4","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.8.3-b.0.tgz","fileCount":12,"integrity":"sha512-JpYuhHm0QmqgGrJa4+bhKhk9hTPdd1t87fFaq23NaQ9XNM3Ll70o+rFbW7kMvU3FspIlt6XBz8rhunvWIOyRdQ==","signatures":[{"sig":"MEUCIDjDRr8UQvbn0/4IS8xI3+znrmr/AZUAyfHp5bT+jfO9AiEA2NOhpxBsI3Erxjj+5fnhwFRU6yq5l61k4PxWVnJLce0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":751212},"main":"index.js","type":"module","scripts":{"test":"node examples.js","build":"rescript build -with-deps","clean":"rescript clean","watch":"yarn run build -w"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rescript":"^10.1.4"},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.8.3-b.0_1685356161319_0.406146148099388","host":"s3://npm-registry-packages"}},"0.8.3-b.1":{"name":"@catala-lang/french-law","version":"0.8.3-b.1","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.8.3-b.1","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"b725b5fbac865049cf506500e76f7cef2bbf014c","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.8.3-b.1.tgz","fileCount":12,"integrity":"sha512-CAUebV5yzL+7T1iOq9m6cN3Spi5KyHxNtjNZpmWB8YO3o9ZsIYvUBSkj+YuMLz7ZfbOEbcXiNvGj3jR4nvycCQ==","signatures":[{"sig":"MEUCIQD50fIy55MXBlzOqolDbvwIvUWDGS6hhW9xMqIkcofkbgIgdQpx2bXXJ58qgubn8nxFEuiDAvy1A1RiEXDD1X3tmb4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":751262},"main":"index.js","type":"module","scripts":{"test":"node examples.js","build":"rescript build -with-deps","clean":"rescript clean","watch":"yarn run build -w"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rescript":"^10.1.4","@catala-lang/rescript-catala":"^0.8.1-b.0"},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.8.3-b.1_1685356321113_0.6379407823342012","host":"s3://npm-registry-packages"}},"0.8.3-b.2":{"name":"@catala-lang/french-law","version":"0.8.3-b.2","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.8.3-b.2","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"8782cb1928647281ea16090b418af10d5014741c","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.8.3-b.2.tgz","fileCount":12,"integrity":"sha512-bvPVwMD9aTeI65xIlfz+dASoZvjhzVFam1xP98MaaVHzEEjvESbXG1WAZSonuuOVeYYxOgFWsXcbamjZwylRZA==","signatures":[{"sig":"MEUCIQDmcHVII/YoboIpxRsp0YiOwUhxW/zFQsFRftktGiFbOQIgNrwYIvb4PIg8Amlr3hXeFBph4BpNq3zUYUrvNPXOGXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":751294},"main":"index.js","type":"module","scripts":{"test":"node examples.js","build":"rescript build -with-deps","clean":"rescript clean","watch":"yarn run build -w"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rescript":"^10.1.4","@catala-lang/rescript-catala":"^0.8.1-b.0"},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.8.3-b.2_1685356406155_0.9829047147485659","host":"s3://npm-registry-packages"}},"0.8.3-b.3":{"name":"@catala-lang/french-law","version":"0.8.3-b.3","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.8.3-b.3","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"18627d4e434e56a7f77f4448a0a8f20715c60367","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.8.3-b.3.tgz","fileCount":12,"integrity":"sha512-bCvwvD3ZI0C6gILVQjrnuYRlR5u4Sy6Li7dTx+Sqwr05yHX5IXJEy6rY6Bko/fJERPJ7R28xxAyyE70l7XCjww==","signatures":[{"sig":"MEYCIQCxTqoY7E2DeqiUGDQgHRHKpYRrxwEUGSsdNtu/uB4pegIhAOgvRTm47dSzY3EWzWNFLqf16g0kJByr2KDDI3/G6BLL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":751274},"main":"index.js","scripts":{"test":"node examples.js","build":"rescript build -with-deps","clean":"rescript clean","watch":"yarn run build -w"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rescript":"^10.1.4","@catala-lang/rescript-catala":"^0.8.1-b.0"},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.8.3-b.3_1685356889703_0.7783426992873215","host":"s3://npm-registry-packages"}},"0.8.10":{"name":"@catala-lang/french-law","version":"0.8.10","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.8.10","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"570cfaa0f4003a7fbe28646ea103f25445e93d5b","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.8.10.tgz","fileCount":10,"integrity":"sha512-/cBU+6CyrIUwyT1Y2Ngk42Og70McLSiKFwlYNrKb1gZA4iZPunVDsVexDQLCUw2FGAJS8PpdWll06Sk8kN3rmw==","signatures":[{"sig":"MEUCIDmtQg35GJ2I5Yq3nD1mIjpK96Vx4zbSHYXNRor6ShaVAiEA30KF6T4JOUkTCGryA5H2fiXoMSSf8FFkGM6+1s3nhyg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":824505},"main":"index.js","gitHead":"3dfd58eaf5d57d5dc27120527d9df4dc72974293","scripts":{"test":"node examples.js","build":"rescript build -with-deps","clean":"rescript clean","watch":"yarn run build -w"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"_npmVersion":"10.1.0","description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"_nodeVersion":"20.8.0","dependencies":{"lodash":"^4.17.21","platform":"^1.3.6","benchmark":"^2.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rescript":"^10.1.4","@catala-lang/rescript-catala":"^0.8.1-b.0"},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.8.10_1701441049986_0.9934548216776065","host":"s3://npm-registry-packages"}},"0.8.11":{"name":"@catala-lang/french-law","version":"0.8.11","keywords":["ReScript","JavaScript","law"],"license":"Apache-2.0","_id":"@catala-lang/french-law@0.8.11","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"denismerigoux","email":"denis.merigoux@gmail.com"}],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"homepage":"https://github.com/CatalaLang/catala/blob/master/french_law/js/README.md","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"dist":{"shasum":"54d38969bf4a555eee368116b0c9a4d96c99074a","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.8.11.tgz","fileCount":10,"integrity":"sha512-+yoWnYZ/os+Nmt7fz9mLNfxzK5P74El/vV3rNHYH8ZibiLEG62YJE9wHKEsz6M8YS2vAoF6ckYcZSshVyDoowQ==","signatures":[{"sig":"MEUCIQDuYd4+xWq+eZJpW2aK2gjGVxjM5R2aBOw7+cK0YX/wNgIgbS+q36b0RSU07vNE2eYfYXj4FQqPA/HwnQepvVW1Yak=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":824513},"main":"index.js","gitHead":"0e4b1088823516e7d9a3362a46bced0547c495a2","scripts":{"test":"node examples.js","build":"rescript build -with-deps","clean":"rescript clean","watch":"yarn run build -w"},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+https://github.com/CatalaLang/catala.git","type":"git"},"_npmVersion":"10.1.0","description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","directories":{},"_nodeVersion":"20.8.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rescript":"^10.1.4","benchmark":"^2.1.4","@catala-lang/rescript-catala":"^0.8.1-b.0"},"_npmOperationalInternal":{"tmp":"tmp/french-law_0.8.11_1702464228557_0.9579665288803951","host":"s3://npm-registry-packages"}},"0.10.0":{"name":"@catala-lang/french-law","version":"0.10.0","description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","main":"index.js","dependencies":{},"devDependencies":{"@catala-lang/rescript-catala":"^0.8.1-b.0","benchmark":"^2.1.4","rescript":"^10.1.4"},"scripts":{"clean":"rescript clean","build":"rescript build -with-deps","watch":"yarn run build -w","test":"node examples.js"},"repository":{"type":"git","url":"git+https://github.com/CatalaLang/catala.git"},"keywords":["ReScript","JavaScript","law"],"contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"homepage":"https://github.com/CatalaLang/catala/blob/1a6934b5387afa0a2f0679cb88862c672d28408c/french_law/js/README.md","publishConfig":{"access":"public"},"_id":"@catala-lang/french-law@0.10.0","_nodeVersion":"20.3.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-HAc6AMcRJoIZnzPgJMgAnz8KXrJ40whAw+Ccegc9B7S5wG3I6pxp808evzzjaKwijoZvDYrcDg8+BO241/nOlg==","shasum":"d510d05b71ac67aebc73183eace836e239c5a457","tarball":"https://registry.npmjs.org/@catala-lang/french-law/-/french-law-0.10.0.tgz","fileCount":10,"unpackedSize":5423518,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCVUA2eJ7iN/V1Wb4JhF7Q5FAcB46/leQO5NScqVlcJBAIgELM6CRc/IAXv7fKCOGZwOJ44beSp2XvfolykOjUHruo="}]},"_npmUser":{"name":"denismerigoux","email":"denis.merigoux@gmail.com"},"directories":{},"maintainers":[{"name":"denismerigoux","email":"denis.merigoux@gmail.com"},{"name":"emilerolley","email":"emile.rolley@tuta.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/french-law_0.10.0_1753453043303_0.07210520727784897"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-05T11:10:38.614Z","modified":"2025-07-25T14:17:23.794Z","0.5.0-a.1":"2023-05-05T11:10:38.915Z","0.5.1":"2023-05-05T11:27:42.117Z","0.5.2":"2023-05-05T11:43:37.127Z","0.8.0":"2023-05-07T12:39:18.232Z","0.8.1":"2023-05-24T09:30:41.995Z","0.8.2":"2023-05-26T09:35:23.829Z","0.8.3-b.0":"2023-05-29T10:29:21.637Z","0.8.3-b.1":"2023-05-29T10:32:01.340Z","0.8.3-b.2":"2023-05-29T10:33:26.411Z","0.8.3-b.3":"2023-05-29T10:41:29.911Z","0.8.10":"2023-12-01T14:30:50.218Z","0.8.11":"2023-12-13T10:43:48.761Z","0.10.0":"2025-07-25T14:17:23.570Z"},"bugs":{"url":"https://github.com/CatalaLang/catala/issues"},"license":"Apache-2.0","homepage":"https://github.com/CatalaLang/catala/blob/1a6934b5387afa0a2f0679cb88862c672d28408c/french_law/js/README.md","keywords":["ReScript","JavaScript","law"],"repository":{"type":"git","url":"git+https://github.com/CatalaLang/catala.git"},"description":"Library of computations defined by French legislative texts, extract from Catala programs (https://catala-lang.org)","contributors":[{"name":"Denis Merigoux"},{"name":"Emile Rolley","email":"emile.rolley@tuta.io"}],"maintainers":[{"name":"denismerigoux","email":"denis.merigoux@gmail.com"},{"name":"emilerolley","email":"emile.rolley@tuta.io"}],"readme":"# [`@catala-lang/french-law`](https://www.npmjs.com/package/@catala-lang/french-law?activeTab=readme) ![npm][npm]\n\nThis folder contains a ready-to-use Javascript library featuring French public\nalgorithms coded up in Catala and the corresponding ReScript wrapper.\n\n## Generating the source files\n\nThe JS code is extracted from OCaml using\n[`js_of_ocaml`](https://ocsigen.org/js_of_ocaml/). See the\n[dedicated README](../ocaml/README.md) of the OCaml library for more precisions\nabout the OCaml code.\n\nThe wrapping between OCaml and JS is done by the generated\n`../ocaml/law_source/<filename>_api_web.ml` modules.\n\nYou can generate the `french_law.js` source JS module by invoking this command\nfrom the root of the repository:\n\n```\nmake build_french_law_library_js\n```\n\n## API description\n\nThe `./src/french_law.js` library exposes:\n\n- an [event manager](#the-event-manager)\n- a list of [API functions](#api-functions)\n- a list of fully exposed [sub-libraries](#sub-libraries)\n\n### ReScript\n\nThe ReScript API is essentialy the same that the JS one within the\n`CatalaFrenchLaw` top module.\n\nExample of project using the ReScript wrapper:\n\n* [`catala-website`](https://github.com/CatalaLang/catala-website)\n\n### The event manager\n\nA JavaScript object `eventsManager` is exposed with three callable methods:\n\n```javascript\nvar frenchLaw = require(\"french_law.js\");\n\n// Clears the raw log event array.\nfrenchLaw.eventsManager.resetLog(0);\n\n// Returns the current content of the raw log event array.\nlet rawEvents = frenchLaw.eventsManager.retrieveRawEvents(0)\n\n// Returns the event array parsed from the current content of the raw log event array.\nlet events = frenchLaw.eventsManager.retrieveEvents(0)\n```\n\n> **Important**: you need to give an arbitrary value as argument.\n\n### Date and time\n\nDate values are encoded to JS string according the [ISO8601\nformat](https://www.iso.org/iso-8601-date-and-time-format.html): 'YYYY-MM-DD'.\n\n### API functions\n\nThe `french_law.js` library exposes for each Catala program available in\n`../ocaml/law_source/` a function to call in order to run the corresponding\nencoded algorithm.\n\n#### Available algorithms\n\n##### Allocations familiales\n\nThe function is `computeAllocationsFamiliales`. This computation\nreturns the amount of _allocations familiales_ for one household described\nby the input. More precisely, the result returned is the sum of:\n\n- _la base des allocations familiales_\n- _l'allocation forfaitaire relai pour dépassement de l'âge limite_\n- _la majoration pour âge_\n- _le complément dégressif en cas de dépassement du plafond de revenus_\n\nAn example of use:\n\n```javascript\nvar frenchLaw = require(\"french_law.js\");\n\nlet amount = frenchLaw.computeAllocationsFamiliales({\n  iDateCouranteIn: \"2020-04-20\",\n  iEnfantsIn: [\n    {\n      dIdentifiant: 0,\n      dRemunerationMensuelle: 0,\n      dDateDeNaissance: \"2003-02-02\",\n      dPriseEnCharge: { kind: \"EffectiveEtPermanente\", payload: null },\n      dADejaOuvertDroitAuxAllocationsFamiliales: true,\n      dBeneficieTitrePersonnelAidePersonnelleLogement: false,\n    },\n    {\n      dIdentifiant: 1,\n      dRemunerationMensuelle: 300,\n      dDateDeNaissance: \"2013-09-30\",\n      dPriseEnCharge: {\n        kind: \"GardeAlterneePartageAllocations\",\n        payload: null,\n      },\n      dADejaOuvertDroitAuxAllocationsFamiliales: true,\n      dBeneficieTitrePersonnelAidePersonnelleLogement: false,\n    },\n  ],\n  iRessourcesMenageIn: 30000,\n  iResidenceIn: { kind: \"Metropole\", payload: null },\n  iPersonneChargeEffectivePermanenteEstParentIn: true,\n  iPersonneChargeEffectivePermanenteRemplitTitreIIn: true,\n  iAvaitEnfantAChargeAvant1erJanvier2012In: false,\n});\n```\n\nNotably, the `dPriseEnCharge` variable for each child expects a value among:\n- \"GardeAlterneePartageAllocations\"\n- \"GardeAlterneeAllocataireUnique\"\n- \"EffectiveEtPermanente\"\n- \"ServicesSociauxAllocationVerseeALaFamille\"\n- \"ServicesSociauxAllocationVerseeAuxServicesSociaux\"\n\n> See `../ocaml/law_source/allocations_familiales_api_web.ml` for more\n> information about data types.\n\n##### Aides logement\n\n> TODO: add information about `aides_logement_api_web.ml`.\n\n### Sub libraries\n\nAll declared types and scopes of a Catala program are available in JavaScript\nvia the following sub libs:\n\n```javascript\nvar frenchLaw = require(\"french_law.js\");\n\n// Allocations familiales\n// corresponding to the file: `../ocaml/law_source/allocations_familiales_api_web.ml\nvar allocationsFamiliales = frenchLaw.AllocationsFamilialesLib\n\n// APL\n// corresponding to the file: `../ocaml/law_source/aides_logement_api_web.ml\nvar aidesLogement = frenchLaw.AidesLogementLib\n```\n\n\n[npm]: https://img.shields.io/npm/v/@catala-lang/french-law\n","readmeFilename":"README.md"}