{"analyzedAt":"2022-06-29T01:19:19.333Z","collected":{"metadata":{"name":"reforml","scope":"unscoped","version":"0.4.0","description":"react form defined by yaml","date":"2020-11-18T14:59:05.486Z","author":{"name":"dipsywong98"},"publisher":{"username":"dipsywong98","email":"ycwongal@connect.ust.hk"},"maintainers":[{"username":"dipsywong98","email":"ycwongal@connect.ust.hk"}],"repository":{"type":"git","url":"git+https://github.com/dipsywong98/reforml.git"},"links":{"npm":"https://www.npmjs.com/package/reforml","homepage":"https://github.com/dipsywong98/reforml#readme","repository":"https://github.com/dipsywong98/reforml","bugs":"https://github.com/dipsywong98/reforml/issues"},"license":"MIT","dependencies":{"get-value":"^3.0.1"},"devDependencies":{"@babel/plugin-proposal-nullish-coalescing-operator":"^7.10.4","@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^10.4.4","@testing-library/react-hooks":"^3.3.0","@testing-library/user-event":"^7.2.1","@types/get-value":"^3.0.1","@types/jest":"^25.1.4","@types/node":"^12.12.38","@types/react":"^16.9.27","@types/react-dom":"^16.9.7","@typescript-eslint/eslint-plugin":"3","@typescript-eslint/parser":"^2.26.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-config-standard-react":"^9.2.0","eslint-config-standard-with-typescript":"^18.0.2","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.3","eslint-plugin-standard":"^4.0.1","microbundle-crl":"^0.13.10","node-sass":"^4.14.1","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1","react-test-renderer":"^16.13.1","sass-lint":"^1.13.1","typescript":"^3.9.5"},"peerDependencies":{"react":"^16.0.0"},"releases":[{"from":"2022-05-30T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2022-03-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":1},{"from":"2021-12-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":1},{"from":"2021-06-29T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":1},{"from":"2020-06-29T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":9}],"hasTestScript":true,"hasSelectiveFiles":true,"readme":"# reforml\r\n\r\n> react form defined by yaml\r\n\r\n[![NPM](https://img.shields.io/npm/v/reforml.svg)](https://www.npmjs.com/package/reforml) \r\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\r\n![size](https://img.shields.io/bundlephobia/minzip/reforml)\r\n![gh-action](https://img.shields.io/github/workflow/status/dipsywong98/reforml/test)\r\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/7ff5651226774b5aa0efa6e76aca29e7)](https://www.codacy.com/manual/dipsywong98/reforml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=dipsywong98/reforml&amp;utm_campaign=Badge_Grade)\r\n![coverage](https://img.shields.io/codecov/c/github/dipsywong98/reforml)\r\n![dependencies](https://img.shields.io/david/dipsywong98/reforml)\r\n\r\n## Install\r\n\r\n```bash\r\nnpm i reforml\r\n```\r\n\r\n## Usage\r\n\r\n[https://dipsywong98.github.io/reforml/](https://dipsywong98.github.io/reforml/)\r\n\r\n```jsx\r\nimport {BaseForm} from 'reforml'\r\nimport React, {useState, useMemo} from 'react'\r\n\r\nexport default () => {\r\n  const [value, setValue] = useState({})\r\n  const fields = useMemo(() => ({\r\n    myField: {\r\n      type: 'text',\r\n      label: 'my field'\r\n    }\r\n  }), [])\r\n  return (\r\n    <BaseForm fields={fields} value={value} onChange={setValue}/>\r\n  )\r\n}\r\n```\r\n\r\n## Development\r\n\r\n```shell script\r\nyarn # install dependencies to all packages\r\nyarn start # start the build watcher for reforml\r\nyarn example # start the example\r\nyarn docs # start the development server of documentation\r\n```\r\n\r\n## License\r\n\r\nMIT © [dipsywong98](https://github.com/dipsywong98)"},"npm":{"downloads":[{"from":"2022-06-28T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2022-06-22T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":2},{"from":"2022-05-30T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":4},{"from":"2022-03-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":72},{"from":"2021-12-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":151},{"from":"2021-06-29T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":312}],"starsCount":0},"github":{"homepage":"https://dipsywong98.github.io/reforml/","starsCount":3,"forksCount":0,"subscribersCount":1,"issues":{"count":4,"openCount":0,"distribution":{"3600":1,"10800":0,"32400":0,"97200":2,"291600":1,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":0,"212576400":0},"isDisabled":false},"contributors":[{"username":"dipsywong98","commitsCount":66}],"commits":[{"from":"2022-06-22T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2022-05-30T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2022-03-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2021-12-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2021-06-29T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0}],"statuses":[{"context":"codecov/patch","state":"failure"},{"context":"codecov/project","state":"success"}]},"source":{"files":{"readmeSize":1558,"testsSize":50037},"badges":[{"urls":{"original":"https://img.shields.io/npm/v/reforml.svg","shields":"https://img.shields.io/npm/v/reforml.svg","content":"https://img.shields.io/npm/v/reforml.json"},"info":{"service":"npm","type":"version","modifiers":{"type":"v"}}}],"linters":["eslint","prettier","editorconfig"],"coverage":0.79}},"evaluation":{"quality":{"carefulness":0.45999999999999996,"tests":0.8434999999999999,"health":1,"branding":0.15},"popularity":{"communityInterest":5,"downloadsCount":24,"downloadsAcceleration":-0.18434170471841707,"dependentsCount":0},"maintenance":{"releasesFrequency":0.3852739726027397,"commitsFrequency":0,"openIssues":1,"issuesDistribution":1}},"score":{"final":0.565645384098677,"detail":{"quality":0.8721873092579931,"popularity":0.03574419852412158,"maintenance":0.8327963481081047}}}