{"id":16529851,"url":"https://github.com/nikolay-borzov/template-javascript","last_synced_at":"2025-04-10T10:10:53.166Z","repository":{"id":92791253,"uuid":"336514002","full_name":"nikolay-borzov/template-javascript","owner":"nikolay-borzov","description":"Template for my JavaScript projects","archived":false,"fork":false,"pushed_at":"2023-12-17T17:52:48.000Z","size":1039,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T09:03:21.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nikolay-borzov.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}},"created_at":"2021-02-06T10:43:48.000Z","updated_at":"2023-12-12T17:37:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"e73c0f6a-a675-4333-9289-fbefc6e5dca8","html_url":"https://github.com/nikolay-borzov/template-javascript","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolay-borzov%2Ftemplate-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolay-borzov%2Ftemplate-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolay-borzov%2Ftemplate-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolay-borzov%2Ftemplate-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikolay-borzov","download_url":"https://codeload.github.com/nikolay-borzov/template-javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198888,"owners_count":21063628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-11T17:47:29.311Z","updated_at":"2025-04-10T10:10:53.135Z","avatar_url":"https://github.com/nikolay-borzov.png","language":"JavaScript","readme":"# JavaScript template\n\n[![ru](https://img.shields.io/badge/lang-ru-%23d52b1e)](./README.ru.md)\n\n[![NPM version][npm-image]][npm-url]\n[![Style Guide][style-guide-image]][style-guide-url]\n[![Inline docs][docs-image]][docs-url]\n\n[npm-image]: https://img.shields.io/npm/v/@nikolay-borzov/template-javascript.svg\n[npm-url]: https://npmjs.org/package/@nikolay-borzov/template-javascript\n[style-guide-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[style-guide-url]: https://standardjs.com\n[docs-image]: https://inch-ci.org/github/nikolay-borzov/template-javascript.svg?branch=master\n[docs-url]: https://inch-ci.org/github/nikolay-borzov/template-javascript\n\nA template for JavaScript project with essential (IMHO) configuration and dependencies. No transforming or bundling.\n\n# Node.js\n\n- Require version \u003e= 20\n- [`type: module`](https://nodejs.org/api/esm.html)\n- [`exports`](https://nodejs.org/docs/latest-v12.x/api/packages.html#packages_main_entry_point_export) in addition to `main` field\n\n# Linting and formatting\n\nLint with [ESLint](https://eslint.org). Format with [Prettier](https://prettier.io/) (as part of ESLint linting process).\n\n## Rules set\n\n- [`eslint:recommended`](https://eslint.org/docs/rules/)\n- [`plugin:jsdoc/recommended`](https://github.com/gajus/eslint-plugin-jsdoc)\n- [`plugin:unicorn/recommended`](https://github.com/sindresorhus/eslint-plugin-unicorn)\n- [`prettier-standard/prettier-file`](https://github.com/npetruzzelli/eslint-config-prettier-standard)\n- Some sensible overrides (See [`.eslintrc.cjs`](.eslintrc.cjs))\n\n# Testing\n\nTest with [ava](https://github.com/avajs/ava). Tests are in a separate directory.\n\n## Coverage\n\nCollect coverage with [c8](https://github.com/bcoe/c8). [nyc](https://github.com/istanbuljs/nyc) can't be used until [#1353](https://github.com/istanbuljs/nyc/issues/1353) and [1287](https://github.com/istanbuljs/nyc/issues/1287) issues are resolved.\n\n# `pre-commit` hook\n\nUsing [lint-staged](https://github.com/okonet/lint-staged) and [husky](https://github.com/typicode/husky):\n\n- Lint staged code and run tests\n- Lint all files when ESLint config is changed\n- Format all supported files with [prettier](https://prettier.io/4)\n\n# `commit-msg` hook\n\nLint commit message to be [conventional](https://www.conventionalcommits.org/en/v1.0.0/)\n\n# Configs\n\nKeep config files in the root.\n\n# `jsconfig.json`\n\n- Define JavaScript project\n- Include only `src` and `tests` directories\n- Enable type checking on JavaScript files\n- Enable all strict type checking options\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolay-borzov%2Ftemplate-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikolay-borzov%2Ftemplate-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolay-borzov%2Ftemplate-javascript/lists"}