{"id":28672878,"url":"https://github.com/form8ion/javascript","last_synced_at":"2026-04-01T22:56:31.122Z","repository":{"id":37017809,"uuid":"363499209","full_name":"form8ion/javascript","owner":"form8ion","description":"JavaScript language plugin for the @form8ion toolset","archived":false,"fork":false,"pushed_at":"2026-03-03T14:48:35.000Z","size":34025,"stargazers_count":1,"open_issues_count":25,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-03T18:08:10.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npm.im/@form8ion/javascript","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/form8ion.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-01T20:16:10.000Z","updated_at":"2026-01-04T23:38:32.000Z","dependencies_parsed_at":"2023-10-20T17:46:13.178Z","dependency_job_id":"0dffa9f1-737b-4094-813e-140b677a98ca","html_url":"https://github.com/form8ion/javascript","commit_stats":{"total_commits":646,"total_committers":6,"mean_commits":"107.66666666666667","dds":0.631578947368421,"last_synced_commit":"375244778430f2dfb662e93a635ef51135942580"},"previous_names":[],"tags_count":241,"template":false,"template_full_name":null,"purl":"pkg:github/form8ion/javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/form8ion%2Fjavascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/form8ion%2Fjavascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/form8ion%2Fjavascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/form8ion%2Fjavascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/form8ion","download_url":"https://codeload.github.com/form8ion/javascript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/form8ion%2Fjavascript/sbom","scorecard":{"id":383985,"data":{"date":"2025-08-18T14:07:05Z","repo":{"name":"github.com/form8ion/javascript","commit":"e74256a47756f43d45924c11c56b8aa7a9651d71"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":6.5,"checks":[{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: RenovateBot: .renovaterc.json:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/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/ab2f6e92482462fe66246d9e32f642855a691dc1/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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/22 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:31","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:32","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/experimental-release.yml:11","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/node-ci.yml:55","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:24","Info: topLevel 'contents' permission set to 'read': .github/workflows/experimental-release.yml:7","Info: topLevel 'contents' permission set to 'read': .github/workflows/node-ci.yml:16","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:18"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":7,"reason":"dependency not pinned by hash detected -- score normalized to 7","details":["Warn: npmCommand not pinned by hash: .github/workflows/node-ci.yml:29","Info:  11 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 third-party GitHubAction dependencies pinned","Info:   0 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"SAST","score":-1,"reason":"internal error: internal error: Client.Checks.ListCheckRunsForRef: error during graphqlHandler.setupCheckRuns: non-200 OK status code: 502 Bad Gateway body: \"\u003chtml\u003e\\r\\n\u003chead\u003e\u003ctitle\u003e502 Bad Gateway\u003c/title\u003e\u003c/head\u003e\\r\\n\u003cbody\u003e\\r\\n\u003ccenter\u003e\u003ch1\u003e502 Bad Gateway\u003c/h1\u003e\u003c/center\u003e\\r\\n\u003chr\u003e\u003ccenter\u003enginx\u003c/center\u003e\\r\\n\u003c/body\u003e\\r\\n\u003c/html\u003e\\r\\n\"","details":null,"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"CI-Tests","score":-1,"reason":"internal error: internal error: Client.Repositories.ListCheckRunsForRef: error during graphqlHandler.setupCheckRuns: non-200 OK status code: 502 Bad Gateway body: \"\u003chtml\u003e\\r\\n\u003chead\u003e\u003ctitle\u003e502 Bad Gateway\u003c/title\u003e\u003c/head\u003e\\r\\n\u003cbody\u003e\\r\\n\u003ccenter\u003e\u003ch1\u003e502 Bad Gateway\u003c/h1\u003e\u003c/center\u003e\\r\\n\u003chr\u003e\u003ccenter\u003enginx\u003c/center\u003e\\r\\n\u003c/body\u003e\\r\\n\u003c/html\u003e\\r\\n\"","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/form8ion/.github/SECURITY.md:1","Info: Found linked content: github.com/form8ion/.github/SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/form8ion/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Contributors","score":10,"reason":"project has 14 contributing companies or organizations","details":["Info: found contributions from: cucumber, dsmjs, dsmwebcollective, form8ion, greenkeeper-keeper, johndeere, mend, octoherd, probot, repository-settings, semantic-release, traverson, travi-org, travi-test"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Warn: branch 'master' does not require approvers","Warn: codeowners review is not required on branch 'master'","Warn: 'up-to-date branches' is disabled on branch 'master'","Info: status check found to merge onto on branch 'master'","Warn: PRs are not required to make changes on branch 'master'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-62cx-5xj4-wfm4","Warn: Project is vulnerable to: GHSA-pr45-cg4x-ff4m","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","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-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T16:09:04.688Z","repository_id":37017809,"created_at":"2025-08-18T16:09:04.688Z","updated_at":"2025-08-18T16:09:04.688Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30068419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"ssl_error","status_checked_at":"2026-03-04T01:03:23.410Z","response_time":61,"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":[],"created_at":"2025-06-13T20:01:12.533Z","updated_at":"2026-03-04T01:29:31.978Z","avatar_url":"https://github.com/form8ion.png","language":"JavaScript","funding_links":[],"categories":["Scaffolding"],"sub_categories":["Official"],"readme":"# javascript\n\nJavaScript language plugin for the [@form8ion](https://github.com/form8ion)\ntoolset\n\n\u003c!--status-badges start --\u003e\n\n[![Node CI Workflow Status][github-actions-ci-badge]][github-actions-ci-link]\n[![Codecov][coverage-badge]][coverage-link]\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/form8ion/javascript/badge)](https://securityscorecards.dev/viewer/?uri=github.com/form8ion/javascript)\n![SLSA Level 2][slsa-badge]\n\n\u003c!--status-badges end --\u003e\n\n## Table of Contents\n\n* [Usage](#usage)\n  * [Installation](#installation)\n  * [Example](#example)\n    * [Import](#import)\n    * [Execute](#execute)\n  * [Documentation](#documentation)\n* [Contributing](#contributing)\n  * [Dependencies](#dependencies)\n  * [Verification](#verification)\n\n## Usage\n\n\u003c!--consumer-badges start --\u003e\n\n[![MIT license][license-badge]][license-link]\n[![npm][npm-badge]][npm-link]\n![node][node-badge]\n[![Try @form8ion/javascript on RunKit][runkit-badge]][runkit-link]\n\n\u003c!--consumer-badges end --\u003e\n\n### Installation\n\n```sh\n$ npm install @form8ion/javascript --save\n```\n\n### Example\n\n#### Import\n\n```javascript\nconst {dialects, projectTypes} = await import('@form8ion/javascript-core');\nconst {\n  scaffold: scaffoldJavaScript,\n  lift: liftJavascript,\n  test: thisIsAJavaScriptProject,\n  scaffoldUnitTesting,\n  questionNames\n} = await import('./lib/index.js');\n```\n\n#### Execute\n\n```javascript\nconst accountName = 'form8ion';\nconst projectRoot = process.cwd();\n\nawait scaffoldJavaScript({\n  projectRoot,\n  projectName: 'project-name',\n  visibility: 'Public',\n  license: 'MIT',\n  configs: {\n    eslint: {scope: `@${accountName}`},\n    remark: `@${accountName}/remark-lint-preset`,\n    babelPreset: {name: `@${accountName}`, packageName: `@${accountName}/babel-preset`},\n    commitlint: {name: `@${accountName}`, packageName: `@${accountName}/commitlint-config`}\n  },\n  plugins: {\n    unitTestFrameworks: {},\n    applicationTypes: {},\n    packageTypes: {},\n    packageBundlers: {},\n    ciServices: {}\n  },\n  decisions: {\n    [questionNames.DIALECT]: dialects.BABEL,\n    [questionNames.NODE_VERSION_CATEGORY]: 'LTS',\n    [questionNames.PACKAGE_MANAGER]: 'npm',\n    [questionNames.PROJECT_TYPE]: projectTypes.PACKAGE,\n    [questionNames.SHOULD_BE_SCOPED]: true,\n    [questionNames.SCOPE]: accountName,\n    [questionNames.AUTHOR_NAME]: 'Your Name',\n    [questionNames.AUTHOR_EMAIL]: 'you@domain.tld',\n    [questionNames.AUTHOR_URL]: 'https://your.website.tld',\n    [questionNames.UNIT_TESTS]: true,\n    [questionNames.INTEGRATION_TESTS]: true,\n    [questionNames.PROVIDE_EXAMPLE]: true\n  }\n});\n\nif (await thisIsAJavaScriptProject({projectRoot})) {\n  await liftJavascript({\n    projectRoot,\n    configs: {eslint: {scope: '@foo'}},\n    results: {\n      dependencies: {javascript: {production: [], development: []}},\n      scripts: {},\n      eslint: {configs: [], ignore: {directories: []}},\n      packageManager: 'npm'\n    },\n    enhancers: {\n      PluginName: {\n        test: () =\u003e true,\n        lift: () =\u003e ({})\n      }\n    }\n  });\n}\n\nawait scaffoldUnitTesting({\n  projectRoot: process.cwd(),\n  frameworks: {\n    Mocha: {scaffold: options =\u003e options},\n    Jest: {scaffold: options =\u003e options}\n  },\n  visibility: 'Public',\n  vcs: {host: 'GitHub', owner: 'foo', name: 'bar'},\n  decisions: {[questionNames.UNIT_TEST_FRAMEWORK]: 'Mocha'}\n});\n```\n\n### Documentation\n\n* [API](./docs/api)\n* [Constants](./docs/constants)\n\n## Contributing\n\n\u003c!--contribution-badges start --\u003e\n\n[![PRs Welcome][PRs-badge]][PRs-link]\n[![Commitizen friendly][commitizen-badge]][commitizen-link]\n[![Conventional Commits][commit-convention-badge]][commit-convention-link]\n[![semantic-release][semantic-release-badge]][semantic-release-link]\n[![Renovate][renovate-badge]][renovate-link]\n\n\u003c!--contribution-badges end --\u003e\n\n### Dependencies\n\n```sh\n$ nvm install\n$ npm install\n```\n\n### Verification\n\n```sh\n$ npm test\n```\n\n[PRs-link]: http://makeapullrequest.com\n\n[PRs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg\n\n[commitizen-link]: http://commitizen.github.io/cz-cli/\n\n[commitizen-badge]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\n\n[commit-convention-link]: https://conventionalcommits.org\n\n[commit-convention-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n\n[semantic-release-link]: https://github.com/semantic-release/semantic-release\n\n[semantic-release-badge]: https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release\n\n[renovate-link]: https://renovatebot.com\n\n[renovate-badge]: https://img.shields.io/badge/renovate-enabled-brightgreen.svg?logo=renovatebot\n\n[github-actions-ci-link]: https://github.com/form8ion/javascript/actions?query=workflow%3A%22Node.js+CI%22+branch%3Amaster\n\n[github-actions-ci-badge]: https://img.shields.io/github/actions/workflow/status/form8ion/javascript/node-ci.yml.svg?branch=master\u0026logo=github\n\n[license-link]: LICENSE\n\n[license-badge]: https://img.shields.io/github/license/form8ion/javascript.svg?logo=opensourceinitiative\n\n[npm-link]: https://www.npmjs.com/package/@form8ion/javascript\n\n[npm-badge]: https://img.shields.io/npm/v/@form8ion/javascript?logo=npm\n\n[node-badge]: https://img.shields.io/node/v/@form8ion/javascript?logo=node.js\n\n[runkit-link]: https://npm.runkit.com/@form8ion/javascript\n\n[runkit-badge]: https://badge.runkitcdn.com/@form8ion/javascript.svg\n\n[coverage-link]: https://codecov.io/github/form8ion/javascript\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/form8ion/javascript?logo=codecov\n\n[slsa-badge]: https://slsa.dev/images/gh-badge-level2.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fform8ion%2Fjavascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fform8ion%2Fjavascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fform8ion%2Fjavascript/lists"}