{"analyzedAt":"2022-06-26T07:28:07.611Z","collected":{"metadata":{"name":"react-native-yaml-styles","scope":"unscoped","version":"1.0.0","description":"Stylesheets in YAML for React Native","keywords":["react-native","yaml","yml","style","styles","stylesheet"],"date":"2016-01-23T23:35:44.727Z","author":{"name":"Johannes Stein"},"publisher":{"username":"stoney","email":"johannesstein@freeze-dev.com"},"maintainers":[{"username":"stoney","email":"johannesstein@freeze-dev.com"}],"repository":{"type":"git","url":"git+https://github.com/frostney/react-native-yaml-styles.git"},"links":{"npm":"https://www.npmjs.com/package/react-native-yaml-styles","homepage":"https://github.com/frostney/react-native-yaml-styles#readme","repository":"https://github.com/frostney/react-native-yaml-styles","bugs":"https://github.com/frostney/react-native-yaml-styles/issues"},"license":"MIT","dependencies":{"buffer":"^4.3.0","change-case-object":"^2.0.0","js-yaml":"^3.4.6"},"devDependencies":{"eslint":"^1.10.3","eslint-config-airbnb":"^4.0.0"},"releases":[{"from":"2022-05-27T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2022-03-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2021-12-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2021-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2020-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0}],"hasTestScript":true,"readme":"# react-native-yaml-styles\nIf you prefer YAML over JSON/JavaScript styles in your React Native projects\n\n## Installation\n```\n$ npm install react-native-yaml-styles --save\n```\n\n## Usage\n```javascript\nvar styles = YAMLStyleSheet.create(`\n  welcome:\n    font-size: 20\n`);\n```\n\n## But... why?\nI was talking with @pichfl about how much better YAML is than JSON over an `.eslintrc` file at a [Web & Wine meetup](http://www.meetup.com/web-and-wine/). I made a snarky remark about maybe using YAML for styles instead of CSS or other options and well... here we are.\n\n## But... seriously... why?\n- React components are getting bigger and bigger, we want everything to be concise but only split it up if necessarily needed. So with a YAML-based stylesheet, we're getting rid of all the pesky braces we're saving about 30% of lines in total\n- Every JSON can be described as YAML\n- It's super-similar to [SASS](http://sass-lang.com/documentation/file.INDENTED_SYNTAX.html) actually\n- It's a bit of a middle ground between completely using a CSS preprocessor and having JSON-flavored styles right beside your component\n\n## Code style\nAirBnB ES5\n\n## License\nMIT"},"npm":{"downloads":[{"from":"2022-06-25T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":1},{"from":"2022-06-19T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":6},{"from":"2022-05-27T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":17},{"from":"2022-03-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":52},{"from":"2021-12-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":81},{"from":"2021-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":197}],"starsCount":0},"github":{"starsCount":17,"forksCount":1,"subscribersCount":2,"issues":{"count":0,"openCount":0,"distribution":{"3600":0,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":0,"212576400":0},"isDisabled":false},"contributors":[{"username":"frostney","commitsCount":20}],"commits":[{"from":"2022-06-19T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2022-05-27T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2022-03-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2021-12-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2021-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0}]},"source":{"files":{"readmeSize":1148,"testsSize":0},"linters":["eslint"],"outdatedDependencies":{"js-yaml":{"required":"^3.4.6","stable":"4.1.0","latest":"4.1.0"},"buffer":{"required":"^4.3.0","stable":"6.0.3","latest":"6.0.3"}}}},"evaluation":{"quality":{"carefulness":0.84,"tests":0,"health":0.5,"branding":0},"popularity":{"communityInterest":21,"downloadsCount":17.333333333333332,"downloadsAcceleration":-0.015696347031963473,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":0.9,"issuesDistribution":0.9}},"score":{"final":0.5100342424078055,"detail":{"quality":0.4706113509442165,"popularity":0.05397870068387605,"maintenance":0.9998808339576686}}}