{"id":28099117,"url":"https://github.com/stadgent/npm_package_opening-hours-widget","last_synced_at":"2025-05-13T17:59:32.843Z","repository":{"id":33594686,"uuid":"159291895","full_name":"StadGent/npm_package_opening-hours-widget","owner":"StadGent","description":"NPM package for openinghours API","archived":false,"fork":false,"pushed_at":"2023-07-20T14:57:03.000Z","size":393,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-04-18T22:51:22.979Z","etag":null,"topics":["d09check22","javascript","web"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StadGent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-27T07:12:38.000Z","updated_at":"2023-11-30T15:45:55.000Z","dependencies_parsed_at":"2023-01-15T01:34:22.756Z","dependency_job_id":null,"html_url":"https://github.com/StadGent/npm_package_opening-hours-widget","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StadGent%2Fnpm_package_opening-hours-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StadGent%2Fnpm_package_opening-hours-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StadGent%2Fnpm_package_opening-hours-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StadGent%2Fnpm_package_opening-hours-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StadGent","download_url":"https://codeload.github.com/StadGent/npm_package_opening-hours-widget/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000293,"owners_count":21997425,"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","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":["d09check22","javascript","web"],"created_at":"2025-05-13T17:59:29.497Z","updated_at":"2025-05-13T17:59:32.804Z","avatar_url":"https://github.com/StadGent.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Opening Hours Widget\n\nThis library serves as a wrapper for the\n[openingsuren.gent.be](https://openingsuren.gent.be) API.\n\n## Installation\n\nInstall the dependencies:\n\n```bash\nnpm install @digipolis-gent/opening-hours-widget\n``` \n\n## Usage\n\n### CommonJS\n\n```javascript\nconst OpeningHoursWidget = require('@digipolis-gent/opening-hours-widget').default;\n\nlet ohw = new OpeningHoursWidget(options);\n```\n\n### ES Imports\n\n```javascript\nimport OpeningHoursWidget from '@digipolis-gent/opening-hours-widget';\n\nlet ohw = new OpeningHoursWidget(options);\n```\n\n### Browser\n\n**HTML**:\n\n```html\n\u003cscript src=\"node_modules/@digipolis-gent/opening-hours-widget/dist/opening-hours-widget.js\"\u003e\u003c/script\u003e\n```\n\n**JS**:\n\n```js\nlet ohw = new OpeningHoursWidget(options);\n```\n\n## Development\n\n### Setup\n\nIf you'd like to make adjustments to the source code, you can set up this\nproject locally. \n\nTo clone the repo and install dependencies:\n\n```bash\n$ git clone git@github.com:StadGent/npm_package_opening-hours-widget.git\n$ cd npm_package_opening-hours-widget\n$ npm install\n```\n\n### Watch\n\nThis will run tests on files every time a change is saved.\n\n```shell\n$ npm start\n```\n\n### Test\n\nWe use [Jest](https://jestjs.io/) for testing.\n\n```shell\n$ npm test\n```\n\nwill run all tests.\n\n## Built With\n\n- [EcmaScript 2017](https://www.ecma-international.org/ecma-262/8.0/index.html)\n  : The programming language used\n- [Babel](https://babeljs.io/) : JavaScript Transpiler\n- [NPM](https://www.npmjs.com/) : Dependency Management\n\n\n## Contributing\n\nThanks for your interest in contributing! [Get started here](.github/CONTRIBUTING.md).\n\n## Authors\n\n- Helena Standaert - *Initial work* - [GitHub](https://github.com/hstandaert)\n- Bart Delrue - *Contribution* - [GitHub](https://github.com/delrueba)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstadgent%2Fnpm_package_opening-hours-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstadgent%2Fnpm_package_opening-hours-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstadgent%2Fnpm_package_opening-hours-widget/lists"}