{"id":15313910,"url":"https://github.com/itsdouges/react-library-boilerplate","last_synced_at":"2026-04-17T18:01:30.972Z","repository":{"id":71499355,"uuid":"87985862","full_name":"itsdouges/react-library-boilerplate","owner":"itsdouges","description":"🚂🍽 for js libraries I make. nyc, codecov, travis.","archived":false,"fork":false,"pushed_at":"2017-10-03T09:17:32.000Z","size":138,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T13:26:09.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsdouges.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-11T22:43:59.000Z","updated_at":"2017-04-18T12:09:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"aed25601-cccc-4ef8-a613-4fa71e15fee6","html_url":"https://github.com/itsdouges/react-library-boilerplate","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"7cbdc363c0d31ffe37a175baa561236826bb0019"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsdouges/react-library-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdouges%2Freact-library-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdouges%2Freact-library-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdouges%2Freact-library-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdouges%2Freact-library-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsdouges","download_url":"https://codeload.github.com/itsdouges/react-library-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdouges%2Freact-library-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31939788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T08:43:39.656Z","updated_at":"2026-04-17T18:01:30.925Z","avatar_url":"https://github.com/itsdouges.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [react-library-boilerplate](https://github.com/madou/react-library-boilerplate)\n\n[![NPM version](http://img.shields.io/npm/v/react-library-boilerplate.svg?style=flat-square)](https://www.npmjs.com/package/react-library-boilerplate)\n[![NPM downloads](http://img.shields.io/npm/dm/react-library-boilerplate.svg?style=flat-square)](https://www.npmjs.com/package/react-library-boilerplate)\n[![Build Status](http://img.shields.io/travis/madou/react-library-boilerplate/master.svg?style=flat-square)](https://travis-ci.org/madou/react-library-boilerplate)\n[![codecov](https://codecov.io/gh/madou/react-library-boilerplate/branch/master/graph/badge.svg)](https://codecov.io/gh/madou/react-library-boilerplate)\n[![Dependency Status](http://img.shields.io/david/madou/react-library-boilerplate.svg?style=flat-square)](https://david-dm.org/madou/react-library-boilerplate)\n\nQuick description of what it does!\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/madou/react-library-boilerplate/blob/master/example.gif?raw=true\" style=\"margin:0 auto\" /\u003e\n\u003c/p\u003e\n\n## Installation\n\n```sh\nnpm install react-library-boilerplate\n```\n\n## Usage\n\n```javascript\nimport 'react-library-boilerplate/styles.css';\nimport ReactStickyHeader from 'react-library-boilerplate';\nimport ReactDOM from 'react-dom';\n\nReactDOM.render(\n  \u003cReactStickyHeader\n    // This will be the sticky strip.\n    header={\n      \u003cdiv className={cx('Header_root', { sticky })}\u003e\n        \u003ch1 className=\"Header_title\"\u003eReactStickyHeader\u003c/h1\u003e\n\n        \u003cul className=\"Header_links\"\u003e\n          \u003cli className=\"Header_link\"\u003eWhen\u003c/li\u003e\n          \u003cli className=\"Header_link\"\u003eWhy\u003c/li\u003e\n          \u003cli className=\"Header_link\"\u003eAbout\u003c/li\u003e\n        \u003c/ul\u003e\n      \u003c/div\u003e\n    }\n  \u003e\n    \u003csection\u003e\n      // More header stuff here, this won't be sticky.\n    \u003c/section\u003e\n  \u003c/ReactStickyHeader\u003e,\n  document.getElementById('container')\n);\n```\n\n| prop | type | required |\n|-|-|-|\n| children | Children  | no |\n| header | Children | yes |\n| backgroundImage | string | no |\n| backgroundColor | string | no |\n| headerOnly | boolean | no |\n| onSticky | (boolean) =\u003e void | no |\n| className | string | no |\n\n### React Story Book\n\nTo run the component in various modes, run the following command then go to `http://localhost:6006/`.\n\n```bash\nnpm start\n```\n\n### Testing\n\n```bash\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdouges%2Freact-library-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsdouges%2Freact-library-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdouges%2Freact-library-boilerplate/lists"}