{"id":15554144,"url":"https://github.com/tiaanduplessis/next-styled-nprogress","last_synced_at":"2025-08-08T01:42:26.570Z","repository":{"id":66077147,"uuid":"181238037","full_name":"tiaanduplessis/next-styled-nprogress","owner":"tiaanduplessis","description":"Add NProgress loader between pages in your Next.js App","archived":false,"fork":false,"pushed_at":"2019-10-25T15:00:03.000Z","size":238,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T19:51:29.940Z","etag":null,"topics":["next","nprogress","react","styled-components"],"latest_commit_sha":null,"homepage":null,"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/tiaanduplessis.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-04-13T23:12:50.000Z","updated_at":"2020-06-08T20:12:42.000Z","dependencies_parsed_at":"2023-02-20T17:46:04.795Z","dependency_job_id":null,"html_url":"https://github.com/tiaanduplessis/next-styled-nprogress","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.36363636363636365","last_synced_commit":"bcd32aa03b3bb2b40d8e1523a94863145ceab563"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tiaanduplessis/next-styled-nprogress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fnext-styled-nprogress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fnext-styled-nprogress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fnext-styled-nprogress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fnext-styled-nprogress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiaanduplessis","download_url":"https://codeload.github.com/tiaanduplessis/next-styled-nprogress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fnext-styled-nprogress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269352333,"owners_count":24402672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["next","nprogress","react","styled-components"],"created_at":"2024-10-02T14:44:13.680Z","updated_at":"2025-08-08T01:42:26.530Z","avatar_url":"https://github.com/tiaanduplessis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# next-styled-nprogress\n[![package version](https://img.shields.io/npm/v/next-styled-nprogress.svg?style=flat-square)](https://npmjs.org/package/next-styled-nprogress)\n[![package downloads](https://img.shields.io/npm/dm/next-styled-nprogress.svg?style=flat-square)](https://npmjs.org/package/next-styled-nprogress)\n[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n[![package license](https://img.shields.io/npm/l/next-styled-nprogress.svg?style=flat-square)](https://npmjs.org/package/next-styled-nprogress)\n[![make a pull request](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n\u003e Add NProgress loader between pages in your Next.js App\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [Contribute](#contribute)\n- [License](#License)\n\n## Install\n\nThis project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com). It requires [Next](https://nextjs.org), [React](https://reactjs.org), [nprogress](https://www.npmjs.com/package/nprogress) and [styled-components](https://www.styled-components.com) as peer dependencies,\n\n```sh\n$ npm install next-styled-nprogress\n$ # OR\n$ yarn add next-styled-nprogress\n```\n\n## Usage\n\nIn `_app.js`:\n\n```js\nimport PageNProgress from 'next-styled-nprogress'\n\nclass Example extends App {\n    // ...\n    render () {\n\n        return (\n        \u003cContainer\u003e\n            \u003cGlobalStyles /\u003e\n\n            \u003cPageNProgress\n                color='#F2A83B'\n                showSpinner={false}\n                height='5px'\n                delay={200}\n            /\u003e\n\n            \u003cComponent /\u003e\n        \u003c/Container\u003e\n        )\n    }\n}\n```\n\n`NProgress` can also now be used across site, as the styles are already included:\n\n```js\nimport React from 'react'\nimport NProgress from  'nprogress'\n\n\nconst Example = () =\u003e {\n\n    const handleClick = () =\u003e {\n        NProgress.start()\n\n        setTimeout(() =\u003e {\n            NProgress.done()\n        }, 1000)\n    }\n\n    return \u003cbutton type=\"button\" onClick={handleClick}\u003eClick me\u003c/button\u003e\n}\n```\n\n## Contribute\n\n1. Fork it and create your feature branch: `git checkout -b my-new-feature`\n2. Commit your changes: `git commit -am \"Add some feature\"`\n3. Push to the branch: `git push origin my-new-feature`\n4. Submit a pull request\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Fnext-styled-nprogress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiaanduplessis%2Fnext-styled-nprogress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Fnext-styled-nprogress/lists"}