{"id":18283561,"url":"https://github.com/thesmartmonkey/create-typescript-npm-library","last_synced_at":"2026-03-05T04:03:36.538Z","repository":{"id":172532963,"uuid":"649414845","full_name":"TheSmartMonkey/create-typescript-npm-library","owner":"TheSmartMonkey","description":"Simple typescript app with jest to create a npm library with types","archived":false,"fork":false,"pushed_at":"2025-05-05T21:19:20.000Z","size":245,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-02T17:55:29.201Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/TheSmartMonkey.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}},"created_at":"2023-06-04T19:10:20.000Z","updated_at":"2025-05-05T21:19:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"813da528-f231-4a1b-af87-746506bc0cea","html_url":"https://github.com/TheSmartMonkey/create-typescript-npm-library","commit_stats":null,"previous_names":["thesmartmonkey/create-typescript-npm-library"],"tags_count":0,"template":true,"template_full_name":"TheSmartMonkey/create-typescript-app","purl":"pkg:github/TheSmartMonkey/create-typescript-npm-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-typescript-npm-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-typescript-npm-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-typescript-npm-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-typescript-npm-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheSmartMonkey","download_url":"https://codeload.github.com/TheSmartMonkey/create-typescript-npm-library/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-typescript-npm-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30109077,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"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-05T13:09:56.772Z","updated_at":"2026-03-05T04:03:36.510Z","avatar_url":"https://github.com/TheSmartMonkey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-typescript-npm-library\n\nSimple typescript app with jest to create a npm library with types\n\n## Installation\n\n```sh\nnpx degit https://github.com/TheSmartMonkey/create-typescript-npm-library app\n```\n\n## Getting started\n\n1. Install nodejs : https://nodejs.org/en/\n\n2. Install node_modules with `npm install`\n\n3. Available commands with `npm run` (`npm start` runs your code from `main.ts`)\n\n## Running Tests\n\nTo run the tests for your library, use the following command:\n\n```sh\nnpm run test\n```\n\nThis will execute all test files using Jest.\n\n## Publish your library\n\nTo publish your library to npm, use the following command:\n\n```sh\nnpm run pub\n```\n\nEnsure you have updated the version in `package.json` and are logged into npm.\n\n## Folder tree\n\n```\n|   .eslintrc.json\n|   .gitignore\n|   .prettierignore\n|   .prettierrc.json\n|   jest.config.ts\n|   LICENSE\n|   main.ts\n|   package-lock.json\n|   package.json\n|   README.md\n|   tsconfig.json\n|\n+---debug\n    +---main.ts\n    +---package-lock.json\n    +---package.json\n|\n+---src\n|   +---functions\n        hello.test.ts\n        hello.ts\n    +---libs\n        .gitkeep\n    +---models\n        hello.model.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartmonkey%2Fcreate-typescript-npm-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesmartmonkey%2Fcreate-typescript-npm-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartmonkey%2Fcreate-typescript-npm-library/lists"}