{"id":15310396,"url":"https://github.com/abernier/ironoutline","last_synced_at":"2026-01-28T13:36:17.994Z","repository":{"id":41874672,"uuid":"267494181","full_name":"abernier/ironoutline","owner":"abernier","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-02T21:13:07.000Z","size":348,"stargazers_count":0,"open_issues_count":15,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T03:48:27.218Z","etag":null,"topics":["cli","csv","ironhack","nodejs"],"latest_commit_sha":null,"homepage":"https://docs.google.com/spreadsheets/d/1EdyLktmJA36Fzeug8NwrTQjUDt4C9wB2eoqs9E6kXK0/edit#gid=0","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/abernier.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":"2020-05-28T04:37:05.000Z","updated_at":"2022-11-12T18:13:54.000Z","dependencies_parsed_at":"2024-12-06T13:42:45.506Z","dependency_job_id":"4273ee87-bfbe-4b20-99c0-0304bf7476e7","html_url":"https://github.com/abernier/ironoutline","commit_stats":{"total_commits":88,"total_committers":1,"mean_commits":88.0,"dds":0.0,"last_synced_commit":"df8da8aa6b7188aab71cbe4a667996be56951b03"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/abernier/ironoutline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abernier%2Fironoutline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abernier%2Fironoutline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abernier%2Fironoutline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abernier%2Fironoutline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abernier","download_url":"https://codeload.github.com/abernier/ironoutline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abernier%2Fironoutline/sbom","scorecard":{"id":160550,"data":{"date":"2025-08-11","repo":{"name":"github.com/abernier/ironoutline","commit":"df8da8aa6b7188aab71cbe4a667996be56951b03"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-publish.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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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/npm-publish.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/abernier/ironoutline/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/abernier/ironoutline/npm-publish.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned 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":"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":"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":"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":"Vulnerabilities","score":0,"reason":"37 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3wcq-x3mq-6r9p","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-wgfq-7857-4jcc","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-3xq5-wjfh-ppjc","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-56x4-j7p9-fcf9","Warn: Project is vulnerable to: GHSA-v78c-4p63-2j6c","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-92xj-mqp7-vmcj","Warn: Project is vulnerable to: GHSA-wxgw-qj99-44c2","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-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-16T13:17:16.898Z","repository_id":41874672,"created_at":"2025-08-16T13:17:16.898Z","updated_at":"2025-08-16T13:17:16.898Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cli","csv","ironhack","nodejs"],"created_at":"2024-10-01T08:28:05.851Z","updated_at":"2026-01-28T13:36:17.978Z","avatar_url":"https://github.com/abernier.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM version](https://img.shields.io/npm/v/ironoutline.svg?style=flat)](https://www.npmjs.com/package/ironoutline)\n\nGenerates an `.json` file for [`md2oedx`](https://github.com/ironhack/md2oedx) from a CSV and reciprocally.\n\n```\nJSON/YAML \u003c-\u003e CSV\n```\n\n# cli\n\n## Usage\n\nSee:\n\n```sh\n$ npx ironoutline --help\n```\n\nwhich will outputs [`man.txt`](man.txt) file.\n\n## `csv2json` command\n\nFrom a CSV [spreadsheet](https://docs.google.com/spreadsheets/d/1EdyLktmJA36Fzeug8NwrTQjUDt4C9wB2eoqs9E6kXK0/edit):\n\n[![](https://res.cloudinary.com/dtqr57xyj/image/upload/v1613146330/Screenshot_2021-02-12_at_17.10.48.png)](https://docs.google.com/spreadsheets/d/1EdyLktmJA36Fzeug8NwrTQjUDt4C9wB2eoqs9E6kXK0/edit)\n\n```sh\n$ npx ironoutline csv2json pt \"https://docs.google.com/spreadsheets/d/e/2PACX-1vSPb9g-3UgLBIrjBekCEppZ7k733mCQehR9S3OZBxafwQEuXsxkAzC4VkSzOStT6b0Dc851CyLUOc2i/pub?gid=0\u0026single=true\u0026output=csv\"\n```\n\nOr from a local file:\n\n```sh\n$ npx ironoutline csv2json pt -- ~/Downloads/outline.csv\n```\n\nNB: The json file is directly printed to stdout: to save it to disk, remember to redirect the stdout `\u003e myoutline.json`.\n\n## `json2csv` command\n\n```sh\n$ npx ironoutline json2csv --openlink=vscode://file//Users/abernier/ironhack/ironhack-web/lessons/modules-1-2-3/%s -- wdpt202102par.json\n```\n\n# JS api\n\n## `csv2json`\n\n```js\nconst {readFileSync} = require('fs')\nconst {csv2json} = require('ironoutline')\n\n// file content\nconst csv = readFileSync('path/to/outline.csv', {encoding: 'utf-8'})\n\nconst json = csv2json('pt', csv, {\n    tzid: 'Europe/Paris',\n    start: '2020-06-02',\n    hollidays: ['2020-06-20','2020-07-04','2020-07-14','2020-08-11','2020-08-13','2020-08-15','2020-08-18','2020-08-20','2020-08-22','2020-09-19','2020-10-17','2020-11-10','2020-11-21']\n})\nconsole.log(json)\n```\n\nDefaults options:\n\n|Name|Value|\n|----|-----|\n|`tzid`|`'Europe/Paris'`|\n|`start`|`undefined`|\n|`hollidays`|`[]`|\n\n## `json2csv`\n\n```js\nconst {readFileSync} = require('fs')\nconst {json2csv} = require('ironoutline')\n\n// file content\nconst json = readFileSync('path/to/outline.json', {encoding: 'utf-8'})\n\nconst csv = json2csv(json, {\n    openlink: 'vscode://file//Users/abernier/ironhack/ironhack-web/lessons/modules-1-2-3/%s'\n})\nconsole.log(csv)\n```\n\nDefaults options:\n\n|Name|Value|\n|----|-----|\n|`openlink`|`undefined`|\n\n# JSON structure\n\nJSON structure is as followed:\n\n```js\n{\n    \"course\": {\n        \"name\": \"WDPT\",\n        \"number\": \"MASTER\",\n        \"version\": \"5.0\",\n        \"chapter\": [\n            {\n                \"name\": \"Week 1\",\n                \"sequential\": [\n                    {\n                        \"name\": \"Day 1\",\n                        \"vertical\": [\n                            {\n                                \"name\": \"Foo\",\n                                \"component\": [\n                                    {\n                                        \"type\": \"html\",\n                                        \"file\": \"foo.md\"\n                                    },\n                                    {\n                                        \"type\": \"deliverable\",\n                                        \"display_name\": \"Homework\",\n                                        \"deliverable_identifier\": \"assign1\",\n                                        \"deliverable_description\": \"Your first homework is to do 100 pushups.\",\n                                        \"deliverable_duedate\": \"2030-10-28\"\n                                    }\n                                ]\n                            },\n                            ...\n                    },\n                    ...\n                ]\n            }\n        ]\n    }\n}\n```\n\nas defined per [`md2oedx` JSON file structure](https://github.com/ironhack/md2oedx#json-file-structure)\n\n# CSV structure\n\nCSV structure is as followed:\n\n|name|active|seq|vert|seq_index|vert_index|tag|file|openlink|deliverable_display_name|deliverable_identifier|deliverable_description|deliverable_duedate|\n|----|------|---|----|---------|----------|---|----|--------|------------------------|----------------------|-----------------------|-------------------|\n|    |      |   |    |         |          |     |   |    |        |                        |                      |                       |                   |\n\n# Clasp\n\nPre-requisite: `$ npx clasp login`\n\nTo update google script, edit `gscript/*` source code then:\n\n```sh\n$ sh -c \"cd gscript \u0026\u0026 npx clasp push\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabernier%2Fironoutline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabernier%2Fironoutline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabernier%2Fironoutline/lists"}