{"_id":"rose","_rev":"33-44842cab13eaad410596b7a0ff04aafd","name":"rose","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","dist-tags":{"latest":"0.4.10"},"versions":{"0.0.0":{"name":"rose","version":"0.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT","_id":"rose@0.0.0","dist":{"shasum":"653d9040f38c4a904d08bee8ac46748cd4a713e3","tarball":"https://registry.npmjs.org/rose/-/rose-0.0.0.tgz","integrity":"sha512-DpYPTJXeJ6HduzP+ku7YwUUBHeQZG7L0cCUgg/K4PMXelppgEv9vmDgltiP04bZUyqX6oQAzoa3p1nPvTie4gA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjUIF5ZZdlLUwKzpud5r4DG98JtTKmQcMOPSSLM5AEWAiEAgXc2MRUeeU3tRKsRLuMVyBKJNVZ5DpaoKy58EVezAzE="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"toobug","email":"i@toobug.net"},"maintainers":[{"name":"toobug","email":"i@toobug.net"}],"deprecated":"Older versions deprecated","directories":{}},"0.0.1":{"name":"rose","version":"0.0.1","description":"","main":"index.js","bin":{"rose":"index.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT","_id":"rose@0.0.1","dist":{"shasum":"e2a9d9505a46f88190e818dd6491253488805e2e","tarball":"https://registry.npmjs.org/rose/-/rose-0.0.1.tgz","integrity":"sha512-gQoc90BeM4CcO+IrU1j0pkt1iYkSZr8gm8YD7egIqXdLqG1QPfY5luH6G+hssVTWKwo5J1PrlrN41KsV6UwkTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKUErbFXXNqxq5U/6Bj5ulejo+uSYp2ldaxsNa3EIgUAiAyxO7r8pwMVQs3AbwNoGdHjmgMN8sfPj35k4VSRPMXVw=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"toobug","email":"i@toobug.net"},"maintainers":[{"name":"toobug","email":"i@toobug.net"}],"deprecated":"Older versions deprecated","directories":{}},"0.1.0-beta":{"name":"rose","version":"0.1.0-beta","description":"native graphic library in JavaScript","main":"src/rose.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"TooBug"},"license":"MIT","dependencies":{"color":"~0.5.0","pngjs":"~0.4.0"},"gitHead":"f0c706aa0b740f25d901da7fd0df0a8ba60adf16","_id":"rose@0.1.0-beta","_shasum":"160ca416b669d5b435d09d8a92611320914b2c6c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"toobug","email":"i@toobug.net"},"dist":{"shasum":"160ca416b669d5b435d09d8a92611320914b2c6c","tarball":"https://registry.npmjs.org/rose/-/rose-0.1.0-beta.tgz","integrity":"sha512-hC8PFcZzaVc4XhX71ej91C1LOkIO71u7yQ4ks4xIoMVWNfWCpWjHlP3M3+BIVzvW1jMlP3lA/NImiq7keszcTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJ8dnXZe6dVA8EmKDUHqC0VWik/A2e0jppZgqrzyXxsgIgVfzDB/NJwKN/1KJeVdGCj/5NmxrLljTbqLY6tqT3AYU="}]},"maintainers":[{"name":"toobug","email":"i@toobug.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rose-0.1.0-beta.tgz_1474348695552_0.9338076412677765"},"directories":{}},"0.2.0":{"name":"rose","version":"0.2.0","license":"MIT","type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.2.0"},"scripts":{"build":"tsc","test":"vitest"},"gitHead":"d34184fc26ac2be5ec98602c75bd986179c1f63a","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","_id":"rose@0.2.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-QrKx+bc0axFFFIM/wVdFWPXLAmOPyklVs1lj3z4l+qIzCWrApRXP01GcxCXCXrVFyziVnBzYnq9E6KBpIX2dGg==","shasum":"5babf3364fa0bda653deb1bd70c9798653694793","tarball":"https://registry.npmjs.org/rose/-/rose-0.2.0.tgz","fileCount":22,"unpackedSize":153599,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjhIkO6GFH4b8FjF2hvK67kBli0RcjqI2hxsIpP8lQlAiAonnRekwgsALriVpjWcpvPecX+TaaM5AWyXC+odH4VKA=="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.2.0_1694998890516_0.21224177216205686"},"_hasShrinkwrap":false},"0.2.1":{"name":"rose","version":"0.2.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"^0.2"},"scripts":{"build":"tsc","test":"vitest"},"gitHead":"e1dcd0f7ae7c91b747f601277893e539c04c7fd1","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_id":"rose@0.2.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-0qoOBSzB7C9h1kl+q97UEO6lpwcxw3TMx3uR11B7bvB3PGH/ycMgD7p6zo0K/V4gCsILvJNtbI+J+pAmpv9noQ==","shasum":"28f71a3fb93add05e86789be06d5a99128c85372","tarball":"https://registry.npmjs.org/rose/-/rose-0.2.1.tgz","fileCount":22,"unpackedSize":153957,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKE0LX2YPZcUJnRirYPNHkQrWlgp4N4W6sQDnzLAuHSQIhAKr10uhS0/hdk4aaTZIuXJBNvO8rLj8N3RWzsq75jpJa"}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.2.1_1695002078092_0.7095810094902919"},"_hasShrinkwrap":false},"0.2.2":{"name":"rose","version":"0.2.2","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"^0.2"},"scripts":{"build":"tsc","test":"vitest"},"gitHead":"2424d58515847dff5a51878825155ed2ef6f6d80","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_id":"rose@0.2.2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-ehDaZa7tQ3YkckiR101UrZfoe2Ra49c70cqrfnw98hk05lT0qD188gJFJs11bOpqgjX14bJXcTvL5PNNZy8k7Q==","shasum":"58179628bbf4b0d27a7149a479c1d97b6ed2f33e","tarball":"https://registry.npmjs.org/rose/-/rose-0.2.2.tgz","fileCount":22,"unpackedSize":156918,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQAPuNDtg4ix8RhGF/iGC5eHX7wA0QaMW0z7anuPqDJQIhAJI6aRaWWNZRm787edL0y06v66I8SFE7YLCeVhhyAXxM"}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.2.2_1695045211342_0.8755287071906717"},"_hasShrinkwrap":false},"0.3.0":{"name":"rose","version":"0.3.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"^0.3"},"scripts":{"build":"tsc","test":"vitest"},"gitHead":"9b74c854dfe5007884f258595ecf5353b6c8035b","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_id":"rose@0.3.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-+jJrnwExzvAfMjqkSYcWSC/AudPerbUvyZn8BkVR3Tt+JYtwYa1wECZ78hwb5H02GvMGG1v9M6LQpELkSoqG6A==","shasum":"59032206b11fc249483699d258edd7f2aa203f24","tarball":"https://registry.npmjs.org/rose/-/rose-0.3.0.tgz","fileCount":22,"unpackedSize":169900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0zY0T/5Lhna/UDI/NZlG86oc/IijiPxt5KvevpoEDEQIhANInA7oEEk3jIfe+LOeimroWA7r1jRHsqU3B4mEqRC1i"}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.3.0_1695172574465_0.5932637967145045"},"_hasShrinkwrap":false},"0.3.1":{"name":"rose","version":"0.3.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.3.1"},"scripts":{"build":"tsc","test":"vitest"},"gitHead":"b0dbdb4a97cd53f52e186678f21bd0bb6e869f8b","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_id":"rose@0.3.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-pn8GAJo2cT4D51mI7hAxTAmsEIwJ5SLZp/kdkz+U72D6S++CohcTREZRD4/FO+0dN2Pwkt0q/AMIiRO1tMOUhg==","shasum":"d36c5c8004f878098ef2d9d3e3e9b5819df76329","tarball":"https://registry.npmjs.org/rose/-/rose-0.3.1.tgz","fileCount":22,"unpackedSize":178693,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB5LrEpuSSO2LmhuEQy1ZmiAPw1KVbOv/OTxCQT4kmmAIhAKNGI+Xh/vZJFz44y478Vaxm9I+jURownpmbQIFTLdid"}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.3.1_1695251024441_0.22840637909594608"},"_hasShrinkwrap":false},"0.3.2":{"name":"rose","version":"0.3.2","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.3.2"},"scripts":{"build":"tsc","test":"vitest"},"gitHead":"910d564f0f322fd7ca2d61270d17a668ebe626b8","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_id":"rose@0.3.2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-ZFZock3NzxrojRJ3/v6WUJsNC+KMgk4iNg3U7TO5U1lsuHS7RUPxJYRumY8Qds/vfBPe5RRROCT6Ww3cf6d4CA==","shasum":"aa58371dce318d45e0250902f521896015128786","tarball":"https://registry.npmjs.org/rose/-/rose-0.3.2.tgz","fileCount":22,"unpackedSize":178953,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwAnb+0y/hbPnguLsJVRvpSTSRseCSvDWzlVADdrcmDAiAlyAkdP49+p7Mr/9apOUyxEodGIiwGmkRN9BmOByEFRQ=="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.3.2_1695275034237_0.6672824638029711"},"_hasShrinkwrap":false},"0.3.3":{"name":"rose","version":"0.3.3","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.3.3"},"scripts":{"build":"tsc","test":"vitest"},"gitHead":"51702312b6050384d6ee2492dd2128e2486210ae","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_id":"rose@0.3.3","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-6vlNen6jYmq6SpWuEMTBsiDeoDbWWcKurx5uJbFOlJ2wDmiZc+E1wRwiWQKqzDFlaB9upCb/4daMviABQC7LbQ==","shasum":"2035d4864f65c245d69ef9c790a3c118274bd6d2","tarball":"https://registry.npmjs.org/rose/-/rose-0.3.3.tgz","fileCount":22,"unpackedSize":232434,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIFBIu1nSstHIwZCJ7+NLw3+SAyA45uRKxRMqybMr+jRfAh8RE8Nk3+N//hH9avrUrWaPYdJrrVDPXf6nqQQWBZh0"}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.3.3_1695687737529_0.6155157383829719"},"_hasShrinkwrap":false},"0.3.4":{"name":"rose","version":"0.3.4","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.3.4"},"scripts":{"build":"tsc","test":"vitest"},"gitHead":"8485f57ed58b377680c5e958609b659356e116af","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_id":"rose@0.3.4","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-NcWQhAlRRnQIWBvNYEnne2j6mH17AcIWDLDjhIkLSin073azvNtM2czK1YulmZ1WH0TpbeORwuYsdEa/3PY9Fg==","shasum":"2b5dd925c08c7305a7d954dd9fcc8bd2e18b01ce","tarball":"https://registry.npmjs.org/rose/-/rose-0.3.4.tgz","fileCount":22,"unpackedSize":246755,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDg4kyIhYeWLl/gPl6RQg1MhIruMWoAl9+Go+vfXMqj+gIhANgN2BFpp5SuesKeGn8pxDTAcik+4iKHQsReMuN3IKSO"}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.3.4_1695858318106_0.8378256558967689"},"_hasShrinkwrap":false},"0.3.5":{"name":"rose","version":"0.3.5","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.3.5"},"scripts":{"build":"tsc","test":"vitest"},"gitHead":"a2b54186936f4ab1719f8742d9f2573e369999a1","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_id":"rose@0.3.5","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-39ix0I/0vbHhsVj02EFud11bDjiz4e+JYs3RhZpLlzK29hUzF+0Qf0ByF0YNqXw8TOSPGqQIvaegzTMifUzVOg==","shasum":"80f6c9ce5c2183200ed535b85f4f95da5b1fdd6a","tarball":"https://registry.npmjs.org/rose/-/rose-0.3.5.tgz","fileCount":22,"unpackedSize":246755,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC/ECkdbgTBWay1d3kQaS/ZtRoVoYQHFSgAZ76XH+qtgIgGQtAAcj44yGTFXKYl91a0+kdaDidNW1+6LjMLeM1Da0="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.3.5_1695878403124_0.4447247200843847"},"_hasShrinkwrap":false},"0.4.0":{"name":"rose","version":"0.4.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.0"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.0","gitHead":"7a5e2e81dd2c4554532487bc8a27612508638112","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-wH/eXAImvaheh9JkeG0pQ+6vaCkHweHAIZqEwiz0IoqOem9ONh0J8w9wKkMcJkVTj43CAfgnc2ZXRA9Rxp3R3Q==","shasum":"f756563d4cea6b8f54aed5b0c2e139ac9eda469d","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.0.tgz","fileCount":22,"unpackedSize":247315,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSg3FD4EtpkeOQeCH8xu8jl16eU+1M/xzTQm9ZuOOlsAiEAtU93fU0Z7Jkl6C6osueiUln2n9115g/ZAd1SB5ng76g="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.0_1696567358848_0.12602446445117788"},"_hasShrinkwrap":false},"0.4.1":{"name":"rose","version":"0.4.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.1"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.1","gitHead":"b11e1f6fa88abaeba38e6498097409dfaf793c57","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-wskeuzAg2xhV07u5Ie0j8rb1v6GJvGXzGcyyfyGiAjmfZVotmIcP8mf6Oul10N6nouI83zYPfLHQc9yjuWHUCA==","shasum":"38bae6130d79ea34b8e83737c59903ef0ee2a969","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.1.tgz","fileCount":22,"unpackedSize":248092,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8uckR19/q4jFF9cx5DusKTamKxIWiBGFZzAkNX3RlfAIgdrDqcGuPAQeVAgcr40OYxUaWJZ7563N0IAqg5a4oOVg="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.1_1696902386344_0.004214241194754109"},"_hasShrinkwrap":false},"0.4.2":{"name":"rose","version":"0.4.2","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.2"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.2","gitHead":"8073edf3a1167bf551196c73b25f723ef470fbb1","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-dKPq2lUyL+fyxb1vyXyZubKQqUOF9HiI1twIRJ9XmoQv2U83tKn4Hp9LlVX4vsstWx+LXVu7I/G9++ze6Ee8fw==","shasum":"a0554333a5bfbe89e2fd1a359bfe449e57299b49","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.2.tgz","fileCount":22,"unpackedSize":249701,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmI1ardgBm60oPKuURjeif2a8exxFQb5oE+sLFt7EJjgIgCL0mKrdbiAeQxGXwFosFUQiv0T59aW+p+Ew4Tungw1I="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.2_1696912937852_0.8643883483047492"},"_hasShrinkwrap":false},"0.4.3":{"name":"rose","version":"0.4.3","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.3"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.3","gitHead":"518368d8373cea5ae9f3c2c17e2b909b73a01edf","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-Bp1HWyFpDoEffWPz107YGkPI7oAL7i34SZ6xVJEzEBvEOqKmghxgb1KMGKZOifNqegr+LDsYxCfGun4ZsXnFwg==","shasum":"7b8a0074b9ff37c594005986c26a4a00551d6b02","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.3.tgz","fileCount":22,"unpackedSize":249701,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDVdZmV/y0dtjDf8dQWlRZOBF8QNB02efFCujdhJeJDyAiEA5F0PZvCXsZF6MEDGuIoKTrUB1QxPvfxCCfQuHcpu9+4="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.3_1699548795845_0.5006073919649063"},"_hasShrinkwrap":false},"0.4.4":{"name":"rose","version":"0.4.4","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.4"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.4","gitHead":"e9934849076f2d980c6f61ad00469a26bc7e2cbb","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-FOj/m+/N886e914SLJua/WxPted1OOkV9Qn5hWx4WeurokSPEY5e9XuaHjD4gTMOcAKo+BlQ+WaH+2T455EvOQ==","shasum":"b0c890336e48bcd2cbd6a362ff08d11019a61208","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.4.tgz","fileCount":22,"unpackedSize":250753,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAjtyg93QOFqc+CtwNUE3BSErTPsoBlRnTY8C/+Q0AuAiEA4e2eqF5QX8Dv7esoHhkCUllqc9Tc85e+nBvvVg6PZJo="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.4_1699559121995_0.4275745608350008"},"_hasShrinkwrap":false},"0.4.5":{"name":"rose","version":"0.4.5","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.5"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.5","gitHead":"737fe753e701a90e91e4e8e4e4fb50cd8d782e36","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-Ue7XXGhHSguvFKHvYRu6J702ajciwQal4z0BsaPIuvSAtjWUREGgeh2vfzuVwv683MSMlGPuPmI0xIN43vdn9w==","shasum":"db7ad92949b444e504b089bbc24427bb5abc2317","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.5.tgz","fileCount":22,"unpackedSize":252080,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1gBob9WWc2zbuVbDM4Bv+jxbnotzlhCxK0d816G3+swIgBdwCaleKzOl4WLd1PGqJwttacAj9Uerdc2DEU+Do0zo="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.5_1700159815597_0.2328188033949501"},"_hasShrinkwrap":false},"0.4.6":{"name":"rose","version":"0.4.6","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.6"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.6","gitHead":"a0bb36c4165e3b25208941737f6543bc02291db2","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-tJBCMMDotXxiWXsj7SIDWML6LRxLtIUOYnLLcTE5/4L2pixeCO+lHKM1EOu08D/Y3xDrZPUcgLZ+vnMrOqC3yA==","shasum":"58f09579013a48259e6168e0b35ca90bedc1823b","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.6.tgz","fileCount":22,"unpackedSize":268284,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBM4bLfOiBs+OwUoJ5eTvvu2xEdgr8PhjtK84hwQd5i2AiEAxSzOHXWUokYpGHiJHLppCeMfRd3Ys5lX2Ltf9KzXeAI="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.6_1705337023688_0.6243281952486461"},"_hasShrinkwrap":false},"0.4.7":{"name":"rose","version":"0.4.7","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.7"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.7","gitHead":"8e3b8fdce48376e0d18df2e428ef6b1741be4ac0","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-gxlqOV/gYM7xMySSw3FGeYoUhLV/qd6G51B58H2hAizyuSV0WbRGAI0cm1PWdZTGK+umz2lVHsvZ0yyYNenngw==","shasum":"4fc7d49cdaef20a6708292cac6e3608c3c983b90","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.7.tgz","fileCount":22,"unpackedSize":270196,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjKoOtUsywvWrl0aWxBaypTng8lrUDmCOzoCoE6csR6AIhAIGwbaJPK0NdAZEpIG7hl3Xh3ogqqIUiCUgmHRYZEJbU"}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.7_1706127051260_0.7593522271339532"},"_hasShrinkwrap":false},"0.4.8":{"name":"rose","version":"0.4.8","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.8"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.8","gitHead":"5c2c0b0d1666235a282f19df4aeb260eed726329","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-5Yu+tXm134Gj1cm70nu7gdSUgobKFzz4IqbwkU5NZh/JCgA+bNO5cctXBGS/iWcrDb/GQN9E+9fRuByq6eqgWg==","shasum":"f1ea2f252edf0e80bf887b87c0b75957e31d0b6b","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.8.tgz","fileCount":22,"unpackedSize":275744,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNXIxE3b5tPRhNap3J1s69C3H/TgIqmFvY/LG8OZ9ZiAiEAxlcZ5uAR7xsIoksAyHap9Wx3tmu4fLLlU45htj0hDB8="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.8_1710946104304_0.8236186500657361"},"_hasShrinkwrap":false},"0.4.9":{"name":"rose","version":"0.4.9","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.9"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.9","gitHead":"49a893e0dfa7c8e3ba8198608a2e34781c2cf053","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-xh/etzACIcYhzmfGP2WsKrJXm3o66ferzCWd2EeucD9HQsb4UZyeQ8HlMT3YB97aLBTBXkK8u9R3T2nwxZhrtQ==","shasum":"6b63f1e1b812e856c3bbf8015f5a0075e7d30cba","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.9.tgz","fileCount":22,"unpackedSize":277040,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGijFQvnUcIXbdHTFHg7BeYth5dYRFvhOTBjL1jYg72HAiEAgV0DCfeCRmCdYYCVOt4FBdSK6IuToYzg22v6eNF3iG4="}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.9_1711569119623_0.05108418487531852"},"_hasShrinkwrap":false},"0.4.10":{"name":"rose","version":"0.4.10","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"type":"module","exports":"./dist/index.js","dependencies":{"@rose-lang/wasm":"0.4.10"},"scripts":{"build":"tsc","test":"vitest"},"_id":"rose@0.4.10","gitHead":"c8a05b2046633a4efe4c9c6fa54c374adc593d2d","description":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div> <h1 align=\"center\">Rose</h1> <p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-","bugs":{"url":"https://github.com/rose-lang/rose/issues"},"homepage":"https://github.com/rose-lang/rose#readme","_nodeVersion":"18.20.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-0EycwOpvY5EXSltNGV2MHZNi6Dry3V0deI9lU8YkcmBnHDc2q5hC1AGzreVG4Z4FMcYINwSJtR39VaJbwylwvA==","shasum":"1c4496ea4b0e384b825c5fa657c5722293c6e1d8","tarball":"https://registry.npmjs.org/rose/-/rose-0.4.10.tgz","fileCount":22,"unpackedSize":277773,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiOavv0w7cCQtWmeLbRA6y4wDS+1mFG1894A9Wzpw3DgIhAPyk8tPqmiotgaEvIC3umvfau1dmMbcenzvX60jczyJp"}]},"_npmUser":{"name":"samestep","email":"sam@samestep.com"},"directories":{},"maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rose_0.4.10_1712721228783_0.7068199939597433"},"_hasShrinkwrap":false}},"readme":"<div align=\"center\"><img height=\"256\" src=\"https://github.com/rose-lang/rose-icons/raw/efcc218832d65970a47bed597ee11cecd3d1cc3c/svg/encircled-rose.svg\" /></div>\n<h1 align=\"center\">Rose</h1>\n<p align=\"center\"><em><a href=\"https://github.com/rose-lang/rose-icons\">icon</a> by <a href=\"https://github.com/aatxe\">Aaron Weiss</a> / <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a></em></p>\n<p align=\"center\"><a href=\"https://www.npmjs.com/package/rose\"><img src=\"https://img.shields.io/npm/v/rose\" alt=\"npm\" /></a> <a href=\"LICENSE\"><img src=\"https://img.shields.io/github/license/rose-lang/rose\" alt=\"license\" /></a> <a href=\"https://github.com/rose-lang/rose/actions/workflows/build.yml\"><img src=\"https://github.com/rose-lang/rose/actions/workflows/build.yml/badge.svg\" alt=\"Build\" /></a></p>\n\nRose is an automatic differentiation engine for the web, inspired by [JAX][].\n\n## Installation\n\nWith [npm][]:\n\n```sh\nnpm i rose\n```\n\nWith [Yarn][]:\n\n```sh\nyarn add rose\n```\n\nWith [pnpm][]:\n\n```sh\npnpm add rose\n```\n\nWith [Bun][]:\n\n```sh\nbun add rose\n```\n\n## Usage\n\nThis example defines custom derivatives for the builtin JavaScript logarithm and\npower functions, then computes the output, gradient, and Hessian for the power\nfunction applied with base 2 and exponent 3:\n\n```js\nimport { Dual, Real, Vec, add, compile, div, fn, mul, opaque, vjp } from \"rose\";\n\nconst log = opaque([Real], Real, Math.log);\nlog.jvp = fn([Dual], Dual, ({ re: x, du: dx }) => {\n  return { re: log(x), du: div(dx, x) };\n});\n\nconst pow = opaque([Real, Real], Real, Math.pow);\npow.jvp = fn([Dual, Dual], Dual, ({ re: x, du: dx }, { re: y, du: dy }) => {\n  const z = pow(x, y);\n  return { re: z, du: mul(add(mul(dx, div(y, x)), mul(dy, log(x))), z) };\n});\n\nconst Vec2 = Vec(2, Real);\nconst Mat2 = Vec(2, Vec2);\n\nconst f = fn([Vec2], Real, ([x, y]) => pow(x, y));\nconst g = fn([Vec2], Vec2, (v) => vjp(f)(v).grad(1));\nconst h = fn([Vec2], Mat2, (v) => {\n  const { grad } = vjp(g)(v);\n  return [grad([1, 0]), grad([0, 1])];\n});\n\nconst funcs = await Promise.all([compile(f), compile(g), compile(h)]);\nconsole.log(funcs.map((func) => func([2, 3])));\n```\n\n### With Vite\n\nIf you are using [Vite][] then you will need to also install the\n[vite-plugin-top-level-await][] package, because Rose internally uses [top-level\n`await`][], which Vite does not directly support. You must also include the\nfollowing in your Vite config:\n\n```js\nimport { defineConfig } from \"vite\";\nimport topLevelAwait from \"vite-plugin-top-level-await\";\n\nexport default defineConfig({\n  // the plugin described above\n  plugins: [topLevelAwait()],\n\n  // Vite bundles external dependencies by default in development mode, but that\n  // process does not include assets; this option disables that particular kind\n  // of bundling for Rose so that it can use its internal WebAssembly module\n  optimizeDeps: { exclude: [\"rose\"] },\n});\n```\n\n## Contributing\n\nSee [`CONTRIBUTING.md`][].\n\n## License\n\nRose is licensed under the [MIT License][].\n\n[`CONTRIBUTING.md`]: https://github.com/rose-lang/rose/blob/main/CONTRIBUTING.md\n[Bun]: https://bun.sh/\n[JAX]: http://jax.readthedocs.io/\n[MIT License]: https://github.com/rose-lang/rose/blob/main/LICENSE\n[npm]: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm\n[pnpm]: https://pnpm.io/installation\n[top-level `await`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#top_level_await\n[vite-plugin-top-level-await]: https://www.npmjs.com/package/vite-plugin-top-level-await\n[Vite]: https://vitejs.dev/\n[Yarn]: https://classic.yarnpkg.com/lang/en/docs/install/\n","maintainers":[{"name":"samestep","email":"sam@samestep.com"}],"time":{"modified":"2024-04-10T03:53:49.166Z","created":"2014-02-14T07:24:48.482Z","0.0.0":"2014-02-14T07:24:50.356Z","0.0.1":"2014-02-14T07:42:23.257Z","0.1.0-beta":"2016-09-20T05:18:17.058Z","0.2.0":"2023-09-18T01:01:30.751Z","0.2.1":"2023-09-18T01:54:38.358Z","0.2.2":"2023-09-18T13:53:31.594Z","0.3.0":"2023-09-20T01:16:14.688Z","0.3.1":"2023-09-20T23:03:44.600Z","0.3.2":"2023-09-21T05:43:54.470Z","0.3.3":"2023-09-26T00:22:17.788Z","0.3.4":"2023-09-27T23:45:18.369Z","0.3.5":"2023-09-28T05:20:03.357Z","0.4.0":"2023-10-06T04:42:39.067Z","0.4.1":"2023-10-10T01:46:26.519Z","0.4.2":"2023-10-10T04:42:18.052Z","0.4.3":"2023-11-09T16:53:16.105Z","0.4.4":"2023-11-09T19:45:22.158Z","0.4.5":"2023-11-16T18:36:55.803Z","0.4.6":"2024-01-15T16:43:43.832Z","0.4.7":"2024-01-24T20:10:51.462Z","0.4.8":"2024-03-20T14:48:24.498Z","0.4.9":"2024-03-27T19:51:59.808Z","0.4.10":"2024-04-10T03:53:49.006Z"},"readmeFilename":"README.md","license":"MIT","homepage":"https://github.com/rose-lang/rose#readme","repository":{"type":"git","url":"git+https://github.com/rose-lang/rose.git"},"bugs":{"url":"https://github.com/rose-lang/rose/issues"}}