{"_id":"react-formo","_rev":"43-f034dae34b77523d156115904a070450","name":"react-formo","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.2":{"name":"react-formo","version":"0.0.2","author":"","license":"ISC","_id":"react-formo@0.0.2","maintainers":[{"name":"buildo","email":"we@buildo.io"}],"homepage":"https://github.com/buildo/formo#readme","bugs":{"url":"https://github.com/buildo/formo/issues"},"dist":{"shasum":"eead217bd01e33af80b151392a7c386c075442ca","tarball":"https://registry.npmjs.org/react-formo/-/react-formo-0.0.2.tgz","integrity":"sha512-uznFGkHSnqNJvq3dDU08nPT3bYOEVtEHNHcQUtccGy8FqAiZ5JUcCqXoDXSff8qYbvfT0avMMCH5B6Bxpuz8dA==","signatures":[{"sig":"MEUCIA9lQxUWEIT0Mp8B0TL0LFfUzne5GviqFyh2lAwkjYUjAiEAp2A8vbccNkzuFutJsLtzmRGQj85q4ATVCs9+s6noxjs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"eead217bd01e33af80b151392a7c386c075442ca","gitHead":"38ea680f85dbb96095fbb392ecc0c2b8e0783ff6","scripts":{"lint":"eslint src/app/formo","test":"jest","build":"rm -rf lib && mkdir lib && babel src/formo -d lib","clean":"rm -rf build/* && mkdir -p build","start":"npm run clean && cp src/index.html build && webpack-dev-server --config webpack.config.js --hot --inline","prepublish":"npm run build","preversion":"npm run lint && npm run test","release-version":"smooth-release"},"_npmUser":{"name":"buildo","email":"we@buildo.io"},"repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"_npmVersion":"4.1.2","description":"Formo ~ another form state management for React","directories":{},"_nodeVersion":"5.0.0","dependencies":{"tcomb":"3.1.0","lodash":"4.6.1","revenge":"0.4.5","tcomb-react":"0.9.0","smooth-release":"^7.0.0"},"devDependencies":{"jest":"18.1.0","react":"^0.14 || ^15","enzyme":"2.7.0","eslint":"2.4.0","expect":"1.6.0","webpack":"1.12.14","babel-cli":"6.22.2","node-sass":"3.13.0","react-dom":"^0.14 || ^15","babel-core":"6.21.0","babel-jest":"18.0.0","classnames":"2.1.5","css-loader":"0.26.1","url-loader":"0.5.6","es6-promise":"3.2.1","file-loader":"0.8.1","json-loader":"0.5.1","sass-loader":"4.0.2","babel-eslint":"7.1.1","babel-loader":"6.2.10","require-noop":"0.0.2","style-loader":"0.13.0","eslint-loader":"1.0.0","jsondiffpatch":"0.1.33","rc-datepicker":"4.0.1","react-flexview":"1.0.1","metarpheus-tcomb":"0.1.10","babel-preset-react":"6.16.0","resolve-url-loader":"1.4.3","webpack-dev-server":"1.10.1","babel-preset-es2015":"6.18.0","html-webpack-plugin":"1.5.2","react-test-renderer":"15.4.1","babel-preset-stage-0":"6.16.0","eslint-config-buildo":"github:buildo/eslint-config#d2e9ae2a518591ffd6527c87fe450b882390dc15","buildo-react-components":"0.10.0","react-addons-test-utils":"15.4.1","compression-webpack-plugin":"0.3.0","extract-text-webpack-plugin":"1.0.1","babel-plugin-transform-class-properties":"6.19.0","babel-plugin-transform-decorators-legacy":"1.3.4"},"peerDependencies":{"react":"^0.14 || ^15","react-dom":"^0.14 || ^15"},"_npmOperationalInternal":{"tmp":"tmp/react-formo-0.0.2.tgz_1485890934700_0.3393703894689679","host":"packages-12-west.internal.npmjs.com"}},"0.0.3":{"name":"react-formo","version":"0.0.3","author":"","license":"ISC","_id":"react-formo@0.0.3","maintainers":[{"name":"buildo","email":"we@buildo.io"}],"homepage":"https://github.com/buildo/formo#readme","bugs":{"url":"https://github.com/buildo/formo/issues"},"dist":{"shasum":"bc246fb0e7655b282d8d7f0a04b667b9ddf90389","tarball":"https://registry.npmjs.org/react-formo/-/react-formo-0.0.3.tgz","integrity":"sha512-BOH/1NjuMUo/hV7mZjM628y9rKz+Xo247D5TL/zgIdaSWVPvcF8w6FDmd4l5HsxSwND9nlKgDsElChuo3GcGfw==","signatures":[{"sig":"MEUCIQC3m9YO7kjrpmDmuqWNZHZ1p/ZsbxdYNtz1ZaYSuvGULgIgGUWuhCtHMkMVOcnOZ1zUr45k4/gi8sYFJE1hYmgyFtg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"bc246fb0e7655b282d8d7f0a04b667b9ddf90389","gitHead":"f3c1ba0467b8a5325fdea68666f45d53d819eaaf","scripts":{"lint":"eslint src/app/formo","test":"jest","build":"rm -rf lib && mkdir lib && babel src/formo -d lib","clean":"rm -rf build/* && mkdir -p build","start":"npm run clean && cp src/index.html build && webpack-dev-server --config webpack.config.js --hot --inline","prepublish":"npm run build","preversion":"npm run lint && npm run test","release-version":"smooth-release"},"_npmUser":{"name":"buildo","email":"we@buildo.io"},"repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"_npmVersion":"4.1.2","description":"Formo ~ another form state management for React","directories":{},"_nodeVersion":"5.0.0","dependencies":{"tcomb":"3.1.0","lodash":"4.6.1","revenge":"0.4.5","tcomb-react":"0.9.0"},"devDependencies":{"jest":"18.1.0","react":"^0.14 || ^15","enzyme":"2.7.0","eslint":"2.4.0","expect":"1.6.0","webpack":"1.12.14","babel-cli":"6.22.2","node-sass":"3.13.0","react-dom":"^0.14 || ^15","babel-core":"6.21.0","babel-jest":"18.0.0","classnames":"2.1.5","css-loader":"0.26.1","url-loader":"0.5.6","es6-promise":"3.2.1","file-loader":"0.8.1","json-loader":"0.5.1","sass-loader":"4.0.2","babel-eslint":"7.1.1","babel-loader":"6.2.10","require-noop":"0.0.2","style-loader":"0.13.0","eslint-loader":"1.0.0","jsondiffpatch":"0.1.33","rc-datepicker":"4.0.1","react-flexview":"1.0.1","smooth-release":"7.0.0","metarpheus-tcomb":"0.1.10","babel-preset-react":"6.16.0","resolve-url-loader":"1.4.3","webpack-dev-server":"1.10.1","babel-preset-es2015":"6.18.0","html-webpack-plugin":"1.5.2","react-test-renderer":"15.4.1","babel-preset-stage-0":"6.16.0","eslint-config-buildo":"github:buildo/eslint-config#d2e9ae2a518591ffd6527c87fe450b882390dc15","buildo-react-components":"0.10.0","react-addons-test-utils":"15.4.1","compression-webpack-plugin":"0.3.0","extract-text-webpack-plugin":"1.0.1","babel-plugin-transform-class-properties":"6.19.0","babel-plugin-transform-decorators-legacy":"1.3.4"},"peerDependencies":{"react":"^0.14 || ^15","react-dom":"^0.14 || ^15"},"_npmOperationalInternal":{"tmp":"tmp/react-formo-0.0.3.tgz_1485946574489_0.48585536354221404","host":"packages-12-west.internal.npmjs.com"}},"0.1.0":{"name":"react-formo","version":"0.1.0","author":"","license":"ISC","_id":"react-formo@0.1.0","maintainers":[{"name":"buildo","email":"we@buildo.io"}],"homepage":"https://github.com/buildo/formo#readme","bugs":{"url":"https://github.com/buildo/formo/issues"},"dist":{"shasum":"44a20d28838df69992120370d38c865313a8bf74","tarball":"https://registry.npmjs.org/react-formo/-/react-formo-0.1.0.tgz","integrity":"sha512-wec7Gc4YEYAkMvi0bVgWBY9NoBr2lR+zjv2wWb6FLVzRYd99XivUTEuaEBUYbkGmKMPbnG6U6Cv0F1p624HY0A==","signatures":[{"sig":"MEYCIQD05GOlRcZv1UNLmn2fNJZLkI6L+0C84GRTfi8EEaQyDQIhAN/zU4wzglGNU5n3RBrfbnCnngGqIuRI9I+X2dMB9axE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"44a20d28838df69992120370d38c865313a8bf74","gitHead":"5234e1d253e6c9c9516433b2469ad62b49fc2741","scripts":{"lint":"eslint src/app/formo","test":"jest","build":"rm -rf lib && mkdir lib && babel src/formo -d lib","clean":"rm -rf build/* && mkdir -p build","start":"npm run clean && cp src/index.html build && webpack-dev-server --config webpack.config.js --hot --inline","prepublish":"npm run build","preversion":"npm run lint && npm run test","release-version":"smooth-release"},"_npmUser":{"name":"buildo","email":"we@buildo.io"},"repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"_npmVersion":"4.1.2","description":"Formo ~ another form state management for React","directories":{},"_nodeVersion":"5.0.0","dependencies":{"tcomb":"3.1.0","lodash":"4.6.1","revenge":"0.4.5","tcomb-react":"0.9.0"},"devDependencies":{"jest":"18.1.0","react":"^0.14 || ^15","enzyme":"2.7.0","eslint":"2.4.0","expect":"1.6.0","webpack":"1.12.14","babel-cli":"6.22.2","node-sass":"3.13.0","react-dom":"^0.14 || ^15","babel-core":"6.21.0","babel-jest":"18.0.0","classnames":"2.1.5","css-loader":"0.26.1","url-loader":"0.5.6","es6-promise":"3.2.1","file-loader":"0.8.1","json-loader":"0.5.1","sass-loader":"4.0.2","babel-eslint":"7.1.1","babel-loader":"6.2.10","require-noop":"0.0.2","style-loader":"0.13.0","eslint-loader":"1.0.0","jsondiffpatch":"0.1.33","rc-datepicker":"4.0.1","react-flexview":"1.0.1","smooth-release":"7.0.0","metarpheus-tcomb":"0.1.10","babel-preset-react":"6.16.0","resolve-url-loader":"1.4.3","webpack-dev-server":"1.10.1","babel-preset-es2015":"6.18.0","html-webpack-plugin":"1.5.2","react-test-renderer":"15.4.1","babel-preset-stage-0":"6.16.0","eslint-config-buildo":"github:buildo/eslint-config#d2e9ae2a518591ffd6527c87fe450b882390dc15","buildo-react-components":"0.10.0","react-addons-test-utils":"15.4.1","compression-webpack-plugin":"0.3.0","extract-text-webpack-plugin":"1.0.1","babel-plugin-transform-class-properties":"6.19.0","babel-plugin-transform-decorators-legacy":"1.3.4"},"peerDependencies":{"react":"^0.14 || ^15","react-dom":"^0.14 || ^15"},"_npmOperationalInternal":{"tmp":"tmp/react-formo-0.1.0.tgz_1487154406721_0.2908220470417291","host":"packages-18-east.internal.npmjs.com"}},"0.1.1":{"name":"react-formo","version":"0.1.1","author":"","license":"ISC","_id":"react-formo@0.1.1","maintainers":[{"name":"buildo","email":"we@buildo.io"}],"homepage":"https://github.com/buildo/formo#readme","bugs":{"url":"https://github.com/buildo/formo/issues"},"dist":{"shasum":"2c37386e93a065e0ba139b730be3cca4d13cde41","tarball":"https://registry.npmjs.org/react-formo/-/react-formo-0.1.1.tgz","integrity":"sha512-dkme4hhbcPGzIxoLIYI9PrFyrHV+at4/MYCLXvV/2BrPexNcSze3gkjGnxCVrALV5rFO2j02+nkr5HJzEijofg==","signatures":[{"sig":"MEUCIFu+BoMIaoRz0giT3pywF8aeHY+5dKmih5wmqY0HGW/IAiEA6VPbUrXsBHbv2SkdzHg0ydgNCvU7pbqs4xDDnxfKZVk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"2c37386e93a065e0ba139b730be3cca4d13cde41","gitHead":"ec87d64409a490982a05b5570e14705e95f321dd","scripts":{"lint":"eslint src/app/formo","test":"jest","build":"rm -rf lib && mkdir lib && babel src/formo -d lib","clean":"rm -rf build/* && mkdir -p build","start":"npm run clean && cp src/index.html build && webpack-dev-server --config webpack.config.js --hot --inline","prepublish":"npm run build","preversion":"npm run lint && npm run test","release-version":"smooth-release"},"_npmUser":{"name":"buildo","email":"we@buildo.io"},"repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"_npmVersion":"4.1.2","description":"Formo ~ another form state management for React","directories":{},"_nodeVersion":"5.0.0","dependencies":{"tcomb":"3.1.0","lodash":"4.6.1","revenge":"0.4.5","tcomb-react":"0.9.0"},"devDependencies":{"jest":"18.1.0","react":"^0.14 || ^15","enzyme":"2.7.0","eslint":"2.4.0","expect":"1.6.0","webpack":"1.12.14","babel-cli":"6.22.2","node-sass":"3.13.0","react-dom":"^0.14 || ^15","babel-core":"6.21.0","babel-jest":"18.0.0","classnames":"2.1.5","css-loader":"0.26.1","url-loader":"0.5.6","es6-promise":"3.2.1","file-loader":"0.8.1","json-loader":"0.5.1","sass-loader":"4.0.2","babel-eslint":"7.1.1","babel-loader":"6.2.10","require-noop":"0.0.2","style-loader":"0.13.0","eslint-loader":"1.0.0","jsondiffpatch":"0.1.33","rc-datepicker":"4.0.1","react-flexview":"1.0.1","smooth-release":"7.0.0","metarpheus-tcomb":"0.1.10","babel-preset-react":"6.16.0","resolve-url-loader":"1.4.3","webpack-dev-server":"1.10.1","babel-preset-es2015":"6.18.0","html-webpack-plugin":"1.5.2","react-test-renderer":"15.4.1","babel-preset-stage-0":"6.16.0","eslint-config-buildo":"github:buildo/eslint-config#d2e9ae2a518591ffd6527c87fe450b882390dc15","buildo-react-components":"0.10.0","react-addons-test-utils":"15.4.1","compression-webpack-plugin":"0.3.0","extract-text-webpack-plugin":"1.0.1","babel-plugin-transform-class-properties":"6.19.0","babel-plugin-transform-decorators-legacy":"1.3.4"},"peerDependencies":{"react":"^0.14 || ^15","react-dom":"^0.14 || ^15"},"_npmOperationalInternal":{"tmp":"tmp/react-formo-0.1.1.tgz_1487158911520_0.7938387680333108","host":"packages-18-east.internal.npmjs.com"}},"0.1.2":{"name":"react-formo","version":"0.1.2","author":"","license":"ISC","_id":"react-formo@0.1.2","maintainers":[{"name":"buildo","email":"we@buildo.io"}],"homepage":"https://github.com/buildo/formo#readme","bugs":{"url":"https://github.com/buildo/formo/issues"},"dist":{"shasum":"fedc1545b16ccaa9856b97b92aa4e84d4307988f","tarball":"https://registry.npmjs.org/react-formo/-/react-formo-0.1.2.tgz","integrity":"sha512-XhA9WWrpoObLYILMSTijFOndl23PcPQPG/EkuqhKP4Be5jL77jDeAaaz0Y0k450c8OsAR/1mEDivKt+10tHSoA==","signatures":[{"sig":"MEUCIQCeiQnIuC5FyISezT9+pinKTp1/kGM7TXIouqKPYVR1CwIgImTD4qMGeZNAN7k8lr2u1AeFFqgmeT4h3f2ydpt6p4I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"fedc1545b16ccaa9856b97b92aa4e84d4307988f","gitHead":"7b0acbf689a4d606c4d6d4173b33fd07526f27e3","scripts":{"lint":"eslint src/app/formo","test":"jest","build":"rm -rf lib && mkdir lib && babel src/formo -d lib","clean":"rm -rf build/* && mkdir -p build","start":"npm run clean && cp src/index.html build && webpack-dev-server --config webpack.config.js --hot --inline","prepublish":"npm run build","preversion":"npm run lint && npm run test","release-version":"smooth-release"},"_npmUser":{"name":"buildo","email":"we@buildo.io"},"repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"_npmVersion":"4.1.2","description":"Formo ~ another form state management for React","directories":{},"_nodeVersion":"5.0.0","dependencies":{"tcomb":"3.1.0","lodash":"4.6.1","revenge":"0.4.5","tcomb-react":"0.9.0"},"devDependencies":{"jest":"18.1.0","react":"^0.14 || ^15","enzyme":"2.7.0","eslint":"2.4.0","expect":"1.6.0","webpack":"1.12.14","babel-cli":"6.22.2","node-sass":"3.13.0","react-dom":"^0.14 || ^15","babel-core":"6.21.0","babel-jest":"18.0.0","classnames":"2.1.5","css-loader":"0.26.1","url-loader":"0.5.6","es6-promise":"3.2.1","file-loader":"0.8.1","json-loader":"0.5.1","sass-loader":"4.0.2","babel-eslint":"7.1.1","babel-loader":"6.2.10","require-noop":"0.0.2","style-loader":"0.13.0","eslint-loader":"1.0.0","jsondiffpatch":"0.1.33","rc-datepicker":"4.0.1","react-flexview":"1.0.1","smooth-release":"7.0.0","metarpheus-tcomb":"0.1.10","babel-preset-react":"6.16.0","resolve-url-loader":"1.4.3","webpack-dev-server":"1.10.1","babel-preset-es2015":"6.18.0","html-webpack-plugin":"1.5.2","react-test-renderer":"15.4.1","babel-preset-stage-0":"6.16.0","eslint-config-buildo":"github:buildo/eslint-config#d2e9ae2a518591ffd6527c87fe450b882390dc15","buildo-react-components":"0.10.0","react-addons-test-utils":"15.4.1","compression-webpack-plugin":"0.3.0","extract-text-webpack-plugin":"1.0.1","babel-plugin-transform-class-properties":"6.19.0","babel-plugin-transform-decorators-legacy":"1.3.4"},"peerDependencies":{"react":"^0.14 || ^15","react-dom":"^0.14 || ^15"},"_npmOperationalInternal":{"tmp":"tmp/react-formo-0.1.2.tgz_1487251376548_0.6843941314145923","host":"packages-12-west.internal.npmjs.com"}},"0.1.3":{"name":"react-formo","version":"0.1.3","author":"","license":"ISC","_id":"react-formo@0.1.3","maintainers":[{"name":"buildo","email":"we@buildo.io"}],"homepage":"https://github.com/buildo/formo#readme","bugs":{"url":"https://github.com/buildo/formo/issues"},"dist":{"shasum":"c276dbce9cc0b2290f3ba461b849d20650782653","tarball":"https://registry.npmjs.org/react-formo/-/react-formo-0.1.3.tgz","integrity":"sha512-Nb4QrGnHnbezGBE5DoAo+9Ylq+qTyJCcaqzVWgS3O0FemMdVIyTR3nTQ85glXziR9aAWXBixFYpFIDL++Qryaw==","signatures":[{"sig":"MEUCIQDbiyjPBptdHtGpO/+S92k8VrlPCtQUAmYoWjS1KwdFjgIgeG1CKg91/8oHYAQJBeaF2nWEUgGy4yLK1nMbS9PfDR8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"c276dbce9cc0b2290f3ba461b849d20650782653","gitHead":"8247ae6efab99e6172e4371d20a883836e131f6c","scripts":{"lint":"eslint src/app/formo","test":"jest","build":"rm -rf lib && mkdir lib && babel src/formo -d lib","clean":"rm -rf build/* && mkdir -p build","start":"npm run clean && cp src/index.html build && webpack-dev-server --config webpack.config.js --hot --inline","prepublish":"npm run build","preversion":"npm run lint && npm run test","release-version":"smooth-release"},"_npmUser":{"name":"buildo","email":"we@buildo.io"},"repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"_npmVersion":"4.1.2","description":"Formo ~ another form state management for React","directories":{},"_nodeVersion":"5.0.0","dependencies":{"tcomb":"3.1.0","lodash":"4.6.1","revenge":"0.4.5","tcomb-react":"0.9.0"},"devDependencies":{"jest":"18.1.0","react":"^0.14 || ^15","enzyme":"2.7.0","eslint":"2.4.0","expect":"1.6.0","webpack":"1.12.14","babel-cli":"6.22.2","node-sass":"3.13.0","react-dom":"^0.14 || ^15","babel-core":"6.21.0","babel-jest":"18.0.0","classnames":"2.1.5","css-loader":"0.26.1","url-loader":"0.5.6","es6-promise":"3.2.1","file-loader":"0.8.1","json-loader":"0.5.1","sass-loader":"4.0.2","babel-eslint":"7.1.1","babel-loader":"6.2.10","require-noop":"0.0.2","style-loader":"0.13.0","eslint-loader":"1.0.0","jsondiffpatch":"0.1.33","rc-datepicker":"4.0.1","react-flexview":"1.0.1","smooth-release":"7.0.0","metarpheus-tcomb":"0.1.10","babel-preset-react":"6.16.0","resolve-url-loader":"1.4.3","webpack-dev-server":"1.10.1","babel-preset-es2015":"6.18.0","html-webpack-plugin":"1.5.2","react-test-renderer":"15.4.1","babel-preset-stage-0":"6.16.0","eslint-config-buildo":"github:buildo/eslint-config#d2e9ae2a518591ffd6527c87fe450b882390dc15","buildo-react-components":"0.10.0","react-addons-test-utils":"15.4.1","compression-webpack-plugin":"0.3.0","extract-text-webpack-plugin":"1.0.1","babel-plugin-transform-class-properties":"6.19.0","babel-plugin-transform-decorators-legacy":"1.3.4"},"peerDependencies":{"react":"^0.14 || ^15","react-dom":"^0.14 || ^15"},"_npmOperationalInternal":{"tmp":"tmp/react-formo-0.1.3.tgz_1487263612212_0.651718171313405","host":"packages-12-west.internal.npmjs.com"}},"0.1.4":{"name":"react-formo","version":"0.1.4","author":"","license":"ISC","_id":"react-formo@0.1.4","maintainers":[{"name":"ascariandrea","email":"andrea.ascari@buildo.io"},{"name":"dhinus","email":"francesconegri@gmail.com"},{"name":"francescocioria","email":"firefelix@gmail.com"},{"name":"francescogior","email":"francescogior@gmail.com"},{"name":"gabro","email":"we@buildo.io"},{"name":"veej","email":"vincenzo@buildo.io"}],"homepage":"https://github.com/buildo/formo#readme","bugs":{"url":"https://github.com/buildo/formo/issues"},"dist":{"shasum":"84f141f03b5db2984bbaa2edbdb9230913885eb1","tarball":"https://registry.npmjs.org/react-formo/-/react-formo-0.1.4.tgz","integrity":"sha512-jxXWwXt4+Bde9NVs+fQWTSWEnu0/kadR3Z8gmtZZgLMyOQtpwZYVywQxYz68sLKbzyhnCXEsBAf/nZ88BGcvGg==","signatures":[{"sig":"MEQCICWXF/7UyEDvIuiQeY0Hda3yCiOjbgc0HDEOBj1hJizVAiAhyeuZpVykX1N8Y5GehceSLxhktZG06y9WINVF4wX/BA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"84f141f03b5db2984bbaa2edbdb9230913885eb1","gitHead":"c98f8183d6406e420379fed4b0de861d467add31","scripts":{"lint":"eslint src/app/formo","test":"jest","build":"rm -rf lib && mkdir lib && babel src/formo -d lib","clean":"rm -rf build/* && mkdir -p build","start":"npm run clean && cp src/index.html build && webpack-dev-server --config webpack.config.js --hot --inline","prepublish":"npm run build","preversion":"npm run lint && npm run test","release-version":"smooth-release"},"_npmUser":{"name":"francescogior","email":"francescogior@gmail.com"},"repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"_npmVersion":"3.9.3","description":"Formo ~ another form state management for React","directories":{},"_nodeVersion":"6.2.1","dependencies":{"tcomb":"3.1.0","lodash":"4.6.1","revenge":"0.4.5","tcomb-react":"0.9.0"},"devDependencies":{"jest":"18.1.0","react":"^0.14 || ^15","enzyme":"2.7.0","eslint":"2.4.0","expect":"1.6.0","webpack":"1.12.14","babel-cli":"6.22.2","node-sass":"3.13.0","react-dom":"^0.14 || ^15","babel-core":"6.21.0","babel-jest":"18.0.0","classnames":"2.1.5","css-loader":"0.26.1","url-loader":"0.5.6","es6-promise":"3.2.1","file-loader":"0.8.1","json-loader":"0.5.1","sass-loader":"4.0.2","babel-eslint":"7.1.1","babel-loader":"6.2.10","require-noop":"0.0.2","style-loader":"0.13.0","eslint-loader":"1.0.0","jsondiffpatch":"0.1.33","rc-datepicker":"4.0.1","react-flexview":"1.0.1","smooth-release":"8.0.0","metarpheus-tcomb":"0.1.10","resolve-url-loader":"1.4.3","webpack-dev-server":"1.10.1","babel-preset-buildo":"^0.1.1","html-webpack-plugin":"1.5.2","react-test-renderer":"15.4.1","eslint-config-buildo":"github:buildo/eslint-config#d2e9ae2a518591ffd6527c87fe450b882390dc15","buildo-react-components":"0.10.0","react-addons-test-utils":"15.4.1","compression-webpack-plugin":"0.3.0","extract-text-webpack-plugin":"1.0.1"},"peerDependencies":{"react":"^0.14 || ^15","react-dom":"^0.14 || ^15"},"_npmOperationalInternal":{"tmp":"tmp/react-formo-0.1.4.tgz_1491237671942_0.9537126533687115","host":"packages-18-east.internal.npmjs.com"}},"0.2.0":{"name":"react-formo","version":"0.2.0","author":"","license":"ISC","_id":"react-formo@0.2.0","maintainers":[{"name":"ascariandrea","email":"andrea.ascari@buildo.io"},{"name":"dhinus","email":"francesconegri@gmail.com"},{"name":"francescocioria","email":"firefelix@gmail.com"},{"name":"francescogior","email":"francescogior@gmail.com"},{"name":"gabro","email":"we@buildo.io"},{"name":"giogonzo","email":"giovanni@buildo.io"},{"name":"veej","email":"vincenzo@buildo.io"}],"homepage":"https://github.com/buildo/formo#readme","bugs":{"url":"https://github.com/buildo/formo/issues"},"dist":{"shasum":"153f7d71d87f4534b55bd7f484c582f267434b74","tarball":"https://registry.npmjs.org/react-formo/-/react-formo-0.2.0.tgz","integrity":"sha512-kDg+ItU3Hiq7YHwIpq72LrqTOfHN6FGNjW+kWRW/zVbJQ0OMtDmLNHAoAJ/f9ZT0ltlVxnnDBOVOwQJFCJI59g==","signatures":[{"sig":"MEUCICzzZhxvs2tlJzcd7goLWFbF7ayoK9Atc+ARmPGSkDnLAiEAxnbv1BEp4W7H/6rNSsx5EuvTMxyuvMSdLfYT9TYdrk0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"153f7d71d87f4534b55bd7f484c582f267434b74","gitHead":"f9e11b95c21d54c827a8d9e4963423e8ded58e02","scripts":{"lint":"tslint src/**/* test/**/*","test":"npm run mocha","build":"rm -rf lib && tsc","clean":"rm -rf build/* && mkdir -p build","mocha":"mocha -r ts-node/register test/*.js","start":"npm run clean && cp src/index.html build && webpack-dev-server --config webpack.config.js --hot --inline","lint-fix":"tslint --fix src/**/* test/**/*","prepublish":"npm run build","preversion":"npm run lint && npm run test","release-version":"smooth-release"},"_npmUser":{"name":"francescocioria","email":"firefelix@gmail.com"},"repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"_npmVersion":"3.10.9","description":"Formo ~ another form state management for React","directories":{},"_nodeVersion":"6.9.2","dependencies":{"tcomb":"3.2.20","lodash":"4.6.1","revenge":"0.4.5","tcomb-react":"0.9.0"},"devDependencies":{"mocha":"^3.2.0","react":"^0.14 || ^15","sinon":"^2.1.0","enzyme":"2.7.0","expect":"^1.20.2","tslint":"5.2.0","ts-node":"^3.0.2","webpack":"1.12.14","node-sass":"3.13.0","react-dom":"^0.14 || ^15","classnames":"2.1.5","css-loader":"0.26.1","typescript":"^2.2.2","url-loader":"0.5.6","es6-promise":"3.2.1","file-loader":"0.8.1","json-loader":"0.5.1","sass-loader":"4.0.2","@types/react":"^15.0.22","@types/sinon":"^2.1.2","require-noop":"0.0.2","style-loader":"0.13.0","@types/lodash":"^4.14.62","jsondiffpatch":"0.1.33","rc-datepicker":"4.0.1","tslint-loader":"3.5.3","react-flexview":"1.0.6","smooth-release":"8.0.0","@types/react-dom":"^15.5.0","metarpheus-tcomb":"0.1.10","resolve-url-loader":"1.4.3","webpack-dev-server":"1.10.1","html-webpack-plugin":"1.5.2","react-test-renderer":"15.4.1","tslint-eslint-rules":"4.0.0","buildo-react-components":"0.10.0","react-addons-test-utils":"15.4.1","awesome-typescript-loader":"3.0.0-beta.17","compression-webpack-plugin":"0.3.0","extract-text-webpack-plugin":"1.0.1"},"peerDependencies":{"react":"^0.14 || ^15","react-dom":"^0.14 || ^15"},"_npmOperationalInternal":{"tmp":"tmp/react-formo-0.2.0.tgz_1495456629165_0.13141248817555606","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"react-formo","version":"0.2.1","author":"","license":"ISC","_id":"react-formo@0.2.1","maintainers":[{"name":"ecaml","email":"eric.camellini@gmail.com"},{"name":"giogonzo","email":"giovanni@buildo.io"},{"name":"veej","email":"vincenzo@buildo.io"},{"name":"dhinus","email":"francesconegri@gmail.com"},{"name":"ascariandrea","email":"andrea.ascari@buildo.io"},{"name":"francescogior","email":"francescogior@gmail.com"},{"name":"francescocioria","email":"firefelix@gmail.com"},{"name":"gabro","email":"we@buildo.io"}],"homepage":"https://github.com/buildo/formo#readme","bugs":{"url":"https://github.com/buildo/formo/issues"},"dist":{"shasum":"9cd1b457d0bf69a6e91a5564fa9dedb17ab7d043","tarball":"https://registry.npmjs.org/react-formo/-/react-formo-0.2.1.tgz","integrity":"sha512-M6VeMp/P/utvimxBTxsZb2d+7JcB3wOLxkSrsP/MpKGTljOZfEudeUeQSPH4VI2xudgZHHWcvqibGSyTL39ajQ==","signatures":[{"sig":"MEUCIQDbimL/rp3yfwBnfYIiTiwmKJ34ijsKlEMOLC2+qrOU+QIgSlIpJTX19Bd+ufAXdDpjOpVP9bnlboG4j/2DfwnJP/4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"9cd1b457d0bf69a6e91a5564fa9dedb17ab7d043","gitHead":"641c69862aa4e30b31adc92fdbdef16c7dd6025b","scripts":{"lint":"tslint src/**/* test/**/*","test":"npm run mocha","build":"rm -rf lib && tsc","clean":"rm -rf build/* && mkdir -p build","mocha":"mocha -r ts-node/register test/*.js","start":"npm run clean && cp src/index.html build && webpack-dev-server --config webpack.config.js --hot --inline","lint-fix":"tslint --fix src/**/* test/**/*","prepublish":"npm run build","preversion":"npm run lint && npm run test","release-version":"smooth-release"},"_npmUser":{"name":"francescogior","email":"francescogior@gmail.com"},"repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"_npmVersion":"3.10.3","description":"Formo ~ another form state management for React","directories":{},"_nodeVersion":"6.6.0","dependencies":{"tcomb":"3.2.20","lodash":"4.6.1","revenge":"0.4.5","tcomb-react":"0.9.0"},"devDependencies":{"mocha":"^3.2.0","react":"^0.14 || ^15","sinon":"^2.1.0","enzyme":"2.7.0","expect":"^1.20.2","tslint":"5.2.0","ts-node":"^3.0.2","webpack":"1.12.14","node-sass":"3.13.0","react-dom":"^0.14 || ^15","classnames":"2.1.5","css-loader":"0.26.1","typescript":"^2.2.2","url-loader":"0.5.6","es6-promise":"3.2.1","file-loader":"0.8.1","json-loader":"0.5.1","sass-loader":"4.0.2","@types/react":"^15.0.22","@types/sinon":"^2.1.2","require-noop":"0.0.2","style-loader":"0.13.0","@types/lodash":"^4.14.62","jsondiffpatch":"0.1.33","rc-datepicker":"4.0.1","tslint-loader":"3.5.3","react-flexview":"1.0.6","smooth-release":"8.0.0","@types/react-dom":"^15.5.0","metarpheus-tcomb":"0.1.10","resolve-url-loader":"1.4.3","webpack-dev-server":"1.10.1","html-webpack-plugin":"1.5.2","react-test-renderer":"15.4.1","tslint-eslint-rules":"4.0.0","buildo-react-components":"0.10.0","react-addons-test-utils":"15.4.1","awesome-typescript-loader":"3.0.0-beta.17","compression-webpack-plugin":"0.3.0","extract-text-webpack-plugin":"1.0.1"},"peerDependencies":{"react":"^0.14 || ^15","react-dom":"^0.14 || ^15"},"_npmOperationalInternal":{"tmp":"tmp/react-formo-0.2.1.tgz_1496220931205_0.07627779128961265","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-01-31T19:28:56.530Z","modified":"2024-07-09T08:16:28.738Z","0.0.2":"2017-01-31T19:28:56.530Z","0.0.3":"2017-02-01T10:56:16.178Z","0.1.0":"2017-02-15T10:26:47.389Z","0.1.1":"2017-02-15T11:41:52.223Z","0.1.2":"2017-02-16T13:22:58.553Z","0.1.3":"2017-02-16T16:46:54.252Z","0.1.4":"2017-04-03T16:41:12.746Z","0.2.0":"2017-05-22T12:37:10.190Z","0.2.1":"2017-05-31T08:55:31.291Z"},"bugs":{"url":"https://github.com/buildo/formo/issues"},"license":"ISC","homepage":"https://github.com/buildo/formo#readme","repository":{"url":"git+https://github.com/buildo/formo.git","type":"git"},"description":"Formo ~ another form state management for React","maintainers":[{"email":"dimartino.pedro@gmail.com","name":"pedrodim"},{"email":"marpi93@icloud.com","name":"marcopiii"},{"email":"gabriele@buildo.io","name":"gabro"},{"email":"vincenzo@buildo.io","name":"veej"},{"email":"giovanni@buildo.io","name":"giogonzo"},{"email":"tommaso.petrucciani@buildo.io","name":"tpetrucciani"},{"email":"zibo.camito@gmail.com","name":"malpenzibo"},{"email":"federico.ercoles@buildo.io","name":"federico.ercoles"}],"readme":"[![Build Status](https://drone.our.buildo.io/api/badges/buildo/formo/status.svg)](https://drone.our.buildo.io/buildo/formo)\n\n# formo\n\nForm state management\n\n## Usage (basic example)\n\n```jsx\nimport formo from 'formo'\n\nconst MyFormoComponent = formo(\n  class MyFC extends React.Component {\n    render() {\n      const {\n        email, password,\n        form: { isValid, isChanged }\n      } = this.props\n      const submitEnabled = isChanged && isValid\n\n      return (\n        <div>\n          <input\n            type='email'\n            value={email.value || ''}\n            onChange={e => email.update(e.target.value)}\n          />\n          {email.touched && email.validationErrors.map(error => (\n            <div className='error'>{error}</div>\n          )}\n          <input\n            type='password'\n            value={password.value || ''}\n            onChange={e => password.update(e.target.value)}\n          />\n          <input type='submit' value='submit' disabled={!submitEnabled} />\n        </div>\n      )\n    }\n  }\n)\n\nconst fields = {\n  email: {},\n  password: {}\n}\n\nconst validations = {\n  email: {\n    invalidEmail: v => validEmailRegex.test(v)\n  }\n}\n\nexport default class MyComponent {\n  render() {\n    return <MyFormoComponent fields={fields} validations={validations} />\n  }\n}\n\n```\n\n## Motivation and guiding principles\n\n- avoid repeating common tasks among different form, such as validation logic, computing \"dirtiness\" state, enabling submit button, showing errors only if X, etc.\n- it should be independent from rendering (not tied to a specific set of UI components)\n- it should be independent from the state management framework (not tied to redux, mobx, etc.)\n- it should be easy to use as-is, as a stateful component, and easy to integrate with any state management framework\n\n## API\n\n### Create a \"formo component\"\n\n```js\nimport formo from 'formo'\n\nclass MyComponent extends React.Component {\n  // ...\n}\n\nexport default formo(MyComponent)\n```\n\nFrom this component, you'll have access to the complete form state via props.\nThis includes current values, validity, and other useful meta info such as \"touched\", \"changed\", etc.\nSee a comprehensive list in the tables below.\n\n### configure a \"formo component\"\n\nA \"formo component\" can be configured through props with a set of fields and validations to apply.\n\n```jsx\nimport MyFormoComponent from './MyFormoComponent'\n\n  // ...\n\n  render() {\n    // `validations` and `onChange` are optional\n    return (\n      <MyFormoComponent\n        fields={fields}\n        validations={validations}\n        onChange={onChange}\n      />\n    )\n  }\n\n  // ...\n```\n\n#### `props` API\n\nname | required | type | description\n---|---|---|---\nfields | required | `dict(FieldName, Field)` | Configure form fields\nvalidations | | `dict(FieldNameOrForm, dict(validationName, Validations))` | Optionally configure form-level and field-level validations\nonChange | | `function<Value>` | Optionally provide an `onChange` callback, will be called with the new values after every change\n\n`FieldName`: a string representing a field, e.g. \"email\".\n\n`Field`: an object in the form:\n\n```js\n{\n  value: any,\n  initialValue: any,\n  active: ?boolean,\n  touched: ?boolean\n}\n\n```\n\n`FieldNameOrForm = FieldName | 'form'`: form-level validations are specified using the special string \"form\".\n\n`Validations`: a `dict(string, function)` with each function, returning a Boolean.\n\nEach function is called with two arguments (field `value` and all form `values`) if applied to a field, with a single value (all form `values`) if it is applied at form-level.\n\nIn other words, a validation function should be treated like a test that the field or the form should pass.\n\n`formo` will list the failed `validation` function names in the `validationErrors` array.\n\nValidity for single fields and for the global form is computed based on presence (absence) of these errors.\n\n#### `fields` example\n\n```js\nfields = {\n  email: {\n    value: cookie.email\n  },\n  password: {},\n  repeatPassword: {},\n  foo: {\n    initialValue: true\n  },\n  bar: {\n    initialValue: false\n  }\n}\n```\n\n#### `validations` example\n\n```js\nvalidations = {\n  password: {\n    minLength: value => value.length > 8,\n    numeric: value => value.test(/\\d/)\n  },\n  repeatPassword: {\n    passwordMatch: (repeatPassword, { password }) => repeatPassword === password\n  },\n  form: {\n    atLestOneFooOrBar: values => !value.foo && !value.bar\n  }\n}\n```\n\n### Use form values from a \"formo component\"\n\n#### Formo component props api\n\nA formo component receives via props:\n- form-level values and derived properties, via the `form` prop\n- for each field, field-level value and derived properties, via the `[field]` prop.\n\n#### Form-level props\n\ntype | name/usage | description\n---|---|---\n`function` | `form.clearValues()` | Sets every field value in the form to `field.initialValue || undefined`. The input below should be aware and handle `undefined` as controlled anyway.\n`function` | `form.touchAll()` | Sets every field as \"touched\". Useful if we have a validation UI rendering logic similar to `touched && errors && renderErrors()` and we want to force errors rendering after a certain event (e.g. user clicks on \"submit\")\n`boolean` | `form.isChanged` | Is any field changed?\n`boolean` | `form.isValid` | Is the form as a whole \"valid\" (no validation errors)?\n`list(string)` | `form.validationErrors` | validations failing\n\n#### Form-level prop usage example\n\n```jsx\n// ...\nrender() {\n  const submitEnabled = this.props.form.isValid && this.props.form.isChanged;\n  const errors = map(this.props.form.validations, err => <Error>{err}</Error>)\n  return (\n    // ...\n    {errors}\n    <input type='submit' value='Submit' disabled={!submitEnabled} />\n    // ...\n  )\n}\n// ...\n```\n\n#### Field-level props\n\ntype | name/usage | description\n---|---|---\n`any` | `[field].value` | Always `== value || initialValue || undefined`. The input below should be aware and handle `undefined` as controlled anyway\n`any` | `[field].initialValue` | `initialValue` provided in form config for the field, if any\n`function(any)` | `[field].update(newValue)` | Updates a field value. Typically passed to an input `onChange`\n`boolean` | `[field].active` | Whether the field is currently \"active\". It is guaranteed to be exclusive (a single field is active at any time. If multiple fields are marked as \"active\" in config, only the first one is considered active)\n`function` | `[field].setActive()` | Set the field as \"active\"\n`function` | `[field].unsetActive()` | Set the field as \"non active\". Also updates `touched` accordingly\n`boolean` | `[field].touched` | `true` if input has been `unsetActive()` in the past (typically after a blur, or, as always, if the field is configured as `touched=true` in config)\n`function` | `[field].clear()` | Set field `value` to `initialValue || undefined`\n`boolean` | `[field].isChanged` | `true` if input `value` is the same as `initialValue` (or \"adequately equal\")\n`list(string)` | `form.validationErrors` | validations failing\n`any` | `[field].[<any other key>]` | Any other field key provided in form config is just passed down\n`function(string, any)` | `[field].set('prop', value)` | Any other field key can be changed using `.set`\n\n#### Field-level prop usage example\n\n```jsx\n// ...\nrender() {\n  const email = this.props.email;\n  const className = cx({\n    active: email.active,\n    error: email.touched && !email.isValid\n  })\n  return (\n    <input\n      type='email'\n      value={email.value || ''}\n      className={className}\n      onFocus={email.setActive}\n      onBlur={email.unsetActive}\n      onChange={e => email.update(e.target.value)}\n    />\n  )\n}\n// ...\n```\n","readmeFilename":"README.md"}