{"id":18413401,"url":"https://github.com/amoradi/scintilla","last_synced_at":"2026-03-03T22:33:09.726Z","repository":{"id":38424628,"uuid":"210258876","full_name":"amoradi/scintilla","owner":"amoradi","description":"React sparklines 📈","archived":false,"fork":false,"pushed_at":"2023-01-07T04:21:27.000Z","size":7576,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T14:15:23.713Z","etag":null,"topics":["line-charts","plot","react","react-sparklines","react-sparklines-component","scintilla","svg"],"latest_commit_sha":null,"homepage":"https://amoradi.github.io/scintilla","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/amoradi.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}},"created_at":"2019-09-23T03:42:07.000Z","updated_at":"2023-01-31T15:59:29.000Z","dependencies_parsed_at":"2023-02-06T11:45:51.839Z","dependency_job_id":null,"html_url":"https://github.com/amoradi/scintilla","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amoradi/scintilla","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amoradi%2Fscintilla","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amoradi%2Fscintilla/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amoradi%2Fscintilla/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amoradi%2Fscintilla/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amoradi","download_url":"https://codeload.github.com/amoradi/scintilla/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amoradi%2Fscintilla/sbom","scorecard":{"id":190304,"data":{"date":"2025-08-11","repo":{"name":"github.com/amoradi/scintilla","commit":"01a9680c27265bb62c828a6f75b3a5b0d5910968"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/14 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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"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":"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":"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/amoradi/scintilla/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/amoradi/scintilla/node.js.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 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":"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":"Vulnerabilities","score":0,"reason":"57 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-93q8-gq69-wqmw","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-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","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-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-9v62-24cr-58cx","Warn: Project is vulnerable to: GHSA-r8f7-9pfq-mjmv","Warn: Project is vulnerable to: GHSA-x77j-w7wf-fjmw","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-7mwh-4pqv-wmr8","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-vfrc-7r7c-w9mx","Warn: Project is vulnerable to: GHSA-7wwv-vh3v-89cq","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-f82v-jwr5-mffw","Warn: Project is vulnerable to: GHSA-c59h-r6p8-q9wc","Warn: Project is vulnerable to: GHSA-g77x-44xx-532m","Warn: Project is vulnerable to: GHSA-7gfc-8cq8-jh5f","Warn: Project is vulnerable to: GHSA-qpjv-v59x-3qc4","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-wvhm-4hhf-97x9","Warn: Project is vulnerable to: GHSA-h4hr-7fg3-h35w","Warn: Project is vulnerable to: GHSA-gj77-59wh-66hg","Warn: Project is vulnerable to: GHSA-hqhp-5p83-hx96","Warn: Project is vulnerable to: GHSA-3949-f494-cm99","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg"],"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-16T20:32:32.268Z","repository_id":38424628,"created_at":"2025-08-16T20:32:32.268Z","updated_at":"2025-08-16T20:32:32.268Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30064365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["line-charts","plot","react","react-sparklines","react-sparklines-component","scintilla","svg"],"created_at":"2024-11-06T03:46:02.377Z","updated_at":"2026-03-03T22:33:09.703Z","avatar_url":"https://github.com/amoradi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scintilla → react sparklines\n\n![sparklines](./scintilla-sparklines.png)\n\n[![Node.js CI](https://github.com/amoradi/scintilla/actions/workflows/node.js.yml/badge.svg)](https://github.com/amoradi/scintilla/actions/workflows/node.js.yml)\n\n---\n\n## Demo\n\nSee: https://amoradi.github.io/scintilla\n\nDonate:\n- BTC: `bc1qejny2ddag2phmyndq78hq2uxuxkh38t5v4k9mt`\n- ETH: `0x16cC9a598a3817F32c5B794C9391B14Ff93bd87e`\n\n## Install\n\nhttps://www.npmjs.com/package/scintilla\n\n```bash\n$ yarn add scintilla\n$ or\n$ npm install scintilla --save\n```\n\n## Quick Start\n\n```jsx\nimport React from \"react\";\nimport { Frame, Line } from \"scintilla\";\n\nconst RedLine = () =\u003e (\n  {/* wrap sparkline in a container to constrain width */}\n  \u003cdiv style={{ width: '100px' }}\u003e\n    \u003cFrame\u003e\n      \u003cLine\n        data={[40, 50, 60, 70]}\n        stroke={{\n          color: { solid: [255, 0, 0, 1] },\n          width: 2,\n          style: \"solid\"\n        }}\n      /\u003e\n    \u003c/Frame\u003e\n  \u003cdiv\u003e\n);\n```\n\n## Features\n\n- composeable: mix and match as many `Line`'s within a single `Frame`\n- `SVG`-based\n- flexible intra-data color options\n- fluid width. Wrap `Frame` in your own container to constrain width.\n\n## API\n\nSee: https://amoradi.github.io/scintilla/documentation\n\n**Types**\n\n```ts\ntype Color = {\n  gradient?: RGBA | RGBA[];\n  solid?: RGBA | RGBA[];\n};\n```\n\n```ts\ntype RGBA = [0-255, 0-255, 0-255, 0-1]\n```\n\n```ts\ntype Stroke = {\n  width: number;\n  style: \"dash\" | \"solid\";\n  color: Color;\n};\n```\n\n**Components**\n\n### `\u003cFrame /\u003e`\n\nResponsive container for all `data`-needy child components. Wrap `Frame` in your own container to constrain width.\n\n- **`height?: number`**\n  Optionally specify height in pixels. Defaults to `50px`.\n\n- **`yRange?: [min\u003cnumber\u003e, max\u003cnumber\u003e]`**\n  Optionally plot `children` components with this y axis constraint.\n\n**Example**\n\n```jsx\n\u003cdiv style={{ width: \"100px\" }}\u003e\n  \u003cFrame height={100} yRange={[0, 500]}\u003e\n    \u003cLine /\u003e\n  \u003c/Frame\u003e\n\u003c/div\u003e\n```\n\n---\n\n### `\u003cLine /\u003e`\n\nPlot your series data as a line. Style line with `stroke`, `fill` or both.\n\n- **`data: number[]`**\n  The list of `y` data to plot.\n\n- **`stroke?: Stroke`**\n  Set `width` in pixels, `style` as `'dash'` or `'solid'` and color option.\n\n- **`fill?: Color`**\n  Solid or gradient fill, with one or many colors. Fills area from data line to bottom axis.\n\n**Example**\n\n```jsx\n\u003cdiv style={{ width: \"100px\" }}\u003e\n  \u003cFrame\u003e\n    \u003cLine\n      data={[-1, 2, 6, 9, 11, 21]}\n      stroke={{\n        width: 1,\n        style: \"dash\",\n        color: {\n          solid: [\n            [255, 0, 0, 0.25],\n            [255, 0, 0, 0.5],\n            [255, 0, 0, 0.1]\n          ]\n        }\n      }}\n      fill={{\n        gradient: [\n          [255, 0, 0, 0.1],\n          [255, 0, 0, 1]\n        ]\n      }}\n    /\u003e\n  \u003c/Frame\u003e\n\u003c/div\u003e\n```\n\n---\n\n### `\u003cMarker /\u003e`\n\nCircular marker positioned at `data[index]`. Make as many as you like.\n\n- **`data: number[]`**\n  The list of `y` data `Marker` will render from.\n\n- **`color?: RGBA`**\n  The rgba fill color. Defaults to red.\n\n- **`index?: number`**\n  position marker at `data[index]`. If ommited, defaults to last index.\n\n- **`size?: number\u003c1-10\u003e`**\n  Diameter of `Marker` circle in pixels. Defaults to `4px`.\n\n**Example**\n\n```jsx\n\u003cdiv style={{ width: \"100px\" }}\u003e\n  \u003cFrame\u003e\n    \u003cLine\n      data={[-1, 2, 6, 9, 11, 21]}\n      fill={{\n        gradient: [\n          [255, 0, 0, 0.1],\n          [255, 0, 0, 1]\n        ]\n      }}\n    /\u003e\n    {/* 2 red markers, at 5th and last index */}\n    \u003cMarker\n      data={[-1, 2, 6, 9, 11, 21]}\n      color={[255, 0, 0, 1]}\n      size={5}\n      index={5}\n    /\u003e\n    \u003cMarker data={[-1, 2, 6, 9, 11, 21]} color={[255, 0, 0, 1]} size={5} /\u003e\n  \u003c/Frame\u003e\n\u003c/div\u003e\n```\n\n## Examples\n\nSee: https://amoradi.github.io/scintilla\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famoradi%2Fscintilla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famoradi%2Fscintilla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famoradi%2Fscintilla/lists"}