{"id":19684740,"url":"https://github.com/rashidmakki/process-control-charts-es6","last_synced_at":"2026-05-15T19:33:19.785Z","repository":{"id":57330841,"uuid":"366095439","full_name":"rashidmakki/process-control-charts-es6","owner":"rashidmakki","description":"methods to solve p-chart, np-chart, c-chart, u-charts using javascript ES6 syntax","archived":false,"fork":false,"pushed_at":"2021-05-29T13:02:06.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-20T19:24:44.889Z","etag":null,"topics":["c-chart","np-chart","p-chart","process-control-chart","process-control-charts","statistical-quality-control","u-chart"],"latest_commit_sha":null,"homepage":"https://rashidmakki.github.io/process-control-charts-example/","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/rashidmakki.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}},"created_at":"2021-05-10T15:45:44.000Z","updated_at":"2024-06-22T08:23:00.000Z","dependencies_parsed_at":"2022-09-21T02:32:20.910Z","dependency_job_id":null,"html_url":"https://github.com/rashidmakki/process-control-charts-es6","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rashidmakki/process-control-charts-es6","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rashidmakki%2Fprocess-control-charts-es6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rashidmakki%2Fprocess-control-charts-es6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rashidmakki%2Fprocess-control-charts-es6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rashidmakki%2Fprocess-control-charts-es6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rashidmakki","download_url":"https://codeload.github.com/rashidmakki/process-control-charts-es6/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rashidmakki%2Fprocess-control-charts-es6/sbom","scorecard":{"id":762359,"data":{"date":"2025-08-11","repo":{"name":"github.com/rashidmakki/process-control-charts-es6","commit":"ea33dcfc1895e529b360963c1986545fcd4b1f1b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"Code-Review","score":0,"reason":"Found 0/6 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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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"}}]},"last_synced_at":"2025-08-22T23:47:20.672Z","repository_id":57330841,"created_at":"2025-08-22T23:47:20.672Z","updated_at":"2025-08-22T23:47:20.672Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33076207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"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":["c-chart","np-chart","p-chart","process-control-chart","process-control-charts","statistical-quality-control","u-chart"],"created_at":"2024-11-11T18:18:51.186Z","updated_at":"2026-05-15T19:33:19.769Z","avatar_url":"https://github.com/rashidmakki.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Process Control Charts\nprocess-control-chart is npm package which provides fast methods to solve p-chart, np-chart, c-chart, u-chart.\n\n## Getting Started\n* [Live Demo](https://rashidmakki.github.io/process-control-charts-example/)\n* [Example](https://github.com/rashidmakki/process-control-charts-example)\n\n### Install process-control-charts package\n\n```\nnpm install process-control-charts-es6\n```\n\nor\n\n```\nyarn add process-control-charts-es6\n```\n## Example\n\n```js\n// index.js\nimport {pChart} from \"process-control-charts-es6\";\n\nlet data = [12,15,8, 10, 4, 7, 16, 9, 14, 10, 5, 6, 17, 12, 22 ,8,10, 5 , 13, 11, 20, 18, 24, 15, 9, 12, 7, 13, 9, 6];\nlet details = pChart(data, 50);\nconsole.log(details);\n\n/* \nx --\u003e Sample number\ny --\u003e Sample fraction nonconforming\n*/\n\n```\n\n### Run\n```\nnpm start\n```\n\n### Output\n```\n\n{\n  lcl: 0,\n  cl: 0.074,\n  ucl: 0.1850599837925434,\n  samplesOutOfControl: 0,\n  sampleData: [\n    { x: 1, y: 0.04 },  { x: 2, y: 0.06 },\n    { x: 3, y: 0.16 },  { x: 4, y: 0.02 },\n    { x: 5, y: 0.02 },  { x: 6, y: 0.08 },\n    { x: 7, y: 0.02 },  { x: 8, y: 0.08 },\n    { x: 9, y: 0.1 },   { x: 10, y: 0.02 },\n    { x: 11, y: 0.16 }, { x: 12, y: 0.04 },\n    { x: 13, y: 0.08 }, { x: 14, y: 0.06 },\n    { x: 15, y: 0.08 }, { x: 16, y: 0.02 },\n    { x: 17, y: 0.16 }, { x: 18, y: 0.06 },\n    { x: 19, y: 0.14 }, { x: 20, y: 0.08 }\n  ],\n  lclPlot: [\n    { x: 1, y: 0 },  { x: 2, y: 0 },\n    { x: 3, y: 0 },  { x: 4, y: 0 },\n    { x: 5, y: 0 },  { x: 6, y: 0 },\n    { x: 7, y: 0 },  { x: 8, y: 0 },\n    { x: 9, y: 0 },  { x: 10, y: 0 },\n    { x: 11, y: 0 }, { x: 12, y: 0 },\n    { x: 13, y: 0 }, { x: 14, y: 0 },\n    { x: 15, y: 0 }, { x: 16, y: 0 },\n    { x: 17, y: 0 }, { x: 18, y: 0 },\n    { x: 19, y: 0 }, { x: 20, y: 0 }\n  ],\n  clPlot: [\n    { x: 1, y: 0.074 },  { x: 2, y: 0.074 },\n    { x: 3, y: 0.074 },  { x: 4, y: 0.074 },\n    { x: 5, y: 0.074 },  { x: 6, y: 0.074 },\n    { x: 7, y: 0.074 },  { x: 8, y: 0.074 },\n    { x: 9, y: 0.074 },  { x: 10, y: 0.074 },\n    { x: 11, y: 0.074 }, { x: 12, y: 0.074 },\n    { x: 13, y: 0.074 }, { x: 14, y: 0.074 },\n    { x: 15, y: 0.074 }, { x: 16, y: 0.074 },\n    { x: 17, y: 0.074 }, { x: 18, y: 0.074 },\n    { x: 19, y: 0.074 }, { x: 20, y: 0.074 }\n  ],\n  uclPlot: [\n    { x: 1, y: 0.1850599837925434 },\n    { x: 2, y: 0.1850599837925434 },\n    { x: 3, y: 0.1850599837925434 },\n    { x: 4, y: 0.1850599837925434 },\n    { x: 5, y: 0.1850599837925434 },\n    { x: 6, y: 0.1850599837925434 },\n    { x: 7, y: 0.1850599837925434 },\n    { x: 8, y: 0.1850599837925434 },\n    { x: 9, y: 0.1850599837925434 },\n    { x: 10, y: 0.1850599837925434 },\n    { x: 11, y: 0.1850599837925434 },\n    { x: 12, y: 0.1850599837925434 },\n    { x: 13, y: 0.1850599837925434 },\n    { x: 14, y: 0.1850599837925434 },\n    { x: 15, y: 0.1850599837925434 },\n    { x: 16, y: 0.1850599837925434 },\n    { x: 17, y: 0.1850599837925434 },\n    { x: 18, y: 0.1850599837925434 },\n    { x: 19, y: 0.1850599837925434 },\n    { x: 20, y: 0.1850599837925434 }\n  ]\n}\n\n```\n\n## Methods Available\n| Method Name   | Parameter              | Output Type   |\n| ------------- | ---------------------  | ------------- |\n| pChart        | ( [data], SampleSize ) | { Object }    |\n| npChart       | ( [data], SampleSize ) | { Object }    |\n| cChart        | ( [data])              | { Object }    |\n| uChart        | ( [data], SampleSize ) | { Object }    |\n\n## Help\nRaise the issue or problem on this repository.\n\n## Authors\n* [Saurabh Tiwari](https://github.com/saurabhtiwarii/)\n* [Rashid Makki](https://github.com/rashidmakki/)\n\n## Example \n* [Process Control Charts Example](https://github.com/rashidmakki/process-control-charts-example)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frashidmakki%2Fprocess-control-charts-es6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frashidmakki%2Fprocess-control-charts-es6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frashidmakki%2Fprocess-control-charts-es6/lists"}