{"id":39460144,"url":"https://github.com/fabiooshiro/xlsx-calc","last_synced_at":"2026-01-18T04:42:36.703Z","repository":{"id":40563799,"uuid":"46858257","full_name":"fabiooshiro/xlsx-calc","owner":"fabiooshiro","description":"javascript nodejs excel formula parser","archived":false,"fork":false,"pushed_at":"2024-09-02T00:58:22.000Z","size":1179,"stargazers_count":123,"open_issues_count":15,"forks_count":65,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-11-23T14:09:07.204Z","etag":null,"topics":["excel","formula","javascript","node-js","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/fabiooshiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["fabiooshiro"]}},"created_at":"2015-11-25T11:44:16.000Z","updated_at":"2025-10-09T14:41:51.000Z","dependencies_parsed_at":"2023-11-23T02:30:27.683Z","dependency_job_id":"f6c519c5-a71f-4f31-8e55-d23e30f68be0","html_url":"https://github.com/fabiooshiro/xlsx-calc","commit_stats":{"total_commits":229,"total_committers":18,"mean_commits":"12.722222222222221","dds":"0.44978165938864634","last_synced_commit":"2c8550ca92222964e3ce625d400db942df626008"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/fabiooshiro/xlsx-calc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiooshiro%2Fxlsx-calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiooshiro%2Fxlsx-calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiooshiro%2Fxlsx-calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiooshiro%2Fxlsx-calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiooshiro","download_url":"https://codeload.github.com/fabiooshiro/xlsx-calc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiooshiro%2Fxlsx-calc/sbom","scorecard":{"id":390066,"data":{"date":"2025-08-11","repo":{"name":"github.com/fabiooshiro/xlsx-calc","commit":"8c2bb5e16da6f036aaa921b671532004cec8f641"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":3,"reason":"Found 5/15 approved changesets -- score normalized to 3","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":"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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci-cd.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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/fabiooshiro/xlsx-calc/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/fabiooshiro/xlsx-calc/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/fabiooshiro/xlsx-calc/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/fabiooshiro/xlsx-calc/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/fabiooshiro/xlsx-calc/ci-cd.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"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":"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 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":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-4r6h-8v6p-xvw6","Warn: Project is vulnerable to: GHSA-5pgg-2g8v-p4x9"],"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-18T17:35:49.198Z","repository_id":40563799,"created_at":"2025-08-18T17:35:49.198Z","updated_at":"2025-08-18T17:35:49.198Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28530007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["excel","formula","javascript","node-js","nodejs"],"created_at":"2026-01-18T04:42:36.609Z","updated_at":"2026-01-18T04:42:36.690Z","avatar_url":"https://github.com/fabiooshiro.png","language":"JavaScript","funding_links":["https://github.com/sponsors/fabiooshiro"],"categories":[],"sub_categories":[],"readme":"\u003cpre\u003e\n _  _  __    ____  _  _     ___   __   __     ___ \n( \\/ )(  )  / ___)( \\/ )   / __) / _\\ (  )   / __)\n )  ( / (_/\\\\___ \\ )  (   ( (__ /    \\/ (_/\\( (__ \n(_/\\_)\\____/(____/(_/\\_)   \\___)\\_/\\_/\\____/ \\___)\u003c/pre\u003e\n\u003cdiv style=\"clear: both\"\u003e\u003c/div\u003e\n\n# Installation\nWith [npm](https://www.npmjs.org/package/xlsx-calc):\n```sh\nnpm install xlsx-calc\n```\nOR\n```sh\nyarn add xlsx-calc\n```\n\n# How to use\n\nRead the workbook with the great \u003ca href=\"https://github.com/SheetJS/js-xlsx\"\u003ejs-xlsx\u003c/a\u003e lib.\n```js\nvar XLSX = require('xlsx');\nvar workbook = XLSX.readFile('test.xlsx');\n\n// change some cell value\nworkbook.Sheets['Sheet1'].A1.v = 42;\n\n// recalc the workbook\nvar XLSX_CALC = require('xlsx-calc');\nXLSX_CALC(workbook);\n\n// recalc options for ignoring erroneous formulas\nXLSX_CALC(workbook, { continue_after_error: true, log_error: true })\n```\n\n## formulajs integration\n\n`npm install --save @formulajs/formulajs`\n\n```js\nvar XLSX_CALC = require('xlsx-calc');\n\n// load your calc functions lib\nvar formulajs = require('@formulajs/formulajs');\n\n// import your calc functions lib\nXLSX_CALC.import_functions(formulajs);\n\nvar workbook = {Sheets: {Sheet1: {}}};\n\n// use it\nworkbook.Sheets.Sheet1.A5 = {f: 'BETA.DIST(2, 8, 10, true, 1, 3)'};\nXLSX_CALC(workbook);\n\n// see the result -\u003e 0.6854705810117458\nconsole.log(workbook.Sheets.Sheet1.A5.v);\n```\n\n# How to contribute\n\nRead the \u003ca href=\"https://github.com/fabiooshiro/xlsx-calc/blob/master/test/1-basic-test.js\"\u003ebasic-tests.js\u003c/a\u003e.\n\nRun tests\n```sh\n$ npm run test-w\n```\n\nRun webpack\n```sh\n$ npm run dev\n```\n\nwrite some test like:\n```js\n//(...)\ndescribe('HELLO', function() {\n    it('says: Hello, World!', function() {\n        workbook.Sheets['Sheet1'].A1.f = 'HELLO(\"World\")';\n        XLSX_CALC(workbook);\n        assert.equal(workbook.Sheets['Sheet1'].A1.v, \"Hello, World!\");\n    });\n});\n//(...)\n```\n\nRegister your formula/function in the src/formulas.js file\nbelow the commentary \"FORMULAS REGISTERED\"\n\n```js\n  // +---------------------+\n  // | FORMULAS REGISTERED |\n  // +---------------------+\n  var formulas = {\n    'FLOOR': Math.floor,\n    'COUNTA': counta,\n    'IRR': irr,\n    'HELLO': hello // \u003c---- Your contribution!!\n  };\n```\nWrite the implementation function below the commentary \"THE IMPLEMENTATIONS\".\n\n```js\n// +---------------------+\n// | THE IMPLEMENTATIONS |\n// +---------------------+\nfunction hello(name) {\n  return name;\n}\n```\n\nIf everything is OK you will see the mocha out:\n\n```sh\n  1) XLSX_CALC HELLO says: Hello, World!:\n\n      AssertionError: \"World\" == \"Hello, World!\"\n      + expected - actual\n\n      -World\n      +Hello, World!\n      \n      at Context.\u003canonymous\u003e (test/basic-test.js:510:20)\n```\n\nSo end with the correct implementation:\n\n```js\n// +---------------------+\n// | THE IMPLEMENTATIONS |\n// +---------------------+\nfunction hello(name) {\n  return \"Hello, \" + name + \"!\";\n}\n```\nNow in terminal:\n\n```sh\n  HELLO\n    ✓ says: Hello, World!\n\n  79 passing (75ms)\n```\n\n\u003e Give me the balloon watermelon!\n\nCreate a pull request\n\nThx!\n\n# Contributors\n\n\u003ca href=\"https://github.com/fabiooshiro/xlsx-calc/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contributors-img.firebaseapp.com/image?repo=fabiooshiro/xlsx-calc\" /\u003e\n\u003c/a\u003e\n\nMade with [contributors-img](https://contributors-img.firebaseapp.com).\n\n## Star History\n\n\u003ca href=\"https://star-history.com/#fabiooshiro/xlsx-calc\u0026Date\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=fabiooshiro/xlsx-calc\u0026type=Date\u0026theme=dark\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=fabiooshiro/xlsx-calc\u0026type=Date\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=fabiooshiro/xlsx-calc\u0026type=Date\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n\n# MIT LICENSE\n\nCopyright 2017, fabiooshiro\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiooshiro%2Fxlsx-calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiooshiro%2Fxlsx-calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiooshiro%2Fxlsx-calc/lists"}