{"id":21073917,"url":"https://github.com/andersonsmed/create-js-lib","last_synced_at":"2025-03-14T03:24:39.552Z","repository":{"id":176719505,"uuid":"655924519","full_name":"AndersonSMed/create-js-lib","owner":"AndersonSMed","description":"Setup a JS lib by using a command","archived":false,"fork":false,"pushed_at":"2023-10-02T02:12:51.000Z","size":226,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T22:34:44.352Z","etag":null,"topics":["boilerplate","javascript","js","lib","library","npx","template"],"latest_commit_sha":null,"homepage":"","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/AndersonSMed.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}},"created_at":"2023-06-19T22:59:30.000Z","updated_at":"2023-07-02T23:24:45.000Z","dependencies_parsed_at":"2023-10-01T23:36:23.870Z","dependency_job_id":null,"html_url":"https://github.com/AndersonSMed/create-js-lib","commit_stats":null,"previous_names":["andersonsmed/create-js-lib"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndersonSMed%2Fcreate-js-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndersonSMed%2Fcreate-js-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndersonSMed%2Fcreate-js-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndersonSMed%2Fcreate-js-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndersonSMed","download_url":"https://codeload.github.com/AndersonSMed/create-js-lib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243516736,"owners_count":20303503,"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":["boilerplate","javascript","js","lib","library","npx","template"],"created_at":"2024-11-19T19:13:42.045Z","updated_at":"2025-03-14T03:24:39.522Z","avatar_url":"https://github.com/AndersonSMed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create JS lib ![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg)\n\nCreate a new JS lib with no build configuration.\n\n## Usage\n\nJust run a `npx @andersonsmed/create-js-lib@latest` command in your terminal and answer the prompted questions.\n\nAfter that, this script will create a new lib with all the configs so you can focus only on implementing the code.\n\nIf something doesn’t work, please [file an issue](https://github.com/AndersonSMed/create-js-lib/issues/new)\n\nIf you have questions or need help, please ask in [GitHub Discussions](https://github.com/AndersonSMed/create-js-lib/discussions).\n## What’s Included?\n\nThe nearly created lib will have everything you need to build and publish it, including:\n\n- ES6 and CommonJS support, so you can choose which one to follow while writing your code.\n- Babel as transpiler, so you don't have to care about making your lib compatible with older versions of JS.\n- Webpack as bundler, so you can publish the minified version of your lib.\n- Husky for managing and installing git hooks.\n- ESLint and Prettier to enable static code validation and enforce code style.\n- A build script to prepare your code to be published.\n- A development script to enable you to test your lib locally.\n\nAll of the configuration files contains only the essentials for your lib to be published, so you can extend them easily to fit your own needs. \n\n## External Dependencies\n\nCreate JS lib depends on some external commands and might fail if they are not accessible from the terminal.\n\nFollowing is a list with all the external dependencies with guides on how to install each one of them:\n\n- [GIT](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\n- [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) (if you choose to install packages using npm)\n- [YARN](https://classic.yarnpkg.com/lang/en/docs/install/) (if you choose to install packages using yarn)\n\n## License\n\nCreate JS lib is open source software [licensed as MIT](https://github.com/AndersonSMed/create-js-lib/blob/main/LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonsmed%2Fcreate-js-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersonsmed%2Fcreate-js-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonsmed%2Fcreate-js-lib/lists"}