{"id":19664900,"url":"https://github.com/small-tech/npm-init-es6","last_synced_at":"2026-05-05T01:39:33.064Z","repository":{"id":117560751,"uuid":"391922382","full_name":"small-tech/npm-init-es6","owner":"small-tech","description":"A blank template for quickly scaffolding free and open Node.js ES Modules (ESM) projects","archived":false,"fork":false,"pushed_at":"2021-08-02T12:57:49.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-10T02:24:36.753Z","etag":null,"topics":["esm","js","node","npm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/small-tech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-08-02T11:26:14.000Z","updated_at":"2021-08-03T15:51:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"2524909e-e85f-4944-b3e6-dcd4aee2972d","html_url":"https://github.com/small-tech/npm-init-es6","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/small-tech%2Fnpm-init-es6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/small-tech%2Fnpm-init-es6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/small-tech%2Fnpm-init-es6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/small-tech%2Fnpm-init-es6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/small-tech","download_url":"https://codeload.github.com/small-tech/npm-init-es6/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240974480,"owners_count":19887303,"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":["esm","js","node","npm"],"created_at":"2024-11-11T16:19:34.768Z","updated_at":"2026-05-05T01:39:28.006Z","avatar_url":"https://github.com/small-tech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm init es6\n\nTo initialise a free and open ESM project (`\"type\"=\"module\"`) in Node.js, simply issue the following command:\n\n```shell\nnpm init es6\n```\n\nI made this as an alternative to `npm init -y` (which produces a _package.json_ file for a CommonJS project by default) because I was sick of (forgetting to) add the type declaration into the package file manually every time.\n\nThis is the _package.json_ file it creates:\n\n```json\n{\n  \"name\": \"\",\n  \"version\": \"1.0.0\",\n  \"description\": \"\",\n  \"main\": \"index.js\",\n  \"type\": \"module\",\n  \"license\": \"AGPL-version-3.0\",\n  \"private\": false,\n  \"engines\": {\n    \"node\": \"\u003e= 14.0.0\",\n    \"npm\": \"\u003e= 6.0.0\"\n  },\n  \"homepage\": \"\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"\"\n  },\n  \"bugs\": \"\",\n  \"keywords\": [],\n  \"author\": {\n    \"name\": \"\",\n    \"email\": \"\",\n    \"url\": \"\"\n  },\n  \"contributors\": [\n\n  ],\n  \"scripts\": {\n    \"dev\": \"\",\n    \"test\": \"\"\n  },\n  \"dependencies\": {\n\n  },\n  \"devDependencies\": {\n\n  }\n}\n```\n\n## Like this? Fund us!\n\n[Small Technology Foundation](https://small-tech.org) is a tiny, independent not-for-profit.\n\nWe exist in part thanks to patronage by people like you. If you share [our vision](https://small-tech.org/about/#small-technology) and want to support our work, please [become a patron or donate to us](https://small-tech.org/fund-us) today and help us continue to exist.\n\n## Copyright\n\nCopyright \u0026copy; 2021-present [Aral Balkan](https://ar.al), [Small Technology Foundation](https://small-tech.org).\n\n## License\n\n[ISC](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmall-tech%2Fnpm-init-es6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmall-tech%2Fnpm-init-es6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmall-tech%2Fnpm-init-es6/lists"}