{"_id":"@beeanco/svelte-form","_rev":"5-58fb1abffacdd370bd42810b29eb9efa","name":"@beeanco/svelte-form","dist-tags":{"latest":"0.4.1"},"versions":{"0.1.0":{"name":"@beeanco/svelte-form","version":"0.1.0","description":"Easy forms in svelte","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LukasHechenberger/opensource.git"},"author":{"name":"Lukas Hechenberger","email":"npm@ls-age.com"},"homepage":"https://lukashechenberger.github.io/beeanco-opensource/docs/svelte-form/","bugs":{"url":"https://github.com/LukasHechenberger/opensource/issues"},"main":"out/index.js","module":"out/index.mjs","scripts":{"build":"rollup -c --environment NODE_ENV:production","dev":"rollup -cw","test":"echo \"Error: no test specified\" && exit 1","types":"tsc --declaration --declarationDir out/types --emitDeclarationOnly --noEmit false"},"keywords":["svelte","form","validation","validate"],"peerDependencies":{"yup":"^0.28.3"},"devDependencies":{"@beeanco/rollup-config":"workspace:*","@pyoner/svelte-types":"3.4.4","@rollup/plugin-node-resolve":"7.1.3","@rollup/plugin-typescript":"4.1.1","@types/node":"13.13.4","@types/yup":"0.26.37","rollup":"2.7.6","rollup-plugin-svelte":"5.2.1","svelte":"3.21.0","tslib":"1.11.1","typescript":"3.8.3","yup":"0.28.3"},"types":"out/types/index.d.ts","svelte":"out/svelte/index.mjs","_id":"@beeanco/svelte-form@0.1.0","_nodeVersion":"12.13.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-IA2Hzgl2Q8jpK3lwdwCRCDi5xfuy1vMuldI6QpoPFVP7kTNofCshEYk2/vagKAc/Rz8/oA0I8cXUKbr3fwK7fg==","shasum":"5ad45d0e2d0c103a37900b0ef7752ea2672654f1","tarball":"https://registry.npmjs.org/@beeanco/svelte-form/-/svelte-form-0.1.0.tgz","fileCount":22,"unpackedSize":60382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerBTaCRA9TVsSAnZWagAAcpMP+gPwLGYyV7k1xYybZrDK\n+vs6AgfZ1CfcYKT2pqt5BV+R2XijPxnuU2djfvBFiDg3Joi55+ZIqFfD9W55\nZQFHn9FLebAP3DELTO0hkF60sUsa+qXat0kaBbUL9gbY2ntbmr55cnb2sSTr\ne4fYffnie1NpCh+gQDWOtp+CI9UPXujI9tkceZ44KJ1ko2mMePAn5SFYi6Qr\nPRaAoLiap+z5Z1gqbXB9Y4q5iIaQQCbowVLmkSsOaTa0upl/Q8g2Vix8Y/tQ\n2Hu6s5h7Vyj/RLnyd0jccTmt2ngxDCyl4ROh8DuzhyIvff/51piFR07e+WZM\nrxv+OCbEZutT20IGoOWAEB37ICv8fIGkiW54R11mHtZ30DGNFHF6zyH8xE8u\ncGlL1z23CYK+I/83pUhvbuOh4ktSWlgYFt9geGOO0ZLhI86UQCeFt8Ce0upS\nm/4XuO75omqF/Q5FiZXPvo6iqQg6Ip56IvZUWfiIX00KiW4+Rb64wDnrlKxX\ncvNS8lbfaJm3VA+4BSwxC7e82HhWv4S1LpJaqikkriZlnAELZeVJ3cnMDAOu\nQcZPzBEssVcBiUIYoV26pLKr0RpZdI26K13ej8KtQSUL62/j+mLgScB7Dwym\ndCqdjKpPizGp53GkWcvVYrZOb5cI/EW/cHnIzNXQMNu8Wl0+oOJj5ARhNEwg\nfiD6\r\n=cWAm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEKTXsy2eQAlzssuN5AEKRHFCzawhXbr6SzGnyp5ybIAiEAzMS/6DxFD4OBqxXzkp8ptLMiInDFOYI1+Bg0y3wsE8U="}]},"maintainers":[{"name":"lhechenberger","email":"npm@ls-age.com"}],"_npmUser":{"name":"lhechenberger","email":"npm@ls-age.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-form_0.1.0_1588335834206_0.24104675866009462"},"_hasShrinkwrap":false},"0.2.0":{"name":"@beeanco/svelte-form","version":"0.2.0","description":"Easy forms in svelte","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LukasHechenberger/opensource.git"},"author":{"name":"Lukas Hechenberger","email":"npm@ls-age.com"},"homepage":"https://lukashechenberger.github.io/beeanco-opensource/docs/svelte-form/","bugs":{"url":"https://github.com/LukasHechenberger/opensource/issues"},"main":"out/index.js","scripts":{"build":"rollup -c --environment NODE_ENV:production","dev":"rollup -cw","test":"echo \"Error: no test specified\" && exit 1","types":"tsc --declaration --declarationDir out/types --emitDeclarationOnly --noEmit false"},"keywords":["svelte","form","validation","validate"],"peerDependencies":{"yup":"^0.28.3"},"devDependencies":{"@beeanco/rollup-config":"workspace:*","@pyoner/svelte-types":"3.4.4","@rollup/plugin-node-resolve":"7.1.3","@rollup/plugin-typescript":"4.1.1","@types/node":"13.13.4","@types/yup":"0.26.37","rollup":"2.7.6","rollup-plugin-svelte":"5.2.1","svelte":"3.21.0","tslib":"1.11.1","typescript":"3.8.3","yup":"0.28.3"},"module":"out/index.mjs","svelte":"out/svelte/index.mjs","types":"out/types/index.d.ts","_id":"@beeanco/svelte-form@0.2.0","_nodeVersion":"12.13.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-iv8p2EJC0aCGSWy/PYfll8QXtzaJnnoh+gW0s24c1xdhEPCgtPg+g70r6ZUcwb8YopsImq/R2cT4pNVW66iJxA==","shasum":"6c8ca16f3b16732e7d3757afa069bef8184c35f5","tarball":"https://registry.npmjs.org/@beeanco/svelte-form/-/svelte-form-0.2.0.tgz","fileCount":17,"unpackedSize":59002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerR9MCRA9TVsSAnZWagAAb0wP/A+GLi4XMybz692RMrVr\nsMO5jz3MoZi1QXh9ELvzPJqt+wM+Bo3mdV2OHWmbyxq3vdLWRxA6dF7W/ctk\nuET5GLa/xuo+SRsNbCVezmMEE8ilhwaJjGg+6XvmZyekfQohami6bN+3bgdL\nlNKBALmp6vdc1D1dRfegn2uc06DBMNbd0nPeEMSyVZQwdakwiCEQqhgw0sdO\nQoUft6f/vfaSTYduKjDFTAJ3M+tXbxVuF+6oCGboB3EDB+3o6vqnmA+7P+vS\nji5+F7eqn+aI1R6CbPpptqS0TV7BkktcZoYA1g+U24PNWbQBFZAF89JFjjGr\nVyi5XzHLPy152AD+cmAdsYr7ZJCOp7fze8j19qEHwlzBULIZcn7LhT1D4OGq\nE87/sbAehhJT5HFcftuF18ISJVxtNyVYVzjGkG7tNjyHhJpckpDyPqj4sHYx\ngvxvxjEOHyHXdkgwHhqKJrbge68wLuNGSdCfPytz5W1hRYstNRThxdKdFEmL\nvO3yM8TdW+BpOeRXouelHEUNK8iudj1ZxuIM0Ko0FsN/OvFE5laGyQcrt8M5\nE+jHw7wGSy/IUVPJ7Fcmy5PHsnAHs9GiXJdnxJA6XYv4kf2Z27RUAOchb1Ni\ntL2yU5DuG0cAKEEq3GVUJ5QEfIWlSvSFVDfgBGO5To6HHqwzIzyMpbHKr7/o\n7HRh\r\n=5NLG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGZ/xpo6gBF1pOVQUXGMLy/EUCE44BRK1bZhC3o6HTtAIgJp52BI1ktQ+hjVhWBTV09jy+X91PSgJQzCUr1AQe/KY="}]},"maintainers":[{"name":"lhechenberger","email":"npm@ls-age.com"}],"_npmUser":{"name":"lhechenberger","email":"npm@ls-age.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-form_0.2.0_1588404044163_0.598478038974779"},"_hasShrinkwrap":false},"0.3.0":{"name":"@beeanco/svelte-form","version":"0.3.0","description":"Easy forms in svelte","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LukasHechenberger/opensource.git"},"author":{"name":"Lukas Hechenberger","email":"npm@ls-age.com"},"homepage":"https://lukashechenberger.github.io/beeanco-opensource/docs/svelte-form/","bugs":{"url":"https://github.com/LukasHechenberger/opensource/issues"},"main":"out/index.js","scripts":{"build":"rollup -c --environment NODE_ENV:production","dev":"rollup -cw","test":"echo \"Error: no test specified\" && exit 1","types":"tsc --declaration --declarationDir out/types --emitDeclarationOnly --noEmit false"},"keywords":["svelte","form","validation","validate"],"peerDependencies":{"yup":"^0.28.3"},"devDependencies":{"@beeanco/rollup-config":"workspace:*","@pyoner/svelte-types":"3.4.4","@rollup/plugin-node-resolve":"7.1.3","@rollup/plugin-typescript":"4.1.1","@types/node":"13.13.4","@types/yup":"0.26.37","rollup":"2.7.6","rollup-plugin-svelte":"5.2.1","svelte":"3.21.0","tslib":"1.11.1","typescript":"3.8.3","yup":"0.28.3"},"module":"out/index.mjs","svelte":"out/svelte/index.mjs","types":"out/types/index.d.ts","_id":"@beeanco/svelte-form@0.3.0","_nodeVersion":"12.13.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-JunlDz5eKE9+qEFYA148datxwSTO56XoXoPr0Y5j4NatUvA8UwQ4GASm40/txnuOmWdl/+AlE1KBQWh5QEusSw==","shasum":"746802273d353cfb0e6b2304164b7221b5828339","tarball":"https://registry.npmjs.org/@beeanco/svelte-form/-/svelte-form-0.3.0.tgz","fileCount":22,"unpackedSize":60434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerSKVCRA9TVsSAnZWagAA6doQAJzoZ/gmizDPSMnC0QGb\nudNhWG75OAXCyrwbQMS/gcIQE3U9fouh+ehTO0ADOKqzDFrk5eCT/0ce1KAP\nU2ici/IFYITtCDF0rgSNdws9T+ulxCtZzuOQXY7Laygz73u6dCRMAxDL/ihB\nNgjN3JjKXaFKK9N7VjgkoOQP3yc7p1CeG4jYgEPcB95KRDzzxmsLiQd/Ficr\n5yn1x6JUT4JtNuQW0bTK98el+WsMgYab8fS4RdLbINoJnShfIdt20KSx69y8\nGE6OvbmwmfhKvP5/sGF3GgjEvWCCLKFCbLo4GXMKjQOSzxyU3kNU9mKgF3sk\n58qhQBXldlEzu+Uw6hOp+aqYWUobyR00/oBxgw8+6JlJZarPWPPnQk8Un+nN\nue1TL1H7C8XRNwdPeAdZNJnhpOcEhNp2WFBTG7qfTAVjb9Ua8h/0k0vrEfsp\nGaf6h+521yestXLvd5FOlbVJVCzPpyzbeY2t1GuGBaJQDqLY39pQNAdfOiO7\nWAwlboEE3JjwwWfbyeRcmFxt7RyPWjfcHfpF7OqJSh7RlNjgG3d/5QSs0xau\ni6OYvXvFmDAZwFbH6GpOV25uzdiJmBLID/EloT8vWChbOqySzOaBACIadwpF\nBQDQGm/mBXQ1nqD3VeoD67mIrmen/wOkQFsH81BB6+dST4Mx4kEJevew+BcA\n0Mkg\r\n=rtq3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCotm+XhXXT6mdiPAulh2XZhX2occFeyLMzzZK5ZiBS7gIgc1R/vnfKX/c/EnL4W4NF3Jo60nysbesYYakR7GsM6Gw="}]},"maintainers":[{"name":"lhechenberger","email":"npm@ls-age.com"}],"_npmUser":{"name":"lhechenberger","email":"npm@ls-age.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-form_0.3.0_1588404884940_0.13111873013604036"},"_hasShrinkwrap":false},"0.4.0":{"name":"@beeanco/svelte-form","version":"0.4.0","description":"Easy forms in svelte","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LukasHechenberger/opensource.git"},"author":{"name":"Lukas Hechenberger","email":"npm@ls-age.com"},"homepage":"https://lukashechenberger.github.io/beeanco-opensource/docs/svelte-form/","bugs":{"url":"https://github.com/LukasHechenberger/opensource/issues"},"main":"out/index.js","module":"out/index.mjs","keywords":["svelte","form","validation","validate"],"peerDependencies":{"yup":"^0.32.9"},"devDependencies":{"@beeanco/rollup-config":"0.1.0","@pyoner/svelte-types":"3.4.4","@rollup/plugin-node-resolve":"7.1.3","@rollup/plugin-typescript":"8.2.1","@types/node":"13.13.5","rollup":"2.23.1","rollup-plugin-svelte":"5.2.1","svelte":"3.22.3","tslib":"1.11.1","typescript":"4.3.4","yup":"0.32.9"},"types":"out/types/index.d.ts","svelte":"out/svelte/index.mjs","scripts":{"build":"rollup -c --environment NODE_ENV:production","dev":"rollup -cw","test":"echo \"Error: no test specified\" && exit 1"},"_id":"@beeanco/svelte-form@0.4.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-WaOhwvhjZCz5OxwIswgxI+5UsNvhTZZSgj4cq7sBH/Z1xGXIUx0jgsNzonrsHc+V4n21ZmUp6UqjTI1eE7ueAw==","shasum":"270ce5127121f5b1786fc75740e4bff35c698207","tarball":"https://registry.npmjs.org/@beeanco/svelte-form/-/svelte-form-0.4.0.tgz","fileCount":22,"unpackedSize":60631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0xD5CRA9TVsSAnZWagAAbXYP/R0LyhTcnJ0ToZaJ+9bN\nF5ShvXK7IusSZJFKDrruYThj7zse21NOHYXQ2Ffa33VMrLLsoQvprBnSwpjp\nQJGdrTBhBj9/WCoLF6HnN7Lsj7RvEP2I0O9wYswtRNhifhIaMQBDvPdlQk01\n19cpM26lDCQM9vjuHt3QeJR4WAtGfHMFJLMcnoCXnE0jZ4bhEBmi2+bwGWsl\nsY3z2JBZjyI2bxr89KB101+4e/R/C45L4Qs0IDMCpLfa/cMnG3POhhMmJfFE\nSEmeTtQ9xj7Z2TqRUXArqfktRnqcwcEBqfS06IrYPFmjAVOFJO1XLwiS4Ti0\nyKVsP8jOzDI6sI1rMOh9A/vPMJlP22ATNqGy03JBj0VFCD177J8QeFk0bzzG\nSKF1VMcdPOL9Vr+yuNYiiOwnGvX5L5KllYggQmjc/oGXRRMktxXBDfsPl85O\n1hhJcRAixOxZUqZ7KaiCxCb2/nHX3/JevT5o/kPxjtxUR0361ccmZAv361OL\nVzi4KfURX3za1jeCkJXoywnkuaVReWAYQ+EtlHs/2WJ2JMfzIGMBmo1ivA/w\nFri7hzp/GeuaGd6EUN/RQ+vuPV7t3MtCx2qXPLZlzRn9QUwty1n4oQhNI+ES\nudjZXS23ZYpvKcHvtxgN8R18U6xP386EXmc10afjBt8p9CrquSURkMCibHr9\nudLh\r\n=9D/F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJnE9Vb5BooSbkEmqYKB5nhnIDzdbTTobqlHZWBZ/kwgIhAPF8NLhLDhMNMzG6/Qjj0KnQd217hLpBgha9kbdtZGXs"}]},"_npmUser":{"name":"lhechenberger","email":"npm@ls-age.com"},"directories":{},"maintainers":[{"name":"lhechenberger","email":"npm@ls-age.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-form_0.4.0_1624445176593_0.8542069461182515"},"_hasShrinkwrap":false},"0.4.1":{"name":"@beeanco/svelte-form","version":"0.4.1","description":"Easy forms in svelte","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LukasHechenberger/opensource.git"},"author":{"name":"Lukas Hechenberger","email":"npm@ls-age.com"},"homepage":"https://lukashechenberger.github.io/beeanco-opensource/docs/svelte-form/","bugs":{"url":"https://github.com/LukasHechenberger/opensource/issues"},"main":"out/index.js","module":"out/index.mjs","keywords":["svelte","form","validation","validate"],"peerDependencies":{"yup":"^0.32.9"},"devDependencies":{"@beeanco/rollup-config":"0.1.0","@pyoner/svelte-types":"3.4.4","@rollup/plugin-node-resolve":"13.0.5","@rollup/plugin-typescript":"8.2.5","@types/node":"14.17.19","rollup":"2.57.0","rollup-plugin-svelte":"7.1.0","svelte":"3.43.0","tslib":"2.3.1","typescript":"4.4.3","yup":"0.32.9"},"types":"out/types/index.d.ts","svelte":"out/svelte/index.mjs","scripts":{"build":"rollup -c --environment NODE_ENV:production","dev":"rollup -cw","test":"echo \"Error: no test specified\" && exit 1"},"_resolved":"","_integrity":"","_from":"file:beeanco-svelte-form-0.4.1.tgz","_id":"@beeanco/svelte-form@0.4.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-tsCelwGl6okLoFStJwBAhJMXhhJ8NByXDGATbvILFPimuZs0JKOx89uBpZ0Zp5ZQcFxFPRshJSQC/cwwJS7F/A==","shasum":"ba8e42bb44419d57dce4b0f9598f6daa38b2330f","tarball":"https://registry.npmjs.org/@beeanco/svelte-form/-/svelte-form-0.4.1.tgz","fileCount":22,"unpackedSize":69405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/QjyCRA9TVsSAnZWagAAwuwQAKEhcxg5DAo9Gf8zmhKV\njDsAmdd0uvCdEOx6jM8Y8ZzEoGDr6+Un4D61hyV74vG202S3bC6cNM/glAc5\n28Bp++ucNjaVZHUfiNNaKCpu/42qdRyry8NEzV/+AVYo844DqG5s303VNa4c\n8xJNoS4KQR+LBkXsqAga1XtT0Tm+n7zRkMIQWy+FgQwn8qA8k4PLTOELK2gc\n3OOi666mytV3zq6NZGVuX4BmNj+WNB+UBOceCC/s47lGPm6o6YEsLTi/DPAv\nIabqFIOwEEk/USHZrtQMfIaXyI15kl5i1LohTPZ+l96fSPtRYGKRvTAryJy/\nLFKfP5X88WGWmwYPwPPq9taeZD1zy6F9Dqj2AGOH90MBL6mpF2RaKyNc6ojL\nghIWnmlQPQdFy+4GzCQB829zure9hvZIRHoqg19mR+Vkc9bZQ/9w2bhx+zHG\nnjY6LtaOMGxxpikcsNTWuHEEdKEz9oxjZrtr0Hz849bYSrvgULNibpp2rmtu\nMvT47FrZjtwGpTVJO6rBepoxIiBePSheebXdR63OvNHN56ZuvHRa/GECNYyc\n/5BtxhkasOs3jbN+2d/xWXcQWtWc5mmCxtGNWOeRPfbrAB7yRPs2c3ui4iR2\nCJ2MLndOMzLbZkm0INM3W+pChrraqz1a4xY/pYt/kLy2mh0MHOYj0QNsYrh3\nxNpR\r\n=U7ms\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFyVcyWgC9K++cAehrtNdXP3Zma0sffKY4Bsc/KL7LAkAiEA6YSHQh5LOYqUxasdN0qKjTzuFBy9EkWWb9iSf1KJK1M="}]},"_npmUser":{"name":"lhechenberger","email":"npm@ls-age.com"},"directories":{},"maintainers":[{"name":"lhechenberger","email":"npm@ls-age.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-form_0.4.1_1643972850317_0.7502424885780057"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-01T12:23:53.966Z","0.1.0":"2020-05-01T12:23:54.332Z","modified":"2022-04-04T18:09:26.584Z","0.2.0":"2020-05-02T07:20:44.343Z","0.3.0":"2020-05-02T07:34:45.089Z","0.4.0":"2021-06-23T10:46:16.701Z","0.4.1":"2022-02-04T11:07:30.478Z"},"maintainers":[{"name":"lhechenberger","email":"npm@ls-age.com"}],"description":"Easy forms in svelte","homepage":"https://lukashechenberger.github.io/beeanco-opensource/docs/svelte-form/","keywords":["svelte","form","validation","validate"],"repository":{"type":"git","url":"git+https://github.com/LukasHechenberger/opensource.git"},"author":{"name":"Lukas Hechenberger","email":"npm@ls-age.com"},"bugs":{"url":"https://github.com/LukasHechenberger/opensource/issues"},"license":"MIT","readme":"<!-- BEGIN header -->\n<!-- This section is generated, do not edit it! -->\n\n# @beeanco/svelte-form\n\n> Easy forms in svelte\n\n## Installation\n\nWith [node.js](https://nodejs.org/en/) installed, use npm to install this package and its peer dependencies:\n\n```sh\nnpm install @beeanco/svelte-form yup\n```\n\n<!-- END header -->\n\n## Usage\n\nBasically you only need to use the _createForm_ function to create a form using a _[yup](https://www.npmjs.com/package/yup) schema_ and an action in your svelte component, and use it with the `<Form />` component:\n\n```svelte\n<script>\n  import { createForm, Form } from '@beeanco/svelte-form';\n  import { object, string } from 'yup';\n\n  // Create a yup schema for your form\n  const schema = object().shape({\n    username: string().required(),\n    password: string().required(),\n  });\n\n  // The action to run\n  async function action(values) {\n    console.info(values);\n  }\n\n  // Create the form object\n  const form = createForm({ schema, action });\n</script>\n\n<Form {form}>\n  <!-- Your inputs... -->\n</Form>\n```\n\nThe easiest way to add inputs and buttons to this form is to use [`@beeanco/svelte-bulma`](https://www.npmjs.com/package/@beeanco/svelte-bulma), which contains svelte components for the [bulma](https://bulma.io) CSS framework. Don't forget to `npm install @beeanco/svelte-bulma`!\n\n```svelte\n<!-- LoginForm.svelte -->\n<script>\n  import { createForm, Form, FieldContext } from '@beeanco/svelte-form';\n  import { FormField, ErrorMessage, SubmitField } from '@beeanco/svelte-bulma';\n  import { object, string } from 'yup';\n\n  // Create a yup schema for your form\n  // (https://www.npmjs.com/package/yup)\n  const schema = object().shape({\n    username: string().label('Username').required(),\n    password: string().label('Password').required(),\n  });\n\n  // The function to call with the resulting object\n  async function action(values) {\n    console.info('A user wants to log in with these credentials:', values);\n\n    // You can call your API here...\n    await new Promise((resolve) => setTimeout(resolve, 200));\n\n    // ...and errors thrown here are reported.\n    if (Math.random() > 0.5) {\n      throw new Error('nope...');\n    }\n  }\n\n  // Create the form object\n  const form = createForm({ schema, action });\n\n  // Get the field stores\n  const { value: nameValue, error: nameError } = form.fields.get('username');\n  const { value: passwordValue, error: passwordError } = form.fields.get('password');\n</script>\n\n<h1>Login to continue</h1>\n\n<Form {form}>\n  <FormField name=\"username\" placeholder=\"Your Username\" />\n  <FormField name=\"password\" placeholder=\"Your Password\" />\n\n  <ErrorMessage />\n\n  <SubmitField label=\"Submit\" />\n</Form>\n```\n\nOf course you can use this package with other CSS frameworks as well. Just use the stores returned by the `createForm` function.\n\nComplete example **without bulma**:\n\n```svelte\n<!-- LoginForm.svelte -->\n<script>\n  import { createForm, Form } from '@beeanco/svelte-form';\n  import { object, string } from 'yup';\n\n  // Create a yup schema for your form\n  // (https://www.npmjs.com/package/yup)\n  const schema = object().shape({\n    username: string().required(),\n    password: string().required(),\n  });\n\n  // The function to call with the resulting object\n  async function action(values) {\n    console.info('A user wants to log in with these credentials:', values);\n\n    // You can call your API here...\n    await new Promise((resolve) => setTimeout(resolve, 200));\n\n    // ...and errors thrown here are reported.\n    if (Math.random() > 0.5) {\n      throw new Error('nope...');\n    }\n  }\n\n  // Create the form object\n  const form = createForm({ schema, action });\n\n  // Get the field stores\n  const { value: nameValue, error: nameError } = form.fields.get('username');\n  const { value: passwordValue, error: passwordError } = form.fields.get('password');\n</script>\n\n<h1>Login to continue</h1>\n\n<!-- The <Form /> component sets up the svelte contexts -->\n<Form {form} let:error let:submitting>\n  <!-- let:values is also available -->\n\n  <label>\n    Username\n    <input type=\"text\" bind:value={$nameValue} />\n\n    {#if $nameError}\n      <strong>{$nameError.message}</strong>\n    {/if}\n  </label>\n\n  <label>\n    Password\n    <input type=\"password\" bind:value={$passwordValue} />\n\n    {#if $passwordError}\n      <strong>{$passwordError.message}</strong>\n    {/if}\n  </label>\n\n  <label>\n    {#if error}\n      <strong>Oops! {error.message}</strong>\n    {/if}\n\n    {#if submitting}\n      <i>Submitting...</i>\n    {:else}\n      <button type=\"submit\">log in</button>\n    {/if}\n  </label>\n</Form>\n\n<style>\n  /* Minimal styling */\n  label {\n    display: block;\n  }\n</style>\n```\n","readmeFilename":""}