{"id":21912227,"url":"https://github.com/fouad/fireworks","last_synced_at":"2025-09-20T07:52:45.822Z","repository":{"id":14576081,"uuid":"193581262","full_name":"fouad/fireworks","owner":"fouad","description":"Simple, zero-dependency library for rendering fireworks in JavaScript and React","archived":false,"fork":false,"pushed_at":"2023-03-05T19:41:58.000Z","size":1915,"stargazers_count":52,"open_issues_count":9,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-13T11:41:15.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/fireworks","language":"TypeScript","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/fouad.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-24T21:11:11.000Z","updated_at":"2025-04-23T02:30:53.000Z","dependencies_parsed_at":"2024-06-20T00:10:58.497Z","dependency_job_id":"da07490d-3128-43cf-952b-35d133497e21","html_url":"https://github.com/fouad/fireworks","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":0.07692307692307687,"last_synced_commit":"e5c5ce667246efbcaeacf39acda1e3ac6f815079"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fouad/fireworks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fouad%2Ffireworks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fouad%2Ffireworks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fouad%2Ffireworks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fouad%2Ffireworks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fouad","download_url":"https://codeload.github.com/fouad/fireworks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fouad%2Ffireworks/sbom","scorecard":{"id":407789,"data":{"date":"2025-08-11","repo":{"name":"github.com/fouad/fireworks","commit":"e5c5ce667246efbcaeacf39acda1e3ac6f815079"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/13 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"63 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-whgm-jr23-g3j9","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-xq7p-g2vc-g82p","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-vfrc-7r7c-w9mx","Warn: Project is vulnerable to: GHSA-7wwv-vh3v-89cq","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr","Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5","Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp","Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq","Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr","Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765","Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T21:50:08.359Z","repository_id":14576081,"created_at":"2025-08-18T21:50:08.360Z","updated_at":"2025-08-18T21:50:08.360Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275766334,"owners_count":25524720,"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-09-18T02:00:09.552Z","response_time":77,"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":[],"created_at":"2024-11-28T18:09:04.884Z","updated_at":"2025-09-20T07:52:45.782Z","avatar_url":"https://github.com/fouad.png","language":"TypeScript","readme":"![Demo GIF of fireworks being rendered](./test/images/fireworks.gif)\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003e\u003ccode\u003e🎆 fireworks\u003c/code\u003e\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Simple, zero-dependency library for\u003cbr/\u003e\n  rendering fireworks in JavaScript and React\n\u003c/p\u003e\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://unpkg.com/fireworks@^2.2.7/lib/fireworks.js\"\u003e\u003cimg src=\"https://img.badgesize.io/https://unpkg.com/fireworks@^2.2.7/lib/fireworks.js?compression=gzip\u0026amp;label=fireworks\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/fireworks\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/fireworks.svg?maxAge=3600\u0026label=fireworks\u0026colorB=007ec6\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n```typescript\nimport fx from 'fireworks'\n\nfx({\n  x: number // required\n  y: number // required\n\n  // optional\n  count?: number\n  colors?: string[]\n  canvasWidth?: number\n  canvasHeight?: number\n  canvasTopOffset?: number\n  canvasLeftOffset?: number\n  bubbleSizeMinimum?: number\n  bubbleSizeMaximum?: number\n  bubbleSpeedMinimum?: number\n  bubbleSpeedMaximum?: number\n  particleTimeout?: number\n  parentNode?: HTMLElement\n})\n```\n\n## Installation\n\nInstall with npm:\n\n```\n$ npm install fireworks --save\n```\n\nOr with yarn:\n\n```\n$ yarn add fireworks\n```\n\n### Usage\n\nEach time you call the `fireworks()` function, a canvas gets rendered with fireworks at position `(x,y)` like this:\n\n```javascript\nconst fireworks = require('fireworks')\n\nfireworks({\n  x: window.innerWidth / 2,\n  y: window.innerHeight / 2,\n  colors: ['#cc3333', '#4CAF50', '#81C784']\n})\n```\n\nIf you want render multiple, you can loop through randomly:\n\n```javascript\nimport fx from 'fireworks'\n\nlet range = n =\u003e [...new Array(n)]\n\nrange(6).map(() =\u003e\n  fx({\n    x: Math.random(window.innerWidth / 2) + window.innerWidth / 4,\n    y: Math.random(window.innerWidth / 2) + window.innerWidth / 4,\n    colors: ['#cc3333', '#4CAF50', '#81C784']\n  })\n)\n```\n\nFor React apps, you can optionally use the component:\n\n```javascript\n// You need to install React/React-DOM\nimport { Fireworks } from 'fireworks/lib/react'\n\nfunction App() {\n  let fxProps = {\n    count: 3,\n    interval: 200,\n    colors: ['#cc3333', '#4CAF50', '#81C784'],\n    calc: (props, i) =\u003e ({\n      ...props,\n      x: (i + 1) * (window.innerWidth / 3) - (i + 1) * 100,\n      y: 200 + Math.random() * 100 - 50 + (i === 2 ? -80 : 0)\n    })\n  }\n\n  return (\n    \u003cdiv\u003e\n      \u003cFireworks {...fxProps} /\u003e\n      \u003ch1\u003eCongrats!\u003c/h1\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\n#### NodeConf Fireworks\n\nLooking for Eran Hammer's fireworks from NodeConf? Check out https://github.com/hueniverse/fireworks\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffouad%2Ffireworks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffouad%2Ffireworks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffouad%2Ffireworks/lists"}