{"id":20181873,"url":"https://github.com/nichoth/template-js","last_synced_at":"2026-02-16T04:38:08.093Z","repository":{"id":77400224,"uuid":"582145554","full_name":"nichoth/template-js","owner":"nichoth","description":"A template for JS projects","archived":false,"fork":false,"pushed_at":"2025-02-12T21:51:02.000Z","size":323,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-05T01:43:07.145Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nichoth.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-25T21:36:37.000Z","updated_at":"2025-02-12T21:50:59.000Z","dependencies_parsed_at":"2025-10-05T01:40:39.615Z","dependency_job_id":"ac9cec8e-47b9-4b91-9666-5d2eac13679d","html_url":"https://github.com/nichoth/template-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/nichoth/template-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Ftemplate-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Ftemplate-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Ftemplate-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Ftemplate-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nichoth","download_url":"https://codeload.github.com/nichoth/template-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Ftemplate-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29500607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T03:57:51.541Z","status":"ssl_error","status_checked_at":"2026-02-16T03:55:59.854Z","response_time":115,"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":"2024-11-14T02:36:57.592Z","updated_at":"2026-02-16T04:38:08.074Z","avatar_url":"https://github.com/nichoth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# template js ![tests](https://github.com/nichoth/template-js/actions/workflows/nodejs.yml/badge.svg)\nA template for *dependency* JS modules -- modules intended to be a dependency of application code.\n\n## use\n1. Use the *template* button in github. Or clone this then `rm -rf .git \u0026\u0026 git init`. Then `npm i \u0026\u0026 npm init`.\n2. Update the README file. Be sure to change the URL for the CI badge.\n3. Edit the source code in `src/index.js`.\n\n## featuring\n* compile the source to both ESM and CJS format, and put compiled files in `dist`.\n* ignore `dist` in git, but don't ignore it in npm. That way we don't commit any compiled code to git, but it is available to consumers.\n* use npm's `prepublishOnly` hook to compile the code before publishing to npm.\n* use `exports` field in `package.json` to make sure the right format is used by consumers.\n* `preversion` npm hook -- use `@nichoth/check-max-deps` to validate the number of dependencies, and lint via `standardx`.\n* eslint via [standardx](https://www.npmjs.com/package/standardx) -- `npm run lint`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichoth%2Ftemplate-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnichoth%2Ftemplate-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichoth%2Ftemplate-js/lists"}